Bitcoin Forum
May 10, 2024, 07:45:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to CPFP with Bitcoin Core? [RESOLVED]  (Read 112 times)
ninor (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
April 27, 2024, 08:34:30 PM
Last edit: April 28, 2024, 01:04:44 PM by ninor
 #1

Hey guys, hope you can help me out.
I have a bunch of coins stuck since April '23.. received in a Bitcoin Core wallet with transactions paying only 1 sat/vb. They do not signal RBF, so I can't raise their fees with that method in Core's GUI.
Is there a way to solve this issue, perhaps without going through the command line?
Thank you.
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715370330
Hero Member
*
Offline Offline

Posts: 1715370330

View Profile Personal Message (Offline)

Ignore
1715370330
Reply with quote  #2

1715370330
Report to moderator
1715370330
Hero Member
*
Offline Offline

Posts: 1715370330

View Profile Personal Message (Offline)

Ignore
1715370330
Reply with quote  #2

1715370330
Report to moderator
1715370330
Hero Member
*
Offline Offline

Posts: 1715370330

View Profile Personal Message (Offline)

Ignore
1715370330
Reply with quote  #2

1715370330
Report to moderator
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2970


Block halving is coming.


View Profile WWW
April 27, 2024, 10:13:21 PM
 #2

I think you can do that by just enabling the unconfirmed change on the settings but I don't know if it will work on the output that came from other wallets.

However, in case if it does not work you can generate a PSBT transaction from Electrum just import the BTC address from your Bitcoin core wallet to Electrum and then make a transaction there and send it to any address or send it to the same address(Your BTC address) once you created a transaction save it into .PSBT and sign it to your Bitcoin core wallet and broadcast the transaction.

I never done this before but I think this will work.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BlackBoss_
Sr. Member
****
Offline Offline

Activity: 630
Merit: 403


Rollbit - the casino for you. Take $RLB token!


View Profile
April 28, 2024, 02:00:10 AM
 #3

Importing your private keys into Electrum wallet
[TUTORIAL]getting a low-fee transaction unstuck by creating a CPFP with electrum

Two guides to do that, first import your private key from Bitcoin Core wallet to Electrum wallet, then use Child Pay For Parents with Electrum wallet.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT|
4,000+ GAMES
███████████████████
██████████▀▄▀▀▀████
████████▀▄▀██░░░███
██████▀▄███▄▀█▄▄▄██
███▀▀▀▀▀▀█▀▀▀▀▀▀███
██░░░░░░░░█░░░░░░██
██▄░░░░░░░█░░░░░▄██
███▄░░░░▄█▄▄▄▄▄████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█████████
▀████████
░░▀██████
░░░░▀████
░░░░░░███
▄░░░░░███
▀█▄▄▄████
░░▀▀█████
▀▀▀▀▀▀▀▀▀
█████████
░░░▀▀████
██▄▄▀░███
█░░█▄░░██
░████▀▀██
█░░█▀░░██
██▀▀▄░███
░░░▄▄████
▀▀▀▀▀▀▀▀▀
|
██░░░░░░░░░░░░░░░░░░░░░░██
▀█▄░▄▄░░░░░░░░░░░░▄▄░▄█▀
▄▄███░░░░░░░░░░░░░░███▄▄
▀░▀▄▀▄░░░░░▄▄░░░░░▄▀▄▀░▀
▄▄▄▄▄▀▀▄▄▀▀▄▄▄▄▄
█░▄▄▄██████▄▄▄░█
█░▀▀████████▀▀░█
█░█▀▄▄▄▄▄▄▄▄██░█
█░█▀████████░█
█░█░██████░█
▀▄▀▄███▀▄▀
▄▀▄
▀▄▄▄▄▀▄▀▄
██▀░░░░░░░░▀██
||.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀
███▀▄▀█████████████████▀▄▀
█████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀
███████▀▄▀██████░█▄▄▄▄▄▄▄▄
█████████▀▄▄░███▄▄▄▄▄▄░▄▀
███████████░███████▀▄▀
███████████░██▀▄▄▄▄▀
███████████░▀▄▀
████████████▄▀
███████████
▄▄███████▄▄
▄████▀▀▀▀▀▀▀████▄
▄███▀▄▄███████▄▄▀███▄
▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄
▄██▄██████▀████░███▄██▄
███░████████▀██░████░███
███░████░█▄████▀░████░███
███░████░███▄████████░███
▀██▄▀███░█████▄█████▀▄██▀
▀██▄▀█▄▄▄██████▄██▀▄██▀
▀███▄▀▀███████▀▀▄███▀
▀████▄▄▄▄▄▄▄████▀
▀▀███████▀▀
OFFICIAL PARTNERSHIP
FAZE CLAN
SSC NAPOLI
|
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5594


Self-proclaimed Genius


View Profile
April 28, 2024, 05:27:38 AM
 #4

I have a bunch of coins stuck since April '23.. received in a Bitcoin Core wallet with transactions paying only 1 sat/vb. They do not signal RBF, so I can't raise their fees with that method in Core's GUI.
Even with opt-in RBF flag, you still wont have the authority to use "Increase transaction fee" menu to those transactions since you're the receiver.
Your option is to CPFP that the wallet part of Bitcoin Core can't do directly.
You'll need to use commands and precise computation of amounts and fee: en.bitcoin.it/wiki/Fee_bumping#I_received_the_stuck_transaction

Or do BitMaxz's suggestion to import the address(es) to Electrum to create a CPFP unsigned transaction, export the PSBT file/string via "Share" button.
Import it to Bitcoin Core via "File->Load PSBT from..." menu, sign and broadcast it.


You can also ask the sender to replace those once dropped from his mempool. (if he's using the default size and there too many transactions in it)
He can do this if he's using Bitcoin Core: the moment their status turn "0/unconfirmed, not in memory pool", right-click on the transaction and select "Abandon Transaction".
His overall balance should update accordingly. Then 'Enable coin control features' in "Settings->Options", 'Wallet' tab.
In the 'Send' tab, click "Inputs..." select the inputs of the abandoned transactions and send with higher transaction fee.
(this is for the sender, not the receiver)

But it's better if you can share the transaction IDs because these suggestions may not be enough in some cases, like of long chain of large 1sat/vB transactions.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16631


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 28, 2024, 07:29:54 AM
Merited by hugeblack (1)
 #5

I think you can do that by just enabling the unconfirmed change on the settings but I don't know if it will work on the output that came from other wallets.
That doesn't work: Bitcoin Core doesn't allow to send unconfirmed incoming coins in the GUI. But as far as I know it's possible from the command line. The only time I needed to use CPFP from Bitcoin Core, I exported the private key, imported it into Electrum, and made the transaction. But, in this case, since it's been a year, that transaction won't show up in Electrum.

you can generate a PSBT transaction from Electrum just import the BTC address from your Bitcoin core wallet to Electrum and then make a transaction there
The 1 year old 1 sat/vbyte transaction won't show up in Electrum.

ninor (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
April 28, 2024, 12:59:32 PM
 #6

I think you can do that by just enabling the unconfirmed change on the settings but I don't know if it will work on the output that came from other wallets.

As said by LoyceV that's not possible unfortunately.

However, in case if it does not work you can generate a PSBT transaction from Electrum just import the BTC address from your Bitcoin core wallet to Electrum and then make a transaction there and send it to any address or send it to the same address(Your BTC address) once you created a transaction save it into .PSBT and sign it to your Bitcoin core wallet and broadcast the transaction.

This instead worked. It was quite easy also. Thank you!
ninor (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
April 28, 2024, 01:06:12 PM
 #7

Importing your private keys into Electrum wallet
[TUTORIAL]getting a low-fee transaction unstuck by creating a CPFP with electrum

Two guides to do that, first import your private key from Bitcoin Core wallet to Electrum wallet, then use Child Pay For Parents with Electrum wallet.

Handling private keys directly could be very risky, fortunately it was possible to resolve this without touching them. Thanks for the resources anyway!
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16631


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 28, 2024, 01:30:54 PM
 #8

import the BTC address from your Bitcoin core wallet to Electrum and then make a transaction
This instead worked.
How? You're talking about a transaction from a year ago that pays 1 sat/vbyte, while the purging limit is 6.21 sat/vbyte.

ninor (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 1


View Profile
April 28, 2024, 02:06:03 PM
Merited by LoyceV (1)
 #9

import the BTC address from your Bitcoin core wallet to Electrum and then make a transaction
This instead worked.
How? You're talking about a transaction from a year ago that pays 1 sat/vbyte, while the purging limit is 6.21 sat/vbyte.

I pointed Electrum to my node which has a non-default mempool, so it's not purging anything at the moment. It almost certainly wouldn't have shown them to me otherwise. Even if for example on mempool.space these transactions appear only a few weeks or months old, so who knows
Cookdata
Hero Member
*****
Offline Offline

Activity: 938
Merit: 876


Not Your Keys, Not Your Bitcoin


View Profile
May 02, 2024, 08:42:38 AM
 #10

How? You're talking about a transaction from a year ago that pays 1 sat/vbyte, while the purging limit is 6.21 sat/vbyte.

Give me a clear possibility of this scenario.

When you made that reply, the purging limit was around 6.21 sat/vbytes and as I'm writing, the purge limit is 4.04sat/vbyte, supposed I have a transaction on the mempool with 3.9 sats/vbytes, does this transaction get purge immediately if the purge limit goes << 3.9 sats/vbytes or it takes two weeks before it drops mempool.

Another question: What if I have my transaction broadcasted by wallet that periodically rebroadcast the same transaction of 3.9 sats/vbytes, will mempool.space node accept my transaction or they reject it instantly because of the purge condition?

LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16631


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
May 02, 2024, 08:57:30 AM
 #11

~ supposed I have a transaction on the mempool with 3.9 sats/vbytes, does this transaction get purge immediately if the purge limit goes << 3.9 sats/vbytes or it takes two weeks before it drops mempool.
At default settings, that transaction should be dropped immediately. But every node can use their own mempool settings. That's how mempool.space knows there's a total of "1.10 GB / 300 MB" mempool data.

Quote
Another question: What if I have my transaction broadcasted by wallet that periodically rebroadcast the same transaction of 3.9 sats/vbytes, will mempool.space node accept my transaction or they reject it instantly because of the purge condition?
I think mempool.space keeps them all. But being accepted in a certain mempool doesn't mean anything: you need a miner to include the transaction into a block.

Cricktor
Hero Member
*****
Offline Offline

Activity: 756
Merit: 1118


Crypto Swap Exchange


View Profile
May 02, 2024, 07:46:02 PM
 #12

Another question: What if I have my transaction broadcasted by wallet that periodically rebroadcast the same transaction of 3.9 sats/vbytes, will mempool.space node accept my transaction or they reject it instantly because of the purge condition?

You can broadcast your transaction as often you want. The question is: do your node's peers drop it immediately because it's below their purge limit? Will your transaction ever reach mempool.space's node(s)? You could be lucky that some of your peers have a large mempool with a very low purge limit and maybe your peer's peers are in the same camp. There's a statistical chance that your transaction may be seen by mempool.space. I wouldn't count on it, unless you verified.

I haven't heard of any publicly known Bitcoin node addresses of mempool.space (they publish their Lightning node addresses).

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!