Author

Topic: Zap wallet txns in pruned mode? (Read 1082 times)

brand new
Activity: 0
Merit: 0
August 19, 2019, 07:31:54 AM
#16
When you restart the control board choice-walletbroadcast= false you need to put it to avoid it. After approximately 3 days the network was laughing and was processing the transfer. I think with no particular objective in mind, I'm just venting. The Network and RPC rather than the GUI seem to be the aim of Smiley Core. There are more important GUI features to deal with, so no point in bringing up this specific one
member
Activity: 301
Merit: 74
August 18, 2019, 12:08:27 PM
#15
I guess I'm just venting with no specific goal in mind. Smiley

Core's focus seems to be the network and RPC rather than the GUI. There are more important GUI features to deal with, so no point in bringing up this specific one.
staff
Activity: 3458
Merit: 6793
Just writing some code
August 18, 2019, 11:52:33 AM
#14
The clunky interface is still around in the latest version.

"Abandon transaction" should never be grayed out. When it can't work, it should explain why. Or better, automatically stop broadcasting the wallet.
Complaining about it here isn't going to help. Pretty much none of the Bitcoin Core developers read this forum (except for me). If you want to request a feature or change, open an issue in the github repo
member
Activity: 301
Merit: 74
August 18, 2019, 11:40:32 AM
#13
The clunky interface is still around in the latest version.

"Abandon transaction" should never be grayed out. When it can't work, it should explain why. Or better, automatically stop broadcasting the wallet.

-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
February 13, 2017, 07:42:26 AM
#12
Hah the network had the last laugh and processed the transaction after about 3 days anyway.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
February 11, 2017, 08:17:42 PM
#11
Well it is in the mempool and it's 0.13.2 and restarting it doesn't remove it from the mempool... Hmm it could be because I getblocktemplates regularly from the bitcoind... or not :s
Oh, duh, of course its in the mempool, restarting will have the wallet put the transactions back into the mempool on start. You need to set the -walletbroadcast=false command line option when you start it up again in order to prevent that from happening.
That did it. The abandon transaction option was no longer greyed out and now the transaction still appears in the interface but is marked in red and the details say not in mempool, even after restarting. I guess this is enough since theoretically it could still be bouncing around somewhere in the network at large. Thanks!
staff
Activity: 3458
Merit: 6793
Just writing some code
February 11, 2017, 07:54:17 PM
#10
Well it is in the mempool and it's 0.13.2 and restarting it doesn't remove it from the mempool... Hmm it could be because I getblocktemplates regularly from the bitcoind... or not :s
Oh, duh, of course its in the mempool, restarting will have the wallet put the transactions back into the mempool on start. You need to set the -walletbroadcast=false command line option when you start it up again in order to prevent that from happening.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
February 11, 2017, 07:17:28 PM
#9
Weird, I've restarted it a few times, perhaps another node that I have whitelisted elsewhere is submitting the transaction immediately once I restart. I'll try isolating it from the network and doing it.
If you run
Code:
getmempoolentry 

beforehand and it tells you that the transaction is not in the mempool but you still can't abandon it, then there must be something else that is blocking it from being abandoned, but I don't know what that could be.
Well it is in the mempool and it's 0.13.2 and restarting it doesn't remove it from the mempool... Hmm it could be because I getblocktemplates regularly from the bitcoind... or not :s
staff
Activity: 3458
Merit: 6793
Just writing some code
February 11, 2017, 07:13:21 PM
#8
Weird, I've restarted it a few times, perhaps another node that I have whitelisted elsewhere is submitting the transaction immediately once I restart. I'll try isolating it from the network and doing it.
If you run
Code:
getmempoolentry 

beforehand and it tells you that the transaction is not in the mempool but you still can't abandon it, then there must be something else that is blocking it from being abandoned, but I don't know what that could be.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
February 11, 2017, 07:03:38 PM
#7
That's interesting in itself. What else could possibly be blocking it?

Code:
bitcoin-cli abandontransaction XX
error code: -5
error message:
Transaction not eligible for abandonment
Anything that would cause this function: https://github.com/bitcoin/bitcoin/blob/02464da5e4aa8c19d4fff3859dcdee822e2af78c/src/wallet/wallet.cpp#L1052 to return false. So it seems the only criteria are that the transaction is not in the mempool and it is not confirmed. So clearing the mempool by restarting the node should work (if you are using any version greater than 0.13.2 i.e. a build of master, then you need to delete mempool.dat in the datadir).
Weird, I've restarted it a few times, perhaps another node that I have whitelisted elsewhere is submitting the transaction immediately once I restart. I'll try isolating it from the network and doing it.
staff
Activity: 3458
Merit: 6793
Just writing some code
February 11, 2017, 07:02:01 PM
#6
That's interesting in itself. What else could possibly be blocking it?

Code:
bitcoin-cli abandontransaction XX
error code: -5
error message:
Transaction not eligible for abandonment
Anything that would cause this function: https://github.com/bitcoin/bitcoin/blob/02464da5e4aa8c19d4fff3859dcdee822e2af78c/src/wallet/wallet.cpp#L1052 to return false. So it seems the only criteria are that the transaction is not in the mempool and it is not confirmed. So clearing the mempool by restarting the node should work (if you are using any version greater than 0.13.2 i.e. a build of master, then you need to delete mempool.dat in the datadir).
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
February 11, 2017, 06:57:24 PM
#5
Abandon transaction is greyed out so presumably it's subject to the same limitations as zap.
No, that means that something else is blocking it from being abandoned. I'm pretty sure it still works in pruned mode as I'm pretty sure I did it before.
That's interesting in itself. What else could possibly be blocking it?

Code:
bitcoin-cli abandontransaction XX
error code: -5
error message:
Transaction not eligible for abandonment
staff
Activity: 3458
Merit: 6793
Just writing some code
February 11, 2017, 06:45:39 PM
#4
Abandon transaction is greyed out so presumably it's subject to the same limitations as zap.
No, that means that something else is blocking it from being abandoned. I'm pretty sure it still works in pruned mode as I'm pretty sure I did it before.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
February 11, 2017, 06:35:35 PM
#3
Right click the transaction and choose "Abandon transaction" or use the abandontransaction command in the rpc console.

Or you can use something like pywallet and remove the transaction from your wallet file manually.
Abandon transaction is greyed out so presumably it's subject to the same limitations as zap.
staff
Activity: 3458
Merit: 6793
Just writing some code
February 11, 2017, 06:34:21 PM
#2
Right click the transaction and choose "Abandon transaction" or use the abandontransaction command in the rpc console.

Or you can use something like pywallet and remove the transaction from your wallet file manually.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
February 11, 2017, 05:20:22 PM
#1
Since -zapwallettxes implies -rescan, it means its use is effectively mutually exclusive of using pruned mode. Does anyone have any suggestions for a workaround without redownloading the whole blockchain again?
Jump to: