Mempool

Coda di attesa di un nodo per transazioni non ancora in un blocco.

In parole semplici

The mempool is a waiting room for transactions that are not yet in a block. You get served sooner if you pay a higher fee.

La visione di Nuri

The mempool is a per-node queue, not a global one. Two nodes can hold different sets, and fee estimation reads a sample of them.

L'essenziale

  • The mempool is each node's waiting room for unconfirmed transactions.
  • Transactions compete there by fee rate until a miner includes them in a block.
  • When blocks are full, the lowest-fee transactions wait longest or vanish.

How it behaves

Your wallet broadcasts a signed transaction. Peers check it and pass it on, and each node stores it in its own mempool. There is no single shared mempool: each node keeps its own size-limited view, effectively ordered by fee rate.

Miners build blocks from the mempool and take the best-paying transactions first. A fee market forms and the backlog grows when demand exceeds block space. The backlog drains when space frees up.

Why transactions get stuck

A transaction with too low a fee can sit for hours. You can use replace-by-fee to send a new version of the same transaction with a higher fee, or child-pays-for-parent to spend its unconfirmed output with a high-fee child so miners want the package. Nodes evict the cheapest transactions if things get bad enough, so they stay within their limits.

Practical takeaway

Fee estimation is prediction, not law. During spikes, you can either pay up or wait, and wallets that let you set fees explicitly are doing you a favour.

Errori comuni

The mempool is a waiting list for the whole network
There is no single mempool. Miners run their own and choose from it.
A transaction in the mempool is safe
Unconfirmed means revocable: replace-by-fee or an eviction can drop it.

← Tutti i 1876 termini del glossario