BIP 125 (Replace-by-Fee)
Bitcoin Improvement Proposal (BIP) 125 introduces Replace-by-Fee (RBF) to Bitcoin.
Bitcoin Improvement Proposal (BIP) 125 introduces Replace-by-Fee (RBF) to Bitcoin. This soft fork enables users to replace an unconfirmed transaction with a similar transaction paying a larger fee. Some Bitcoin wallets, such as Electrum, now allow users to use RBF.
When a transaction is broadcast, it pays a defined fee to the miner of that transaction. If the fee is too low, miners will defer mining that transaction in favor of other transactions which paid higher fees. In order to speed up a transaction’s confirmation, a user can take advantage of RBF to increase the fee of their transaction.
Nodes following BIP 125 will accept the new transaction and remove the older version from their mempool. Before BIP 125, Bitcoin nodes would automatically reject a transaction which attempted to spend UTXOs already spent in a different transaction in their mempool. BIP 125 created a caveat to that rule.
However, a transaction must opt into RBF in its first version to make RBF possible. This is done using the sequence, a previously unused field of a transaction input. !A transaction whose input sequences are all 0xFFFFFFFE or greater is not eligible for RBF.
If at least one input sequence is less than 0xFFFFFFFE, the transaction may be replaced by fee. A transaction whose input sequences are all 0xFFFFFFFE or greater is not eligible for RBF. If at least one input sequence is less than 0xFFFFFFFE, the transaction may be replaced by fee.
BIP 125 (Replace-by-Fee) is a Bitcoin protocol specification that defines technical standards for how Bitcoin software operates. Onramp's Bitcoin glossary provides detailed educational resources on BIP 125 (Replace-by-Fee) and other protocol-level concepts to help investors understand the technology underpinning their Bitcoin holdings.
Frequently Asked Questions
What is BIP 125 (Replace-by-Fee)?
BIP 125 (Replace-by-Fee) is a technical standard in the Bitcoin protocol that specifies how certain operations or data structures should be implemented. It helps ensure interoperability between different Bitcoin software implementations.
Why is BIP 125 (Replace-by-Fee) important for Bitcoin?
BIP 125 (Replace-by-Fee) improves Bitcoin's functionality, security, or efficiency. Technical standards like this ensure that all participants in the Bitcoin network follow consistent rules, maintaining network consensus.
How does BIP 125 (Replace-by-Fee) affect Bitcoin investors?
While BIP 125 (Replace-by-Fee) operates at the protocol level, Onramp ensures that clients benefit from these technical improvements through secure, up-to-date infrastructure for Bitcoin custody and transactions.
