Module maintain
Expand description
Support for maintaining the state of the transaction pool
Structs§
- Settings for local transaction backup task
- Additional settings for maintaining the transaction pool
Enums§
- Errors possible during txs backup load and decode
Functions§
- Task which manages saving local transactions to the persistent file in case of shutdown. Reloads the transactions from the file on the boot up and inserts them into the pool.
- Maintains the state of the transaction pool by handling new blocks and reorgs.
- Returns a spawnable future for maintaining the state of the transaction pool.