Skip to content

sequencer: rewrite mempool to have 'pending' and 'parked' account based transaction containers #1154

@lobstergrindset

Description

@lobstergrindset

Currently our app-side mempool has all transactions, ready to execute or not, inside of the same data structure. This makes mempool maintenance difficult. We have to iterate over all transactions when doing maintenance and there is no clean approach to doing quicker account-based checks.

It'd be nice to change the data structures to something similar to what geth/reth have, including account based transaction storage and a distinction between 'ready to execute' and 'could execute in the future' transactions.

A start to a more efficient mempool would be rewriting our current mempool with similar data structures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmempoolsequencerpertaining to the astria-sequencer crate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions