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

Does a Non-RBF Bitcoin Transaction Guarantee Zero-Confirmation Safety?

permalink THAMER
#bitcoin#double-spend#non-rbf#zero-confirmation

No. A transaction that does not opt in to BIP125 replacement is still unconfirmed. Its sequence numbers do not create a consensus guarantee that a conflicting transaction cannot be mined.

Why can a conflict still happen?

Nodes may implement different mempool replacement policies, including full-RBF. A miner can also learn of a conflicting transaction through a different relay path. Before a transaction is confirmed, different network participants may hold different views of which candidate will be included in a block.

A transaction can also leave a node's mempool without a successful double spend, for example because of eviction or expiry. Local observation is not network-wide settlement.

What should a recipient do?

Verify the expected output and amount. Treat mempool observation as a provisional seen state and watch for conflicting spends. For irreversible or high-value delivery, apply a confirmation policy appropriate to the business risk. After confirmation, remain able to handle reorganizations.

A merchant may choose to accept zero-confirmation payments for low-risk goods, but that is an explicit risk choice, not a safety property provided by a non-RBF sequence number.

Primary references

BIP125 — Opt-in Full Replace-by-Fee Signaling: https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki

Bitcoin Developer Guide — Transactions: https://developer.bitcoin.org/devguide/transactions.html

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