Bitcoin Forum
November 06, 2024, 10:17:52 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: any way to cancel an unconfirmed transaction?  (Read 5496 times)
DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 01:35:27 AM
 #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....

Those who hold and those who are without property have ever formed distinct interests in society
DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4801



View Profile
November 05, 2015, 01:47:07 AM
 #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?
DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 01:51:19 AM
 #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

Those who hold and those who are without property have ever formed distinct interests in society
DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 01:52:41 AM
 #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....

Those who hold and those who are without property have ever formed distinct interests in society
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
November 05, 2015, 01:57:05 AM
 #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 <address>
Where <address> is the address whose private key you want.

If the wallet has a password on it, do
Code:
walletpassphrase <passphrase> 120
where <passphrase> 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.

DannyHamilton
Legendary
*
Offline Offline

Activity: 3486
Merit: 4801



View Profile
November 05, 2015, 02:08:32 AM
 #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=<mode>  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.
DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 02:13:54 AM
 #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=<mode>  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?

Those who hold and those who are without property have ever formed distinct interests in society
DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 02:15:10 AM
 #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=<mode>  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 <mode>

Those who hold and those who are without property have ever formed distinct interests in society
DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 02:18:27 AM
 #9

running this from the debug window says method not found

bitcoind -zapwallettxes


Those who hold and those who are without property have ever formed distinct interests in society
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
November 05, 2015, 02:22:35 AM
 #10

running this from the debug window says method not found

bitcoind -zapwallettxes


Just run zapwallettxes (no dash, no bitcoind)

DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 02:24:00 AM
 #11

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)

Those who hold and those who are without property have ever formed distinct interests in society
Rude Boy
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
November 05, 2015, 02:25:17 AM
 #12

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.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
November 05, 2015, 02:25:31 AM
 #13

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

DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 02:28:16 AM
 #14

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???

Those who hold and those who are without property have ever formed distinct interests in society
mullick
Legendary
*
Offline Offline

Activity: 1064
Merit: 1002


View Profile
November 05, 2015, 02:28:58 AM
 #15

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
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
November 05, 2015, 02:30:53 AM
 #16

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.

DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 02:34:55 AM
 #17

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

Those who hold and those who are without property have ever formed distinct interests in society
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
November 05, 2015, 02:37:17 AM
 #18

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.

DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 02:45:42 AM
 #19

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

Those who hold and those who are without property have ever formed distinct interests in society
DieJohnny (OP)
Legendary
*
Offline Offline

Activity: 1639
Merit: 1006


View Profile
November 05, 2015, 02:49:24 AM
 #20

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

Those who hold and those who are without property have ever formed distinct interests in society
Pages: [1] 2 »  All
  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!