pub async fn evict_expired_aa_txs<P, C>(pool: P, client: C)where
P: TransactionPool<Transaction = TempoPooledTransaction> + 'static,
C: CanonStateSubscriptions + 'static,Expand description
Spawns a background task that evicts expired AA transactions.
- Listens for new blocks to get chain timestamp
- Listens for new transactions to track
valid_beforetimestamps - Evicts transactions when
valid_before <= tip_timestamp