Expand description
One private mempool writer and a shared immutable read publication.
Fetch, prepare, apply, resolve inputs, and build the graph on the writer. Readers keep the last complete state until one atomic replacement publishes its successor. Transaction bodies are shared and use copy-on-write for fills.
Structs§
- Chain
Waker - Wakes the driver when the chain publishes, so a pool withheld for that tip goes out at once.
- Mempool
- Single owner of the mutable pool and update pipeline.
- Mempool
Block Source - One immutable published template, retained for validation and body construction.
- Pending
Utxos - An address’s pending UTXO changes in one completed publication.
- Published
Tx - A live or recently vanished transaction as one publication holds it.
- RbfFor
Tx - RbfNode
- Read
Only Mempool - Cheap reader handle. Each load acquires one complete publication.
- Read
Only State - All published mempool read data. Replaced through one ArcSwap.
- Resolved
Mempool Block Diff - A validated historical template captured for one diff request.