Skip to main content

Module mempool

Module mempool 

Source

Structsยง

Mempool
Mempool data structure: transaction IDs plus outpoints spent by those transactions.

Enumsยง

MempoolResult
Result of mempool acceptance

Functionsยง

accept_to_memory_pool
AcceptToMemoryPool: ๐’ฏ๐’ณ ร— ๐’ฐ๐’ฎ โ†’ {accepted, rejected}
calculate_tx_idDeprecated
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_tx that accepts an optional blvm_primitives::config::MempoolConfig.
replacement_checks
ReplacementChecks: ๐’ฏ๐’ณ ร— ๐’ฏ๐’ณ ร— ๐’ฐ๐’ฎ ร— Mempool โ†’ {true, false}
signals_rbf
Check if transaction signals RBF
update_mempool_after_block
Update mempool after block connection
update_mempool_after_block_with_lookup
Update mempool after block connection (with transaction lookup)