pub struct TxTrackerConfig {
pub confirmation_depth: u64,
pub stuck_timeout_secs: u64,
pub poll_interval_secs: u64,
pub max_tracked: usize,
}Expand description
Configuration for TxTracker.
Fields§
§confirmation_depth: u64How many confirmations needed to consider a transaction confirmed.
stuck_timeout_secs: u64Max time in seconds before a pending transaction is considered stuck.
poll_interval_secs: u64Polling interval for receipt checks (in seconds).
max_tracked: usizeMaximum number of pending transactions to track.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TxTrackerConfig
impl RefUnwindSafe for TxTrackerConfig
impl Send for TxTrackerConfig
impl Sync for TxTrackerConfig
impl Unpin for TxTrackerConfig
impl UnsafeUnpin for TxTrackerConfig
impl UnwindSafe for TxTrackerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more