THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Bitcoin Mempool History: Policy Versus Consensus

permalink THAMER
#bitcoin-mempool#consensus#rbf#relay-policy

Definition

The mempool is a local, temporary set of transactions a Bitcoin node knows about but has not confirmed in its active chain. There is no single authoritative global mempool, and its contents can differ substantially across nodes.

Early relay and policy

As Bitcoin use grew, nodes needed practical limits for unconfirmed transaction admission, fees, standardness and resource consumption. Standardness is relay policy: it limits what a node will usually forward or accept into its mempool. Consensus validity is different: miners and full nodes must still enforce consensus rules when validating blocks.

Replacement and fee bumping

Replace-by-fee policies allow certain conflicting unconfirmed transactions to replace earlier ones under defined conditions. BIP 125 documents opt-in signaling, while later node policies and full-RBF discussions show that relay behavior is not fixed forever. Child-pays-for-parent provides another fee-bumping pattern by making a parent transaction economically attractive to mine together with a higher-fee child.

Reorganizations and eviction

A node can evict low-fee transactions under memory pressure. A transaction may also re-enter the mempool after a chain reorganization, subject to local rules. Thus mempool presence, absence and transaction status are time-dependent observations.

Practical implication

Payment systems should record which node observed an unconfirmed transaction, when it was observed, whether it was replaced, and what confirmation policy applies. Seen is not synonymous with confirmed.

Primary reading

Bitcoin Core developer documentation
https://bitcoincore.org/en/doc/

BIP 125
https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki

Bitcoin Core source
https://github.com/bitcoin/bitcoin

Related Bitcoin history

Explore the historical questions in the THAMER ASK archive:
https://thamer.org/ask

Related THAMER research

Who can change Bitcoin consensus rules?
https://thamer.org/ask/who-can-change-bitcoin-consensus-rules

Is BIP 39 a Bitcoin consensus rule?
https://thamer.org/ask/is-bip-39-a-bitcoin-consensus-rule

Does merging Bitcoin Core code automatically change Bitcoin consensus?
https://thamer.org/ask/does-merging-bitcoin-core-code-automatically-change-bitcoin-consensus

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects