pub struct MempoolMonitorConfig {
pub poll_interval_secs: u64,
pub max_tracked_transactions: usize,
pub detect_reorgs: bool,
pub min_reorg_depth: u32,
}Expand description
Configuration for mempool monitor
Fields§
§poll_interval_secs: u64Polling interval in seconds
max_tracked_transactions: usizeMaximum transactions to track
detect_reorgs: boolEnable block reorganization detection
min_reorg_depth: u32Minimum reorg depth to report
Trait Implementations§
Source§impl Clone for MempoolMonitorConfig
impl Clone for MempoolMonitorConfig
Source§fn clone(&self) -> MempoolMonitorConfig
fn clone(&self) -> MempoolMonitorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MempoolMonitorConfig
impl Debug for MempoolMonitorConfig
Auto Trait Implementations§
impl Freeze for MempoolMonitorConfig
impl RefUnwindSafe for MempoolMonitorConfig
impl Send for MempoolMonitorConfig
impl Sync for MempoolMonitorConfig
impl Unpin for MempoolMonitorConfig
impl UnwindSafe for MempoolMonitorConfig
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