Skip to content

Bitcoin Prime is a data desk, not a trading platform. We take no deposits.

Bitcoin Prime is an independent editorial data desk. It is not a trading platform, robot or investment service, takes no deposits, never asks for money or wallet keys, and is not affiliated with any product, app or scheme that uses the same or a similar name.

Bitcoin Prime
EN RU
BTC$60,326−4.23% 24h Block977,381 Next-block fee3 sat/vB Halving in72,619 blocks
Glossary

Replace-by-fee (RBF)

Replace-by-fee swaps a waiting transaction for a higher-paying version that spends the same coins.

Replace-by-fee (RBF) is a relay policy under which a node replaces an unconfirmed transaction in its mempool with a conflicting one, one that spends at least one of the same inputs, provided the new version pays enough more in fees. It is how a sender raises the fee on a payment that is stuck.

How it works

The original rules in BIP125 made replacement opt-in: a transaction signaled that it could be replaced by setting an input’s sequence number below 0xfffffffe. A replacement had to pay a higher absolute fee, pay for its own relay at the incremental relay fee, avoid adding new unconfirmed inputs, and evict no more than 100 transactions.

The 28.0 release notes record that Bitcoin Core’s default for full replacement changed from off to on, so signaling no longer decides whether a node accepts a replacement. The 31.0 notes add that replacements are accepted only if the mempool’s feerate diagram strictly improves.

Where you see it

Wallets offer it as a fee bump on an unconfirmed payment, and Bitcoin Core exposes it through the bumpfee RPC. Explorers sometimes flag a transaction as replaced, and the new one has a different transaction id. A replacement is only possible while the original is unconfirmed.

The full walkthrough, with the alternative for recipients, is in the guide on replace-by-fee and CPFP.

Common confusions

  • A guaranteed cancel. It is not. If the original confirms first, nothing is replaced, and not every node may accept a given replacement.
  • Only for signaling transactions. With full RBF as the default, an unsignaled transaction can also be replaced on nodes running it.
  • The same as CPFP. CPFP leaves the original in place and adds a child. RBF replaces the original.
  • Consensus. It is relay policy. Consensus rules do not mention it.

It sits within the network topic. This entry is not financial advice.

Sources

  1. BIP125: Opt-in Full Replace-by-Fee Signaling · Bitcoin Improvement Proposals
  2. Bitcoin Core 28.0 release notes · Bitcoin Core
  3. Bitcoin Core 31.0 release notes · Bitcoin Core

Educational data only. Not financial, investment or tax advice; no licence is claimed. Bitcoin Prime publishes no forecasts, targets or trading signals.