Pages:
Author

Topic: any way to cancel an unconfirmed transaction? (Read 5487 times)

legendary
Activity: 1639
Merit: 1006
November 05, 2015, 02:35:29 AM
#30
Found Bitcoin-QT.

First I check the executable is there

from Mac OS dir $ ls
Bitcoin-Qt

Then I run this

Bitcoin-Qt -zapwalletxes

I get this....

-bash: Bitcoin-Qt: command not found

I matched case on the ls, have to be missing something

try

./Bitcoin-Qt -zapwalletxes
You're slow, we already go past that. The problem OP now has is that zapwallettxes is not removing his unconfirmed transactions. I have been thinking about it but I don't know why that is happening.

Ya saw that and deleted it. Hadnt refreshed in a while I guess

I have never used the zapwallet command. I still use gavins bitcointools to remove txes from a wallet. But then we go down the road of getting python installed for op

https://github.com/gavinandresen/bitcointools

EDIT:

Depending on how many addresses you have you could run a "listunspent" then dump the private key for every address with a balance. Then import them to a new wallet. If you have more than a dozen addresses this would just be a pain. Backup both wallets and dont forget to dump the key to the change address from the unconfirmed transactions

I have run zapwalletxes both online and offline if anyone is interested.

I got the private key using the bitcoin-qt debug window on one of the hung txns using. I tried importing that key into another Bitcoin-qt client but it said the the key was not in the acceptable import format. I have no idea how to get such a format.

i can easily get all the keys, but I need a way to format them so i can import them back, strange the format out is not the same as the format in.... or if it is can someone tell me and I will see what i may have done wrong.

legendary
Activity: 1064
Merit: 1002
Found Bitcoin-QT.

First I check the executable is there

from Mac OS dir $ ls
Bitcoin-Qt

Then I run this

Bitcoin-Qt -zapwalletxes

I get this....

-bash: Bitcoin-Qt: command not found

I matched case on the ls, have to be missing something

try

./Bitcoin-Qt -zapwalletxes
You're slow, we already go past that. The problem OP now has is that zapwallettxes is not removing his unconfirmed transactions. I have been thinking about it but I don't know why that is happening.

Ya saw that and deleted it. Hadnt refreshed in a while I guess

I have never used the zapwallet command. I still use gavins bitcointools to remove txes from a wallet. But then we go down the road of getting python installed for op

https://github.com/gavinandresen/bitcointools

EDIT:

Depending on how many addresses you have you could run a "listunspent" then dump the private key for every address with a balance. Then import them to a new wallet. If you have more than a dozen addresses this would just be a pain. Backup both wallets and dont forget to dump the key to the change address from the unconfirmed transactions
staff
Activity: 3458
Merit: 6793
Just writing some code
Found Bitcoin-QT.

First I check the executable is there

from Mac OS dir $ ls
Bitcoin-Qt

Then I run this

Bitcoin-Qt -zapwalletxes

I get this....

-bash: Bitcoin-Qt: command not found

I matched case on the ls, have to be missing something

try

./Bitcoin-Qt -zapwalletxes
You're slow, we already go past that. The problem OP now has is that zapwallettxes is not removing his unconfirmed transactions. I have been thinking about it but I don't know why that is happening.
legendary
Activity: 1639
Merit: 1006
try running it with -zapwallettxes=2 instead of just -zapwallettxes. I'm not sure if that will help.

No change
staff
Activity: 3458
Merit: 6793
Just writing some code
try running it with -zapwallettxes=2 instead of just -zapwallettxes. I'm not sure if that will help.
legendary
Activity: 1639
Merit: 1006
have run three times with the same result....

What is the long and short of this assuming nobody has stolen my private keys....?
legendary
Activity: 1639
Merit: 1006
Added this ./ to the front of Bitcoin-Qt -zapwalletxes

It launched Bitcoin-Qt.... no idea what is happening now.. hopefully launching with a delete on my unconfirmed txns
When everything loads, check the transaction history and all of the unconfirmed transactions that were there should be gone. Then you can shut down bitcoin core and restart it normally. Everything should work and you can then resend all of your transactions.

This did not happen, the most recent transaction is now listed as status "conflicted", no idea what this means....dafuq

The next four transactions are listed as "unconfirmed" still with zero confirmations....

Starting to make me nervous with conflicted status, someone spending my coins.... Sad
staff
Activity: 3458
Merit: 6793
Just writing some code
Added this ./ to the front of Bitcoin-Qt -zapwalletxes

It launched Bitcoin-Qt.... no idea what is happening now.. hopefully launching with a delete on my unconfirmed txns
When everything loads, check the transaction history and all of the unconfirmed transactions that were there should be gone. Then you can shut down bitcoin core and restart it normally. Everything should work and you can then resend all of your transactions.
legendary
Activity: 1639
Merit: 1006
Added this ./ to the front of Bitcoin-Qt -zapwalletxes

It launched Bitcoin-Qt.... no idea what is happening now.. hopefully launching with a delete on my unconfirmed txns
staff
Activity: 3458
Merit: 6793
Just writing some code
Found Bitcoin-QT.

First I check the executable is there

from Mac OS dir $ ls
Bitcoin-Qt

Then I run this

Bitcoin-Qt -zapwalletxes

I get this....

-bash: Bitcoin-Qt: command not found

I matched case on the ls, have to be missing something
run it with ./ before bitcoin-qt.
legendary
Activity: 1639
Merit: 1006
Found Bitcoin-QT.

First I check the executable is there

from Mac OS dir $ ls
Bitcoin-Qt

Then I run this

Bitcoin-Qt -zapwalletxes

I get this....

-bash: Bitcoin-Qt: command not found

I matched case on the ls, have to be missing something
legendary
Activity: 1639
Merit: 1006
Do i need to shutdown my bitcoin-qt client first? navigate to correct directory???
You shouldn't need to navigate to the directory, but bitcoin core needs to be shutdown first.

I did shutdown the client, but getting command not found when I run from Terminal root dir

Looked in /Library/Application Support for Bitcoin directory but cannot find it.... argh

I think it should be in /applications, but I could be wrong. I don't use macs.

It is in /Applications but it has some weird Mac crap going on. the file is Bitcoin-qt.app

Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt

seems to be the target... about to do this thing.. fml
staff
Activity: 3458
Merit: 6793
Just writing some code
Do i need to shutdown my bitcoin-qt client first? navigate to correct directory???
You shouldn't need to navigate to the directory, but bitcoin core needs to be shutdown first.

I did shutdown the client, but getting command not found when I run from Terminal root dir

Looked in /Library/Application Support for Bitcoin directory but cannot find it.... argh

I think it should be in /applications, but I could be wrong. I don't use macs.
legendary
Activity: 1639
Merit: 1006
Do i need to shutdown my bitcoin-qt client first? navigate to correct directory???
You shouldn't need to navigate to the directory, but bitcoin core needs to be shutdown first.

I did shutdown the client, but getting command not found when I run from Terminal root dir

Looked in /Library/Application Support for Bitcoin directory but cannot find it.... argh
staff
Activity: 3458
Merit: 6793
Just writing some code
Do i need to shutdown my bitcoin-qt client first? navigate to correct directory???
You shouldn't need to navigate to the directory, but bitcoin core needs to be shutdown first.
legendary
Activity: 1064
Merit: 1002
running this from the debug window says method not found

bitcoind -zapwallettxes


Just run zapwallettxes (no dash, no bitcoind)

Running Macbook Bitcoin-QT client, from debug window I type  and get

zapwallettxes
Method not found (code -32601)


If you are running the qt you need to start bitcoin-qt if im not mistaken not bitcoind but its been a few years since I used bitcoin-qt

I just confirmed bitcoind accepts -zapwallettxes

try bitcoin-qt -zapwallettxes
legendary
Activity: 1639
Merit: 1006
running this from the debug window says method not found

bitcoind -zapwallettxes


Just run zapwallettxes (no dash, no bitcoind)

Running Macbook Bitcoin-QT client, from debug window I type  and get

zapwallettxes
Method not found (code -32601)

whoops, sorry, you don't run that from the debug window. Actually, go to the terminal and run
Code:
bitcoin-qt -zapwallettxes

Do i need to shutdown my bitcoin-qt client first? navigate to correct directory???
staff
Activity: 3458
Merit: 6793
Just writing some code
running this from the debug window says method not found

bitcoind -zapwallettxes


Just run zapwallettxes (no dash, no bitcoind)

Running Macbook Bitcoin-QT client, from debug window I type  and get

zapwallettxes
Method not found (code -32601)

whoops, sorry, you don't run that from the debug window. Actually, go to the terminal and run
Code:
bitcoin-qt -zapwallettxes
hero member
Activity: 770
Merit: 500
AFAIK, its impossible to cancel an unconfirmed bitcoin transaction and it was the nature of bitcoin. If it was a double spend, it'll automatically been rejected by the node.
legendary
Activity: 1639
Merit: 1006
running this from the debug window says method not found

bitcoind -zapwallettxes


Just run zapwallettxes (no dash, no bitcoind)

Running Macbook Bitcoin-QT client, v0.10.2, from debug window I type  and get

zapwallettxes
Method not found (code -32601)
Pages:
Jump to: