Skip to main content

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
1 answer
32 views

Does new transaction in RBF has a txid different from the stuck transaction ? If yes , then isn't it basically creating a new transaction?

If I am sending a new RBF transaction to replace my stuck transaction and since the txid preimage has outputs value it will change the txid then why do we even care about RBF and nsequence < ...
Prabhat Verma's user avatar
1 vote
1 answer
59 views

Are RBF transactions on average larger in size than its predecessors and than non-RBF transactions?

Are RBF transactions (the ones that replace) on average larger in size than its predecessors (the ones to be replaced)? And are non-RBF transactions smaller in size when compared with opt-in-RBF ...
John Smith's user avatar
1 vote
1 answer
34 views

Can I tell if my peers enable mempoolfullrbf?

Trying to ensure my node is connected to some fullrbf peers, but it doesn't seem that there is a discoverable service for fullrbf? Am I stupid or missing something?
Lnanon6969's user avatar
0 votes
1 answer
73 views

btc RBF insufficient fee, rejecting replacement

I try to replace this transaction 13bc8f787f7c972702b6d14b8c0b36335aac5d0027800e2de277910a5eff86fb by higher fee, when broadcast return err: broadcast error, -26: insufficient fee, rejecting ...
jeff bule's user avatar
3 votes
1 answer
284 views

What is the problem with the recent "One-Shot Replace-by-Fee-Rate" Proposal?

There recently was a proposal to allow replacements that only beat the original by feerate, instead of by both the feerate and absolute fee. One-Shot Replace-by-Fee-Rate We can mitigate Rule #3 ...
Murch's user avatar
  • 75.4k
1 vote
1 answer
65 views

How to make RBF with changed output address per CLI?

Please, can anyone explain to me how to make an RBF with changing the output address exactly? Which commands should I use for that? I tried to use the 'send' command to send the same amount with a ...
miso's user avatar
  • 23
4 votes
2 answers
168 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
  • 940
1 vote
1 answer
135 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
  • 940
4 votes
1 answer
335 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
  • 940
2 votes
2 answers
452 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
  • 940
1 vote
0 answers
49 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
49 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,636
2 votes
1 answer
217 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
144 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
  • 940
4 votes
1 answer
194 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
  • 940
9 votes
0 answers
181 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
0 answers
1k 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
142 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
305 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
266 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
387 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
994 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
8 votes
1 answer
265 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,540
3 votes
1 answer
786 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
5 votes
1 answer
2k 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
147 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
3 votes
1 answer
184 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
109 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
127 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
111 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
225 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
6 votes
1 answer
808 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
  • 75.4k
2 votes
1 answer
118 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
  • 802
2 votes
2 answers
286 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
111 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
498 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
107 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
  • 23
4 votes
2 answers
983 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
54 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
91 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
536 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
5 votes
1 answer
129 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
265 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
795 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
1k 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
200 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
137 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
  • 186
0 votes
1 answer
119 views

Prioritize transaction with low fee

Tx1: send '{"bcrt1qgz8qhrqyglh7zu3alssydsfa7wk2auucftfnv3": 0.2}' null "unset" 1.1 { "txid": "d040ebe603f80bdf1a92877efeb2b4a27c32766202aeecf3a969b665a0d4c6d8&...
user avatar
1 vote
1 answer
215 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
107 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