Mempool
1 min read
Pronunciation
[mem-pool]
Analogy
Definition
The memory pool or transaction pool where unconfirmed transactions wait before being included in a block. The mempool is maintained by each node independently as a staging area for transactions that have been broadcast to the network but not yet confirmed.
Key Points Intro
The mempool serves as the transaction clearinghouse that bridges users and block producers.
Key Points
Contains all valid but unconfirmed transactions broadcast to the network.
Varies between nodes—there is no single global mempool.
Acts as the marketplace where miners/validators select transactions for blocks.
Transactions with higher fees typically get selected from the mempool first.
Example
During a Bitcoin price surge, the network often experiences high transaction volumes, resulting in a congested mempool with over 100,000 pending transactions. Users who need fast confirmations must pay higher fees to prioritize their transactions for selection from the crowded mempool.
Technical Deep Dive
Nodes manage mempools using various policies to maximize efficiency and prevent resource exhaustion. These typically include size limits (Bitcoin nodes default to 300MB), minimum fee thresholds to prevent spam, and replacement policies like Replace-by-Fee (RBF) that allow transactions to be superseded by versions with higher fees. Mempools implement sophisticated data structures for efficient transaction lookup, validation, and prioritization based on feerate (fee per byte or unit of computation). During congestion, transactions with lower fees may remain in the mempool for extended periods or eventually be dropped if the mempool reaches capacity limits. Since each node maintains its own mempool, propagation dynamics can lead to slightly different transaction sets across the network, though these differences are typically reconciled as blocks are processed.
Security Warning
Caveat
While many blockchain explorers and wallets display 'the mempool,' these are actually snapshots from specific nodes or services and may not exactly match what every node in the network sees, particularly during periods of high network activity or propagation delays.
Mempool - Related Articles
No related articles for this term.