Skip to main content

Module mempool

Module mempool 

Source

Structs§

Alternate
An alternate announcer for a known-in-flight transaction hash. Carries the announcer’s own announced type and size so the eventual retry can validate the response against the alternate’s metadata (which may differ from the primary announcer’s, e.g. when one peer advertises a bare blob tx while another advertises the full sidecar).
Mempool
PendingTxFilter
Filter applied by the payload builder when querying pending transactions from the pool. NOT a mempool admission gate — all fields here are query-time filters used to pick block-includable transactions. Admission rules are enforced in Blockchain::validate_transaction.

Constants§

MAX_ALTERNATES_PER_HASH
Maximum number of alternate announcers tracked per hash. Bounds the memory used by the alternates map and prevents pathological peers from filling it.
MAX_BLOB_MEMPOOL_SIZE
Maximum number of blob (EIP-4844) transactions retained in the mempool, independent of max_mempool_size. Blob txs live in a dedicated sub-pool so a flood of regular transactions cannot evict them, and the sub-pool itself is evicted by value/nonce (see remove_worst_blob_transaction), never FIFO, so the node keeps the (scarce, high-value, includable) blob txs it needs to build full blocks.

Functions§

transaction_intrinsic_gas