improved mempool revalidation
Mempool revalidation now removes the invalid transactions from the view_store. As a result handling `transactions_invalidated` in multi-view-listener does not require handling the case when transaction is still dangling in some view. (It is guaranteed that invalid transaction was removed from the view_store and can be safely notified as Invalid to external listner).
Showing
- substrate/client/transaction-pool/src/fork_aware_txpool/fork_aware_txpool.rs 1 addition, 0 deletions...ansaction-pool/src/fork_aware_txpool/fork_aware_txpool.rs
- substrate/client/transaction-pool/src/fork_aware_txpool/multi_view_listener.rs 4 additions, 32 deletions...saction-pool/src/fork_aware_txpool/multi_view_listener.rs
- substrate/client/transaction-pool/src/fork_aware_txpool/revalidation_worker.rs 14 additions, 8 deletions...saction-pool/src/fork_aware_txpool/revalidation_worker.rs
- substrate/client/transaction-pool/src/fork_aware_txpool/tx_mem_pool.rs 47 additions, 19 deletions...ent/transaction-pool/src/fork_aware_txpool/tx_mem_pool.rs