Mempool and Transaction Fees
The mempool is each node's local waiting room for valid unconfirmed transactions.
Fees explain confirmation speed, stuck transactions, replace-by-fee, child-pays-for-parent, and competition for block space.
See it concretely
It is like airport standby boarding. Many people want limited seats, and priority determines who gets included first.
Tempting — but wrong
The precise version
The transaction fee is the difference between total input value and total output value. Feerate is usually measured in satoshis per virtual byte. Nodes apply consensus rules to blocks and local policy rules to mempool relay. Replace-by-fee and child-pays-for-parent are fee-bumping strategies that use policy and miner incentives.
feerate = fee_{sats} / vsize_{vbytes}Check your understanding
Why can two nodes show different mempools?
Click to reveal answer
Why does feerate matter more than absolute fee?
Click to reveal answer
- Distinguish consensus validity from relay policy.
- Calculate feerate.
- Explain RBF and CPFP conceptually.
- Explain why confirmation estimates are uncertain.
Why do miners prefer higher feerate transactions?