Expand description
A Utreexo-based Bitcoin transaction mempool.
This crate provides a transaction mempool implementation specifically designed for Utreexo nodes. Unlike traditional Bitcoin nodes that maintain a complete UTXO set, Utreexo nodes use a compact cryptographic accumulator to verify transaction validity, significantly reducing storage requirements.
§Overview
The mempool serves as a holding area for unconfirmed transactions, performing several critical functions:
- Transaction validation: Verifies Utreexo inclusion proofs for transaction inputs
- Proof management: Maintains a local accumulator to generate proofs for relay and mining
- Block template construction: Assembles candidate blocks for miners
- Transaction relay: Tracks which transactions to broadcast to peers
Re-exports§
pub use mempool::Mempool;
Modules§
- mempool
- A simple mempool that keeps our transactions in memory. It try to rebroadcast our transactions every 1 hour. Once our transaction is included in a block, we remove it from the mempool.