Author

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

legendary
Activity: 1639
Merit: 1006
November 05, 2015, 01: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)
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)
legendary
Activity: 1639
Merit: 1006
November 04, 2015, 09:18:27 PM
#9
running this from the debug window says method not found

bitcoind -zapwallettxes

legendary
Activity: 1639
Merit: 1006
November 04, 2015, 09:15:10 PM
#8
If you want to remove the transaction from your wallet, you can use the -zapwallettxes command line option:

https://en.bitcoin.it/wiki/Running_Bitcoin
Code:
-zapwallettxes=  Delete all wallet transactions and only recover those part of the blockchain through -rescan on startup


If most nodes have already heard about your first transaction, you may find it difficult to "double spend with a bigger txn fee ahead of this transaction".  Most nodes, miners, and mining pools will refuse to accept the new higher fee transaction while they still have the old transaction in their memory pool.

Even if you remove the transaction from your wallet, it doesn't guarantee that the transaction is "cancelled".  It's possible that a miner (or mining pool) that has already heard about the original transaction will confirm it before it is dropped from everyone's memory pool.

What do I put in
legendary
Activity: 1639
Merit: 1006
November 04, 2015, 09:13:54 PM
#7
If you want to remove the transaction from your wallet, you can use the -zapwallettxes command line option:

https://en.bitcoin.it/wiki/Running_Bitcoin
Code:
-zapwallettxes=  Delete all wallet transactions and only recover those part of the blockchain through -rescan on startup


If most nodes have already heard about your first transaction, you may find it difficult to "double spend with a bigger txn fee ahead of this transaction".  Most nodes, miners, and mining pools will refuse to accept the new higher fee transaction while they still have the old transaction in their memory pool.

Even if you remove the transaction from your wallet, it doesn't guarantee that the transaction is "cancelled".  It's possible that a miner (or mining pool) that has already heard about the original transaction will confirm it before it is dropped from everyone's memory pool.

What are the risks of doing this, can i corrupt my wallet in any way?
legendary
Activity: 3472
Merit: 4801
November 04, 2015, 09:08:32 PM
#6
If you want to remove the transaction from your wallet, you can use the -zapwallettxes command line option:

https://en.bitcoin.it/wiki/Running_Bitcoin
Code:
-zapwallettxes=  Delete all wallet transactions and only recover those part of the blockchain through -rescan on startup


If most nodes have already heard about your first transaction, you may find it difficult to "double spend with a bigger txn fee ahead of this transaction".  Most nodes, miners, and mining pools will refuse to accept the new higher fee transaction while they still have the old transaction in their memory pool.

Even if you remove the transaction from your wallet, it doesn't guarantee that the transaction is "cancelled".  It's possible that a miner (or mining pool) that has already heard about the original transaction will confirm it before it is dropped from everyone's memory pool.
staff
Activity: 3458
Merit: 6793
Just writing some code
November 04, 2015, 08:57:05 PM
#5
I have some unconfirmed transactions that are sitting for hours. I want them gone, what can i do?

5b788baaf29eb5da59b01704179d5ebfb05f0ea3dea79482b76984b2001a7c4c-000

I don't want it pushed, i want it gone....

What wallet did you send the transaction from?

Can I get my address private key off bitcoin-qt? 

Thinking a second strategy is to double spend with a bigger txn fee ahead of this transaction. If i can import my key into blockchain or some other wallet service i can double spend from there i think....

Open up the debug console, Help > Debug Window > console tab and then type into the box
Code:
dumpprivkey 
Where
is the address whose private key you want.

If the wallet has a password on it, do
Code:
walletpassphrase  120
where is the passphrase to your wallet BEFORE the command above. This will unlock your for 120 seconds so in that time you need to do the dumpprivkey to get the private key in Wallet Import Format.
legendary
Activity: 1639
Merit: 1006
November 04, 2015, 08:52:41 PM
#4
I have some unconfirmed transactions that are sitting for hours. I want them gone, what can i do?

5b788baaf29eb5da59b01704179d5ebfb05f0ea3dea79482b76984b2001a7c4c-000

I don't want it pushed, i want it gone....

What wallet did you send the transaction from?

Can I get my address private key off bitcoin-qt? 

Thinking a second strategy is to double spend with a bigger txn fee ahead of this transaction. If i can import my key into blockchain or some other wallet service i can double spend from there i think....
legendary
Activity: 1639
Merit: 1006
November 04, 2015, 08:51:19 PM
#3
I have some unconfirmed transactions that are sitting for hours. I want them gone, what can i do?

5b788baaf29eb5da59b01704179d5ebfb05f0ea3dea79482b76984b2001a7c4c-000

I don't want it pushed, i want it gone....

What wallet did you send the transaction from?

From Bitcoin-qt
legendary
Activity: 3472
Merit: 4801
November 04, 2015, 08:47:07 PM
#2
I have some unconfirmed transactions that are sitting for hours. I want them gone, what can i do?

5b788baaf29eb5da59b01704179d5ebfb05f0ea3dea79482b76984b2001a7c4c-000

I don't want it pushed, i want it gone....

What wallet did you send the transaction from?
legendary
Activity: 1639
Merit: 1006
November 04, 2015, 08:35:27 PM
#1
I have some unconfirmed transactions that are sitting for hours. I want them gone, what can i do?

5b788baaf29eb5da59b01704179d5ebfb05f0ea3dea79482b76984b2001a7c4c-000

I don't want it pushed, i want it gone....
Jump to: