Skip to content
Snippets Groups Projects
  • Michal Kucharczyk's avatar
    `fatxpool`: handling limits and priorities improvements (#6405) · 41a5d8ec
    Michal Kucharczyk authored
    This PR provides a number of improvements around handling limits and
    priorities in the fork-aware transaction pool.
    
    
    #### Notes to reviewers.
    #### Following are the notable changes:
    1. #### [Better
    support](https://github.com/paritytech/polkadot-sdk/pull/6405/commits/414ec3cc)
    for `Usurped` transactions
    
    When any view reports an `Usurped` transaction (replaced by other with
    higher priority) it is removed from all the views (also inactive).
    Removal is implemented by simply submitting usurper transaction to all
    the views. It is also ensured that usurped tx will not sneak into the
    `view_store` in newly created view (this is why
    `ViewStore::pending_txs_replacements` was added).
    
    1. ####
    [`TimedTransactionSource`](https://github.com/paritytech/polkadot-sdk/pull/6405/commits/f10590f3)
    introduced:
    
    Every view now has an information when the transaction entered the pool.
    Enforce limits ...
    41a5d8ec
Code owners
Assign users and groups as approvers for specific file changes. Learn more.