Reviewed Aug 2026
DE
BA-05 · LESSON 08

RBF

KEY DEFINITIONS

Terms used in this lesson

RBF
Replace-by-fee: a policy for replacing an unconfirmed transaction with a conflicting one that pays more.
Transaction ID
The identifier produced by hashing a Bitcoin transaction’s non-witness serialization.
Identifier
Identifier: a value used to distinguish one request, object, or participant from another.

Replace-by-fee uses sequence and mempool rules to replace an unconfirmed transaction with a higher-fee conflict.

65 min Difficulty 2/5 Not started

Loading lesson visuals...

01

Learn the idea

Replace-by-fee, or RBF, is mempool policy for replacing an unconfirmed transaction with a conflicting transaction that pays more under the node's replacement rules. A conflict spends at least one of the same inputs. Replacement changes the transaction and normally changes its txid; it does not edit the old transaction in place.

GUIDED EXPLANATION1/5 ideas inspected
1

Create an unconfirmed transaction

The original transaction spends specific inputs and may signal replaceability through sequence values under opt-in policy, though node policy details can evolve.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionRBF lets a sender reverse a confirmed payment.

RBF is an unconfirmed mempool process. Replacing a confirmed spend would require a chain reorganization, not ordinary RBF.

02
FINISH LEARNING FIRST

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.