Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: khaled0111 on May 19, 2019, 10:11:28 PM



Title: RBF a CPFP
Post by: khaled0111 on May 19, 2019, 10:11:28 PM
This is just hypothetical.

Let's suppose someone sent me some BTC and the transaction get stuck (so common the last few days). Being the receiver, the best solution is CPFP. But what if I, mistakenly, set low fees and the second transaction get stuck too.

I know that it is possible to do CPFP again (up to 24 times as far as I know then the 25 will be rejected), but, since I am the sender now, my question is if it is possible to replace by fee the stuck CPFP transaction? Is it possible?



Title: Re: RBF a CPFP
Post by: TryNinja on May 19, 2019, 10:47:39 PM
Yes. If you flag it as replaceable.


Title: Re: RBF a CPFP
Post by: ralle14 on May 19, 2019, 11:03:29 PM
If you own both address and those the wallet lets you do rbf and spend unconfirmed transaction then it's possible. I tried it just now on electrum since the network isn't busy at the moment.

Correction: he only has to be the one spending the coins (sending) to use RBF. Whatever the receiver is.
You're right my bad


Title: Re: RBF a CPFP
Post by: TryNinja on May 19, 2019, 11:06:12 PM
If you own both address and those wallet lets you do rbf and spend unconfirmed transaction then it's possible. I tried it just now on electrum since the network isn't busy at the moment.
Correction: he only has to be the one spending the coins (sending) to use RBF. Whatever the receiver is.


Title: Re: RBF a CPFP
Post by: nc50lc on May 20, 2019, 02:44:55 AM
-snip-
I know that it is possible to do CPFP again (up to 24 times as far as I know then the 25 will be rejected), but, since I am the sender now, my question is if it is possible to replace by fee the stuck CPFP transaction? Is it possible?
AFAIK, that "24 times" is not the number of "retries" but the number of unconfirmed UTXO chain from the unconfirmed parent transaction. [Issue#9752 (https://github.com/bitcoin/bitcoin/issues/9752)]

Regarding your query, you can use RBF as long as it's flagged as "RBF" by enabling the right settings just as TryNinja said.