Questions tagged [replace-by-fee]

describes a mechanism to mark transactions as replaceable until they are confirmed.

Filter by
Sorted by
Tagged with
0 votes
2 answers
42 views

How is the total number of transactions that will be replaced calculated in this case?

One of the rule for the transaction replacement (RBF) is that the number of original transactions (directly conflicting transactions + their descendants) can't exceed 100. However, in presence of ...
LeaBit's user avatar
  • 538
1 vote
1 answer
81 views

What is incremental relay feerate?

In an answer to my previous question, Murch used the term: incremental relay feerate. On first, I thought that's the same as minimum relay fee (minRelayTxFee) - minimum feerate (sat/VB) that ...
LeaBit's user avatar
  • 538
2 votes
1 answer
241 views

What happens when two or more transactions are covered ("hit") by RBF?

RBF (Full RBF, Opt-in Full RBF, FSS-RBF) is applied to a transaction when one of its inputs "matches" one of the inputs in the replacement transaction. However, what happens if the inputs of ...
LeaBit's user avatar
  • 538
2 votes
2 answers
140 views

What types of RBF exist and which one does Bitcoin Core support and use by default?

As far as I know Bitcoin Core knows two types of RBF. These are Full RBF and Opt-in Full RBF. In both cases, the transaction will be replaced if a new one arrives that consumes at least one of the ...
LeaBit's user avatar
  • 538
1 vote
0 answers
15 views

Building a CPFP raw transaction to confirm a force-closed Lightning channel [closed]

I am attempting to use bitcoin-cli createrawtransaction to build a CPFP transaction to pay for a low-fee channel close that has been unconfirmed for over a week. I have all of the details, i.e, txid, ...
The Daniel's user avatar
-1 votes
1 answer
43 views

Are non-RBF transactions more likely to be confirmed sooner?

Are non-RBF transactions more likely to be confirmed sooner? It would seem miners would prefer them (contra this answer) because they don't have to worry about another miner utilizing a higher fee re-...
Geremia's user avatar
  • 4,556
2 votes
1 answer
85 views

Why can't I bumpfee the 25th tx in an unconfirmed chain?

I have a chain of 25 unconfirmed transactions. There's a default mempool limit of 25 chained unconfirmed transactions, so my change output of the 25th transaction is not usable until some of the ...
Kalle Rosenbaum's user avatar
2 votes
1 answer
114 views

What is the relation between nLockTime and nSequence?

Here Antoine said the following: This introduced absolute timelock capability through the nLockTime transaction field, which is disabled if all the transactions inputs have an nSequence that is ...
LeaBit's user avatar
  • 538
4 votes
1 answer
146 views

What are all the meanings of the nSequence field?

I know the original purpose of the nSequence field was to hold the transaction in the mempool with the transaction being replaced when the larger value comes and so on up to 0xFFFFFFFF when the ...
LeaBit's user avatar
  • 538
6 votes
0 answers
130 views

What are the advantages to attackers of different styles of replacement cycle attacks?

In Antoine Riard's original description of replacement cycle attacks against HTLCs, a replacement cycle looks like this: Bob broadcasts an HTLC-timeout (input A, input B for fees, output X) Mallory ...
David A. Harding's user avatar
2 votes
1 answer
542 views

How can I raise the fee of a transaction in Bitcoin Wallet App?

I am using the Bitcoin wallet app from bitcoinj.org. I sent a payment with a low fee so it's been pending for 8 days. I wrote the developers and they only replied with auto. Beneath is what I got: Q: ...
Betty's user avatar
  • 21
1 vote
1 answer
89 views

How to properly calculate fee for RBF transaction?

Suppose I just sent Tx1, which has length of 200 bytes and fee rate of 10 satoshi/byte, totaling fee 0.00002 BTC. Now I replace it with Tx2 that has the same count of inputs and outputs, and also has ...
John Smith's user avatar
1 vote
1 answer
188 views

Open Channel Transaction without RBF is stuck

An open-channel transaction has too low fees and does not get confirmed. It has opted in to RBF, but there is no change output. So I think it is not possible to use lightning-cli openchannel_bump? Isn'...
timmornYE's user avatar
  • 125
0 votes
0 answers
142 views

My bitcoin core transaction is stuck in the mempool. I am the sender. I need help with either accelerating this transaction or preparing a CPFP trx

Hello and thank you for looking at my first question. This is my first question ever on StackExchange. I engaged in Bitcoin transactions as the sender; trying to send some Bitcoin to my CashApp so I ...
vittorrio's user avatar
3 votes
2 answers
232 views

How can I change the inputs and fee of an unconfirmed Bitcoin transaction?

I have a 3 days old unconfirmed Bitcoin transaction that has 13 inputs, 2 outputs and a low fee. I want to remove the small value inputs because as it increases the size, it also increases the minimum ...
Bruno's user avatar
  • 220
3 votes
1 answer
554 views

Stuck transaction with enough fee rate

I've sent a Bitcoin transaction using the Bitcoin Core client and later realized the fee was too low (Fee 0.00005814 BTC ~ $1.69 USD) https://www.blockchain.com/explorer/transactions/btc/...
Bruno's user avatar
  • 220
5 votes
1 answer
158 views

How to disable RBF in Bitcoin Core?

I am creating a transaction with Bitcoin Core (v24.0.1) and it has RBF enabled (sequence: 4294967293) by default. I am trying to disable RBF by adding walletrbf=0 and mempoolfullrbf=0 to bitcoin.conf ...
karask's user avatar
  • 2,520
3 votes
1 answer
585 views

Best Practices with Multiple CPFPs & CPFP + RBF

Problem: In times of escalating fees and a growing mempool, multiple prioritizations may be necessary if the initial Child Pays For Parent (CPFP) transaction fails to offer a sufficient fee. However, ...
Michael Tidwell's user avatar
4 votes
1 answer
763 views

How do I perform a RBF transaction through Bitcoin Core?

I have no knowledge about Bitcoin Core and attempted my first transaction, which failed due to low fee due to a basic math error. (Did not notice it was per kilobyte rather than per byte.) It is ...
user141318's user avatar
5 votes
2 answers
131 views

How would an adversary increase the required fee to replace a transaction by up to 500 times?

In the ephemeral anchors draft BIP (also discussed here) it states that without V3 transactions an adversary can increase the required fees to replace a transaction as much as 500 times. That sounds a ...
Michael Folkson's user avatar
2 votes
1 answer
139 views

Comparison between CPFP and BIP125 for fee bumping

As far as I understood so far, CPFP and BIP125 are both designed to help spenders to make new transactions using an input of an unconfirmed transaction by paying the cost. The most well known use case ...
Amir reza Riahi's user avatar
2 votes
1 answer
96 views

How is it possible to bypass bip125#2?

I was reading this github gist about rbf improvements written by glozow. I had difficulty understanding parts of it. The main confusion I have is for this paragraph: BIP125#2 can be bypassed by ...
Amir reza Riahi's user avatar
3 votes
1 answer
94 views

What is an ephemeral anchor and what problems do they address?

What is an ephemeral anchor and what problem(s) would their introduction address? What is their relation to anchor outputs in Lightning? Are ephemeral anchors a prerequisite for eltoo? V3 and package ...
Michael Folkson's user avatar
0 votes
1 answer
98 views

What issues would changing the default policy in Core to mempoolfullrbf=1 resolve and which of the current policy proposals would be simplified?

What issues would changing the default mempool policy in Core to mempoolfullrbf=1 resolve and which of the current policy proposals (e.g. BIP125 replacement, V3 Policy, package RBF, discussed here) ...
Michael Folkson's user avatar
1 vote
1 answer
170 views

What and where are the current status of the BIP 125 replacement, the V3 Policy proposal, package RBF etc?

Whenever I try to review P2P and mempool (default) policy proposals I end up going round in circles around this maze of docs, mailing list posts and pull requests. Some of them are outdated, some ...
Michael Folkson's user avatar
5 votes
1 answer
608 views

What are the arguments in the `mempoolfullrbf` debate?

In the past months there has been a debate about the new mempoolfullrbf startup option released in Bitcoin Core v24.0.1. The debate seems to be overlapping with debates whether full-rbf and 0-conf are ...
Murch's user avatar
  • 72.9k
2 votes
1 answer
111 views

persistence of the RBF bit in post-fullrbf chain

In case consensus decided to ignore pro-zeroconf nodes (in case that is or can be a thing), then what's the point of having the RBF bit in a transaction, if everything in the system is enforcing RBF (...
Mercedes's user avatar
  • 795
2 votes
2 answers
228 views

Could you use RBF to take back stolen funds?

If you saw a transaction from a UTXO you control in the mempool that you didn't sign (i.e. it was stolen), could you use RBF to move it to an address you control before it was confirmed?
Isenko Chubb's user avatar
4 votes
1 answer
105 views

Does `0 OP_CSV` force the spending transaction to signal BIP125 replacability?

If I send bitcoins to an output whose script will execute 0 OP_CHECKSEQUENCEVERIFY when it is spent, does that require the spender to set the BIP125 signal indicating that the transaction is ...
David A. Harding's user avatar
3 votes
2 answers
399 views

Is it possible to set RBF as always-on in bitcoind?

I can't seem to find any cli commands for this. Is it even possible? Or does RBF need to be opted into on a per transaction basis? I would just like every transaction sent by my node to be RBF enabled....
Aaron's user avatar
  • 33
1 vote
1 answer
83 views

Where can I find statistics for the current RBF adoption?

What's the percentage of on-chain transactions having RBF (replace-by-fee) activated the last 30 days? What query could I run against my node to find out?
Paul's user avatar
  • 13
4 votes
2 answers
755 views

Can RBF be used to change the value of a transaction?

I understand that we can use RBF Protocol to replace a transaction with higher fees to get the transaction confirmed faster. However, is it possible to use RBF to change the value of the transaction, ...
Srikanth Alva's user avatar
1 vote
0 answers
53 views

What happens if a transaction does not signal replaceability but spends an output from an unconfirmed RBF transaction?

What happens if a wallet spends an output of an unconfirmed Opt-In Replace-by-fee (BIP125) transaction, but does not flag the spending transaction as Opt-In Replace-by-fee? Receiving wallets would see ...
Dalit Sairio's user avatar
0 votes
1 answer
83 views

Exploit vulnerable projects using RBF policy

If a project is vulnerable to some type of RBF policies, how could an attacker exploit this project?
user avatar
1 vote
1 answer
413 views

How can I use RBF to replace a transaction sent from Bitcoin Core?

How do I resend a transaction with RBF on a Bitcoin Core node v.19 or v.20? I am running it on Ubuntu. I tried bumpfee txid and got the response that “the transaction is not BIP125 replaceable”. What ...
Heresh Ariai's user avatar
4 votes
1 answer
114 views

How does RBF (BIP 125) behave, when the unconfirmed UTXOs are being spent?

Let's assume we broadcast transaction A (TXA), signalling Replace-By-Fee as defined in BIP 125. We pay 1 sat/vByte for the transaction. One of the outputs goes to Bob. But Bob immediately spends his ...
Dalit Sairio's user avatar
0 votes
1 answer
237 views

Multisig and RBF after taproot

Are there any benefits of above setup after taproot is activated that improve privacy in any way? What is the setup? 3of3 multisig address with 0.1 BTC unspent Alice, Bob and Carol own the keys for ...
user avatar
1 vote
1 answer
594 views

Will electrum wallet increment the fee automatically or do I have to do it manually?

Although I've broadcasted many transactions via testnet with RBF opted-in ( --rbf true), yet, given different incentives present among the miners of the testnet and of the mainnet, my experience so ...
John Smith's user avatar
1 vote
1 answer
986 views

How to do RBF using the Ledger Nano / Ledger Live

Would anyone here please be able to tell me how to do RBF using the ledger nano- I can see the transaction has been stuck for about 12 hours now. The TX is ...
Joaquin Birba's user avatar
2 votes
0 answers
139 views

What tools can I use to create and replace RBF transactions?

I'd like to create transactions within my python application, that support replace-by-fee RBF (BIP125). Apparently, if I want to be able to replace my transaction later on, I need to signal that ...
Dalit Sairio's user avatar
6 votes
1 answer
127 views

A question about CPFP relaying policy

Let's say I broadcast a transaction tx0 signaling RBF replaceability. Later on, send another transaction tx1 that spends the same inputs of tx0, but this time with higher fees. In this case, tx0 is ...
Burak's user avatar
  • 176
0 votes
1 answer
96 views

Prioritize transaction with low fee

Tx1: send '{"bcrt1qgz8qhrqyglh7zu3alssydsfa7wk2auucftfnv3": 0.2}' null "unset" 1.1 { "txid": "d040ebe603f80bdf1a92877efeb2b4a27c32766202aeecf3a969b665a0d4c6d8&...
user avatar
1 vote
1 answer
201 views

What are we trying to predict in fee estimation and why?

There are different estimations used in wallets, explorers and other Bitcoin projects. For example: estimatesmartfee in Bitcoin Core This is the fee rate distribution right now according to https://...
user avatar
4 votes
1 answer
106 views

Why isn't Replace by fee default for all transactions?

I know it's a wallet implementation and a flag, but when it was introduced why wasn't this change a rule for all transactions so that anyone could RBF if they wanted to instead having had to set the ...
zndtoshi's user avatar
  • 153
1 vote
1 answer
194 views

How to test RBF on Testnet?

I'd like to do RBF testing on testnet. I'd like to simulate a transaction with too-low fees, aka "stuck" transaction, and then RBF it in various ways. Problem is, all testnet transactions ...
Donn Lee's user avatar
  • 143
0 votes
1 answer
39 views

Not sure where some of my transaction went

I just made a transaction of 61.80 Euros, but it charged me 88.01, And I'm not sure why. Some background: I'm using a service called HodlHodl to turn my mined bitcoin into money. I use Electrum as my ...
basik's user avatar
  • 21
1 vote
2 answers
148 views

Can Bitcoin transactions actually be reversed/"undone" by the sender by using/abusing the newish "replace-by-fee" feature?

I am watching a live stream of Roger Ver talking about Bitcoin. Yes, I know that a lot of people violently hate him and I will say that I don't like Bitcoin Cash. I sold all mine for Bitcoin very ...
Vahn P.'s user avatar
  • 11
3 votes
1 answer
91 views

Where can I get a list of stale RBF'd transactions?

I would like to prove that a certain transaction was in the mempool on a certain date before it got replaced via RBF with another transaction. Is there any service that provides this data?
Jimmy Song's user avatar
  • 7,749
0 votes
0 answers
57 views

My Bitcoin transaction remained unconfirmed for 20 days now [duplicate]

I sent a bitcoin transaction from one of my wallets into another wallet meant for trading. Its been 20 days now and the transaction remained unconfirmed. Please I need help because I sent this coin ...
Awales's user avatar
  • 1
0 votes
1 answer
2k views

How can I replace-by-fee an unconfirmed transaction sent from my Ledger Nano?

Would anyone here please be able to tell me how to do RBF using the Ledger Nano—I can see the transaction was RBF and has been stuck for about 24 hours now. The TX is ...
Polyscript's user avatar