Function maintain_transaction_pool_future
pub fn maintain_transaction_pool_future<Client, P, St, Tasks>(
client: Client,
pool: P,
events: St,
task_spawner: Tasks,
config: MaintainPoolConfig,
) -> Pin<Box<dyn Future<Output = ()> + Send>>where
Client: StateProviderFactory + BlockReaderIdExt + ChainSpecProvider + Clone + Send + 'static,
P: TransactionPoolExt + 'static,
St: Stream<Item = CanonStateNotification> + Send + Unpin + 'static,
Tasks: TaskSpawner + 'static,
Expand description
Returns a spawnable future for maintaining the state of the transaction pool.