what-is-the-replace-by-fee-rbf-policy
Back to Blog

What is the Replace-By-Fee (RBF) policy?

Understanding Replace-By-Fee (RBF) in Bitcoin Transactions

What is the replace-by-fee (RBF) policy?

The replace-by-fee (RBF) policy within the Bitcoin network allows users to substitute pending (unconfirmed) transactions with new ones that offer higher transaction fees. This policy, initially proposed in BIP 125, was integrated into the Bitcoin protocol through the release of Bitcoin Core version 0.12.0 in February 2016, granting users flexibility to accelerate transactions or adjust fees based on network conditions. On Nov. 23, 2023, a Bitcoin user made a transaction at 9:59 am UTC, paying an exceptionally high transaction fee of $3.1 million for transferring 139.42 Bitcoin (BTC). This exorbitant fee set a record as the eighth-highest in Bitcoin’s history. To put it in perspective, the user overpaid 119,980 times the typical transaction fee.

The Functionality of RBF

RBF enables users to replace pending transactions with new ones featuring higher fees, providing them with the ability to expedite confirmation times or adjust fees in response to changing network dynamics. This feature offers users greater control over their transactions and enhances flexibility within the Bitcoin ecosystem. Key Aspects of RBF Transactions

RBF transactions involve several key aspects, including the ability to maintain the same outputs as the original transaction, a higher sequence number for each input to indicate replaceability, and applicability only to unconfirmed transactions. Understanding these aspects is crucial for users looking to leverage RBF effectively. Support for RBF Across Wallets and Services

While RBF is embedded in the Bitcoin network protocol and supported by Bitcoin Core, its implementation may vary across different wallets and services within the Bitcoin ecosystem. Users should verify their wallet's compatibility with RBF and understand how to enable or disable this feature based on their preferences and requirements.

How to enable and disable RBF?

Enabling and disabling Replace-By-Fee (RBF) in a Bitcoin wallet involves accessing settings, toggling the RBF option, and adjusting fees as needed. Here's how to enable and disable RBF: Enabling RBF:

  • Ensure the selected wallet supports RBF. Navigate to the wallet settings, usually found in the advanced or transaction preferences section.
  • Look for an option related to RBF, often labeled as "Replace-by-Fee" or similar, and enable it.
  • With RBF enabled, users can broadcast transactions to the network and modify the transaction fee if necessary.
  • For Trezor users, version 21.2.2 of the Trezor Suite offers on-device support for both Trezor Model T (firmware 2.3.5 and up) and Trezor Model One (firmware 1.9.4 and up). RBF is enabled by default in Trezor Suite, allowing users to finalize transactions or increase fees.

RBF by Output Reduction in Trezor:

RBF, through output reduction, subtracts the additional fee from the transfer amount rather than the account balance when sending the maximum Bitcoin from a single account.

RBF with Trezor Devices in Electrum:

Users can utilize RBF with Trezor devices in Electrum, enabling them to replace the original transaction. However, this replacement is only possible if the initial transaction was conducted using Electrum with the "Replace by fee" option enabled, accessible through Tools > Preferences > Replace by fee.

Disabling RBF:

  • Access wallet settings, usually through advanced options or transaction preferences.
  • Locate the RBF option, typically labeled as "Replace-by-Fee" or similar.
  • Disable the option to ensure RBF is not activated by default in new transactions. It's important to refer to the wallet's documentation or support resources for the most accurate and up-to-date information on enabling or disabling RBF.

Disadvantages of RBF Policy:

While RBF offers fee adjustments post-transaction, it raises concerns regarding double-spending, user confusion, and network congestion.

  • Double-Spending Concerns: RBF allows users to replace unconfirmed transactions with new ones featuring higher fees, complicating the identification of legitimate transactions and potentially leading to fraud.
  • User Experience Complications: Users unfamiliar with RBF may inadvertently replace transactions or encounter delays, impacting user experience and transaction predictability.
  • Network Efficiency Impact: Frequent transaction replacements with high fees can congest the network, affecting its overall efficiency.
  • Vulnerability to Misuse: RBF's susceptibility to misuse may enable malicious actors to exploit the system for financial gain, underscoring the importance of user education and cautious usage.

Share this article

We use cookies to improve your experience. By closing this message you agree to our Cookies Policy.