Skip to main content

Crate brk_mempool

Crate brk_mempool 

Source
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§

ChainWaker
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.
MempoolBlockSource
One immutable published template, retained for validation and body construction.
PendingUtxos
An address’s pending UTXO changes in one completed publication.
PublishedTx
A live or recently vanished transaction as one publication holds it.
RbfForTx
RbfNode
ReadOnlyMempool
Cheap reader handle. Each load acquires one complete publication.
ReadOnlyState
All published mempool read data. Replaced through one ArcSwap.
ResolvedMempoolBlockDiff
A validated historical template captured for one diff request.