Structsยง
- Mempool
- Mempool data structure: transaction IDs plus outpoints spent by those transactions.
Enumsยง
- Mempool
Result - Result of mempool acceptance
Constantsยง
- DEFAULT_
BYTES_ PER_ SIGOP - Default
-bytespersigop. Each sigop costs20 / 4 = 5vbytes. - MAX_
STANDARD_ TX_ SIGOPS_ COST - Standard mempool cap:
MAX_BLOCK_SIGOPS_COST / 5(16_000). Core rejects above this withbad-txns-too-many-sigops.
Functionsยง
- accept_
to_ memory_ pool - AcceptToMemoryPool: ๐ฏ๐ณ ร ๐ฐ๐ฎ โ {accepted, rejected}
- calculate_
tx_ id Deprecated - Calculate transaction ID (deprecated - use crate::block::calculate_tx_id instead)
- has_
conflict_ with_ tx - Check if new transaction conflicts with existing transaction
- is_
final_ tx - Check if transaction is final (Orange Paper Section 9.1 - Transaction Finality)
- is_
standard_ tx - IsStandardTx: ๐ฏ๐ณ โ {true, false}
- is_
standard_ tx_ with_ config - Variant of
is_standard_txthat accepts an optionalblvm_primitives::config::MempoolConfig. - replacement_
checks - ReplacementChecks: ๐ฏ๐ณ ร ๐ฏ๐ณ ร ๐ฐ๐ฎ ร Mempool โ {true, false}
- signals_
rbf - Check if transaction signals RBF
- sigop_
adjusted_ vsize - Sigop-adjusted virtual size.
- update_
mempool_ after_ block - Update mempool after block connection
- update_
mempool_ after_ block_ with_ lookup - Update mempool after block connection (with transaction lookup)