Struct mempool_notifications::MempoolNotifier
source · pub struct MempoolNotifier { /* private fields */ }
Expand description
The state sync component responsible for notifying mempool.
Trait Implementations§
source§impl Debug for MempoolNotifier
impl Debug for MempoolNotifier
source§impl MempoolNotificationSender for MempoolNotifier
impl MempoolNotificationSender for MempoolNotifier
source§fn notify_new_commit<'life0, 'async_trait>(
&'life0 self,
transactions: Vec<Transaction>,
block_timestamp_usecs: u64,
notification_timeout_ms: u64
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn notify_new_commit<'life0, 'async_trait>( &'life0 self, transactions: Vec<Transaction>, block_timestamp_usecs: u64, notification_timeout_ms: u64 ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Notify mempool of the newly committed transactions at the specified block timestamp.