pub fn maintain_transaction_pool_conditional_future<N, Pool, St>(
pool: Pool,
events: St,
) -> Pin<Box<dyn Future<Output = ()> + Send>>where
N: NodePrimitives,
Pool: TransactionPool + 'static,
<Pool as TransactionPool>::Transaction: MaybeConditionalTransaction,
St: Stream<Item = CanonStateNotification<N>> + Send + Unpin + 'static,
Available on crate features
node-api
and node
only.Expand description
Returns a spawnable future for maintaining the state of the conditional txs in the transaction pool.