pub async fn maintain_transaction_pool_interop<N, Pool, St>(
pool: Pool,
events: St,
supervisor_client: SupervisorClient,
)where
N: NodePrimitives,
Pool: TransactionPool,
Pool::Transaction: MaybeInteropTransaction,
St: Stream<Item = CanonStateNotification<N>> + Send + Unpin + 'static,
Expand description
Maintains the state of the interop tx in the transaction pool by handling new blocks and reorgs.
This listens for any new blocks and reorgs and updates the interop tx in the transaction pool’s state accordingly