Crate subcoin_mempool
Source Expand description
§Bitcoin Mempool Overview
- Transaction Validation.
- Transactions are validated before being added to the mempool.
- Validation includes checking transaction size, fees and script validity.
- Fee Management
- Transactions are prioritized based on their fee rate.
- The mempool may evict lower-fee transactions if it reaches its size limit.
- Ancestors and Descendants.
- The mempool tracks transaction dependencies to ensure that transactions are minded the
correct order.
- CoinsViewCache
- In-memory UTXO cache with Substrate runtime backend.
- ConflictSet
- Set of transactions being replaced by RBF.
- EntryId
- Handle to entry in mempool arena (not an iterator).
- FeeRate
- Fee rate in satoshis per virtual kilobyte.
- LockPoints
- Lock points for BIP68/BIP112 validation.
- MemPool
- Thread-safe Bitcoin mempool.
- MemPoolArena
- Arena holding all mempool entries with multi-index support.
- MemPoolInner
- Inner mempool state (protected by RwLock in main MemPool).
- MemPoolOptions
- Configuration options for the transaction memory pool.
- Package
- A package of related transactions to be validated together.
- PackageValidationResult
- Package validation result.
- TxMemPoolEntry
- Mempool entry with cached ancestor/descendant state.
- ValidationResult
- Result of transaction pre-validation.
- MempoolError
- Errors that can occur when validating or managing mempool transactions.
- RemovalReason
- Reason for removing transactions from mempool.