You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on May 13, 2022. It is now read-only.
Doublespending a sendpayment sweep, possible? #769
Unfortunately no, there is no code to allow spending of spent coins in JM right now.
You could take the unconfirmed coins at myownaddress and spend them forward with a high fee, to do "Child Pays For Parent". (often abbreviated to CPFP). I have found this effective in the past. The only other thing you could try is to import all the private keys with coins from mixdepth 0 into another wallet and double spend from there, but clearly that's more of a pain.
My bitcoin core node offers an option to abandon transaction. Will it be possible to do the sweep again with a higher fee if I abandon the tx on the node that was set in joinmarket.cfg?
I believe so. However, I seem to remember (this is second hand info; I've never done it) that there is a need for a rescan after doing the zap? Will ping IRC in case anyone knows better.
<arubi> waxwing, if the tx isn't confirmed and dropped then there's no need for rescan, but I think this person should check if their tx was relayed to nodes or not
<oogle> https://chainquery.com/bitcoin-api/abandontransaction
<arubi> if it was then abandoning it wouldn't help because it'll be difficult to double spend anyway. cpfp is the cleanest I think
I tried to join the IRC channel but since Tor is banned from the server it would be complicated right now, so I have to ask here:
What would make the double spend difficult? Technically I just had to do the same sweep command with a raised fee set in the .cfg. Miners won't accept the double spent tx? Miners like CPFP tx more than double spend?
Just the generic problem that you don't know what's in people's mempools right, nor policies, it's not global. (Also if you can possibly avoid it don't do it now, we have historically (and enormously!) high fees (https://anduck.net/bitcoin/fees/)).
Activity
AdamISZ commentedon Dec 19, 2017
Unfortunately no, there is no code to allow spending of spent coins in JM right now.
You could take the unconfirmed coins at
myownaddressand spend them forward with a high fee, to do "Child Pays For Parent". (often abbreviated to CPFP). I have found this effective in the past. The only other thing you could try is to import all the private keys with coins from mixdepth 0 into another wallet and double spend from there, but clearly that's more of a pain.dreboli commentedon Dec 20, 2017
My bitcoin core node offers an option to
abandon transaction. Will it be possible to do the sweep again with a higher fee if I abandon the tx on the node that was set in joinmarket.cfg?AdamISZ commentedon Dec 20, 2017
I believe so. However, I seem to remember (this is second hand info; I've never done it) that there is a need for a rescan after doing the zap? Will ping IRC in case anyone knows better.
AdamISZ commentedon Dec 20, 2017
from IRC:
<arubi> waxwing, if the tx isn't confirmed and dropped then there's no need for rescan, but I think this person should check if their tx was relayed to nodes or not
<oogle> https://chainquery.com/bitcoin-api/abandontransaction
<arubi> if it was then abandoning it wouldn't help because it'll be difficult to double spend anyway. cpfp is the cleanest I think
dreboli commentedon Dec 20, 2017
Rescan wasn't needed.
After abandoning the tx sendpayment.py can see the coins. Haven't tried to broadcast the new tx yet.
dreboli commentedon Dec 20, 2017
I tried to join the IRC channel but since Tor is banned from the server it would be complicated right now, so I have to ask here:
What would make the double spend difficult? Technically I just had to do the same sweep command with a raised fee set in the .cfg. Miners won't accept the double spent tx? Miners like CPFP tx more than double spend?
AdamISZ commentedon Dec 20, 2017
Just the generic problem that you don't know what's in people's mempools right, nor policies, it's not global. (Also if you can possibly avoid it don't do it now, we have historically (and enormously!) high fees (https://anduck.net/bitcoin/fees/)).