The complete mempool lifecycle
Terms used in this lesson
- RBF
- Replace-by-fee: a policy for replacing an unconfirmed transaction with a conflicting one that pays more.
- Spread
- The gap between executable buy and sell prices in a market.
- Coinbase transaction
- The special first transaction in a Bitcoin block, which claims permitted subsidy and fees and has no ordinary prior-output input.
- Outpoint
- A transaction ID plus output number that identifies one exact prior output.
Follow admission, relay, conflicts, RBF replacement, block connection, reorg reconsideration, expiry, size eviction, and local policy differences.
Loading lesson visuals...
Learn the idea
A mempool is one node's volatile set of unconfirmed transactions that passed its current admission policy. It is not a shared network waiting room and not part of consensus state. Transactions enter after local checks, spread through independent peer decisions, leave through confirmation, conflict, replacement, expiry or size eviction, and may return after a reorganization.
Check before admission
Parse the transaction, obtain previous outputs, run consensus preconditions, detect conflicts and ancestors, then apply local standardness, fee and resource policy. Passing one node does not guarantee passing another.
Inspect every idea above to open it.
Each node has its own mempool. A candidate can be absent, replaced, evicted, confirmed or reconsidered independently at different nodes.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.