2 min to read.
Mempool
The waiting area in which a node keeps valid transactions that have not yet been included in a block.
What is the Mempool?
The mempool, short for "memory pool", is the set of valid, unconfirmed transactions that a node holds while they wait to be included in a block. When someone sends a transaction, it goes to the mempool first, and it stays there until a miner or validator picks it up.
How it works
A wallet broadcasts a signed transaction to the nodes it is connected to. Each node checks it: the signatures must be valid, the coins must exist and must not already be spent. If it passes, the node stores it in its mempool and relays it to its peers. Within seconds the transaction has spread across the network.
Miners and validators build new blocks from their mempools. Block space is limited, so they generally choose the transactions that pay the highest fee for the space or computation they use. When a block is published, every node removes the included transactions from its mempool.
There is no single mempool
Every node keeps its own. The contents largely overlap but are never exactly the same, since nodes receive transactions at different moments and may apply different size limits and relay policies. When a mempool is full, a node drops the lowest-paying transactions.
Example
On a quiet day, a Bitcoin transaction with a low fee is confirmed in the next block. During a rush, tens of thousands of transactions are waiting, and the same fee might leave the transaction pending for hours or days. Fee estimators in wallets look at the mempool to suggest a suitable fee.
Why it matters
The mempool is the visible queue of a blockchain. Its size and the fees offered in it show how congested the network is and what a timely confirmation costs.
Risks and misunderstandings
- A transaction in the mempool is not final. It can be replaced by a higher-fee version, expire or be dropped, so unconfirmed payments should not be treated as settled.
- Pending transactions are public. On networks with decentralised exchanges, bots watch the mempool and may trade ahead of visible orders.