pub trait MaintainedTransactionPool: TransactionPool {
fn maintain(
&self,
event: ChainEvent<Self::Block>
) -> Pin<Box<dyn Future<Output = ()> + Send>>;
}
Expand description
Trait for transaction pool maintenance.
pub trait MaintainedTransactionPool: TransactionPool {
fn maintain(
&self,
event: ChainEvent<Self::Block>
) -> Pin<Box<dyn Future<Output = ()> + Send>>;
}
Trait for transaction pool maintenance.