
What is RBF (replace by fee)?
If you make bitcoin transactions regularly, you may notice the option "Replace by fee".
Replace by fee (RBF) means that the sender can resend the transaction with a higher fee, if they accidentally set a low fee and don't want to wait a long time for confirmations. Miners then see the higher fee transaction and are more likely to include your tx into the next block.
The unconfirmed low fee transaction is now invalid and is ignored, because the bitcoins were already spent in the confirmed high fee transaction.
What about double spending?
RBF is a method to accelerate a slow transaction by using a higher fee. It isn't intended for double spending and it is possible to double spend an unconfirmed transaction without RBF flag.
Double spending doesn't generate more bitcoins. The same bitcoin appears to be sent to 2 people, but only 1 person receives the money (the confirmed higher fee tx) and the second person receives nothing (the ignored lower fee tx).
In addition to double spend attacks, unconfirmed transactions can be stuck, orphaned or removed from mempool.
This is why sellers and traders must always wait for at least 1 confirmation for a safe transaction. Once a transaction has 1 or more confirmations (takes on average 10-20 minutes) it is safe from double spend attacks. For high amounts traders may prefer to wait for 3-6 confirmations for more security.
If you found this guide useful, feel free to send a contribution to 1CaLCR5mGwS4FJzU1HZm9qwr5WoRYFDdyB (BTC).
This article was written by Web4Crypto. Web4Crypto offers web development, web design, programming and scripting services from $40 and accepts Bitcoin, Monero, Ethereum and other cryptos. Visit https://web4crypto.xyz for more information and a free consultation.
Leave What is RBF (replace by fee)? to:
Read more #bitcoin posts
Best Posts From retprogramisto
We have not curated any of retprogramisto's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From retprogramisto
- How to install a pruned Bitcoin full node on Ubuntu VPS
- Why not to use Google Recaptcha and alternatives
- How to install altcoin full node and CLI wallet on VPS
- Work for Bitcoin, Hire for Bitcoin - How to use the Bitcoin freelance platform Microlancer.io
- How to buy and sell Bitcoin without KYC (without ID/passport) in 2019
- How to make custom keyboard map with xmodmap
- How to use symmetric (password) encryption with GPG
- #STEEMGIGS: I will develop your website, crypto platform, script or API for BTC, XMR, STEEM
- What is RBF (replace by fee)?
- How to check your bitcoin addresses in bulk