RBF
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.
Loading lesson visuals...
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.
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 every idea above to open it.
RBF is an unconfirmed mempool process. Replacing a confirmed spend would require a chain reorganization, not ordinary RBF.
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.