Skip to main content

Module mempool

Module mempool 

Source

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}
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)

Type Aliasesยง

Mempool
Mempool data structure