Replace-By-Fee (RBF)

Replacing an unconfirmed transaction with a higher-fee version of itself.

Basically

If your Bitcoin transaction is stuck waiting because the fee was too low, you can send an updated version with a higher fee that replaces the old one.

Key Takeaways

  • Standardized in BIP 125 and now the default mempool policy (full-RBF) on Bitcoin Core nodes.
  • A replacement must spend at least one of the same inputs and pay a higher total fee and fee rate than what it evicts.
  • Makes zero-confirmation acceptance unsafe for strangers, which it already was.

How it works

Until a transaction is mined into a block, it lives only in nodes' mempools. Replace-by-fee lets the sender broadcast a new transaction spending the same input with a higher fee; nodes drop the older version and keep the better-paying one. Wallets expose this as a "bump fee" or "speed up" button — or as "cancel", by replacing the payment with a transaction sending the coins back to yourself.

Interaction with merchants

Accepting an unconfirmed on-chain transaction as final was always a trust decision, because a miner could include a conflicting transaction instead. Full-RBF simply made that rule uniform across mempools. Instant finality belongs on Lightning, not in zero-conf on-chain receipts.

0

← All 1876 glossary terms