freecoding.school100% FREE · NO SIGNUP
Ledger LandISSUE #18 of 90

mempool · the pending pool

BlockyVSDouble-Spend Dan
Blocky saysThe mempool is the waiting room of unconfirmed transactions before they’re put in a block.

When you broadcast a transaction, it lands in nodes' mempools (memory pools) — pending, not yet in a block. Block producers pick transactions from the mempool, usually favoring higher fees. During congestion the mempool swells and low-fee transactions wait (or get dropped). The mempool is public, which is what makes front-running and MEV possible.

Power-ups you unlock

Double-Spend Dan attacks — common mistakes

Boss battleExplain why a low-fee transaction can sit in the mempool for hours.

Example code

<!doctype html><html><head><meta charset="utf-8"></head>
<body style="background:#06040d;color:#e6e0ff;font-family:monospace;padding:20px"><pre>broadcast → mempool (pending, public)
producer picks high-fee txs first
low fee + congestion → long wait</pre></body></html>
▶ Open the interactive comic issue
‹ Uncle Blocks · Stale BlocksTransactions · Inputs · Outputs · Fees ›