pub trait MaintainedTransactionPool: TransactionPool {
    // Required method
    fn maintain<'life0, 'async_trait>(
        &'life0 self,
        event: ChainEvent<Self::Block>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait for transaction pool maintenance.

Required Methods§

source

fn maintain<'life0, 'async_trait>( &'life0 self, event: ChainEvent<Self::Block> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Perform maintenance

Implementors§