Pages:
Author

Topic: [GUIDE] Delete your 0/unconfirmed transactions in 30 seconds (Read 50039 times)

jr. member
Activity: 70
Merit: 1
 If I was talking about 0.0x BTC's I wouldn't have really lost much but I am talking about more than half a bitcoin is stuck. I checked the Transaction ID on blockchain.info and it doesn't show up there.
newbie
Activity: 3
Merit: 0
Is it applicable to electrum wallet as well? I have two unconfirmed low fees transactions in my electrum wallet. I would like to cancel them. Please help.
newbie
Activity: 2
Merit: 0
Hello my friends,

To begin sorry for my bad English, I'm French :-)

I read all the posts but I don't understand some things.

I made a transaction with low fees (250) from Copay to Binnance. I never used Bitcoin core. Since 1 week the transaction is unconfirmed.

My money was sent from copay, so I can't use bitcoin core to recover this transaction? I tried to send my private key to bitcoin core but it doesn't work.

Can I change my wallet from copay to bitcoin core to use the "recovery tutorial" in bitcoin core?

Thanks, sorry for the inconvenience
newbie
Activity: 13
Merit: 0
I was having issue with low fee transaction.  Did a double spend and after 2 weeks still no confirmation, and bitcoin balance was off in wallet.  Deleted the mempool.dat file in bitcoin folder and entered -zapwallettxes=2 in the bitcoin-qt shortcut (backed up wallet first) and transaction eliminated from core and bitcoin balance restored to correct amount.
hero member
Activity: 533
Merit: 500
Hi sorry for bumping this but I have some 0 / Unconfirmed transactions on my wallet.  I have tried the -zap option and sure enough, it does remove them and restore the balance temporarily in my Core wallet.  But then it seems to catch up with the network and the transactions reappear (maybe because they're still in memory pool elsewhere).  I can definitely see them on Blockchain TXID as being 0 / Unconfirmed and unspent.  I've heard people say 3-5 days but how long should I wait once I zapped the Core to ensure that I'm going forward with higher fee-paid transactions with the "reclaimed" coins and not risking a double spend on the network with my coins? 

Is not touching Core for 3 days enough?  A week?  Thanks!
member
Activity: 73
Merit: 10
Crypto Investor
Ultimate way to delete your forever unconfirmed transactions


  • Backup your wallet just in case
  • Download Pywallet
  • Run './pywallet.py --web'
  • Go to http://localhost:8989 in your browser
  • Fill the Delete form like this:

    • Wallet Directory: /your/wallet/directory
    • Wallet Filename: yourwalletfilename
    • Key: all
    • Type: leave 'Transaction'

  • Click the Delete button
  • Run 'bitcoin -rescan'
  • Done, no more unconfirmed tx's

Hey,

I just try to follow this instruction... but got problems.

I downloaded pywallet and run pywallet.py --web. If I run it it wants to download a file called "pywallet.py" which I did...
But what to do now?

If I type in http://localhost:8989 in my brower I just get a message that it is not available.

Does my wallet needs to be open at the time I do this?


how about just start core with -zapwallettxes ? the unconfirmed tx will be gone.

My unconfirmed transaction was 100% restored after opening bitcoin-qt with the following command...
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes

There was no need to install any additional programs. The functionality is built into bitcoin-qt.

For the uninitiated, here's how to run the command above on Windows... (note: this will only work for bitcoin-qt v9+)
  • Open your Bitcoin Core wallet (bitcoin-qt.exe).
  • Make a backup of your wallet, just in case [File > Backup Wallet].
  • Close Bitcoin-qt (don't just minimise it, close it).
  • Make a new shortcut or copy your existing bitcoin-qt shortcut.
  • Right-click the new copy of the shortcut and choose Properties.
  • Add " -zapwallettxes" (with a space and without quotes) to the end of the existing 'Target' field (see the command above - your path may be different, so just leave your path as it is).
  • Click OK to save and close the properties window.
  • You can now open your Bitcoin Core wallet using this new shortcut. After it opens, you should see "rescanning network XX%".
  • Done! Your unconfirmed bitcoin should now appear in the balance area.
  • Close your wallet.
  • Delete the shortcut you just created to prevent accidentally using it again.
  • Open your wallet using the original shortcut.

The lesson: Don't be a potato and send your transactions with zero fees!

If I have missed something, please let me know.





Actually the easiest way on Windows (assuming Bitcoin is installed in default location) can be boiled down to simply:

  • Backup Wallet (always before messing with your wallet)
  • Start->Run->type "cmd" -> hit enter, a black command prompt window should appear
  • Type
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes
    in the window and hit enter

No need to mess with shortcuts or anything, this will launch the GUI one time using the -zapwallettxes flag which is what you want in this case.


Does someone knows how to do that on mac ? I'm using bitcoin core 0.12.1

In Terminal type: open -a bitcoin-qt.app --args -zapwallettxes
newbie
Activity: 2
Merit: 0

I have pywallet with gnuwin32 and pywallet.py with python, but when I click on them they start, show a syntax error for seconds and the program close again.

Here is a screen of the error I got:
https://www.dropbox.com/s/lw71w8mw33fb27y/pywalletsyntaxerror.jpg?dl=0


What is wrong?
newbie
Activity: 9
Merit: 0

i make it so and it works fine( Grin ) with the command : "C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes  

but i got this message from bitcoin qt: "Urgent: Alert key compromised upgrade required" Shocked Huh
That message is completely unrelated to this thread and to the broader topic at hand. See https://bitcoin.org/en/alert/2016-11-01-alert-retirement for information about that message.

thank you i see that i use in this case core 0.12.0 because of this i got the message Wink
staff
Activity: 3458
Merit: 6793
Just writing some code

i make it so and it works fine( Grin ) with the command : "C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes  

but i got this message from bitcoin qt: "Urgent: Alert key compromised upgrade required" Shocked Huh
That message is completely unrelated to this thread and to the broader topic at hand. See https://bitcoin.org/en/alert/2016-11-01-alert-retirement for information about that message.
newbie
Activity: 9
Merit: 0

i make it so and it works fine( Grin ) with the command : "C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes  

but i got this message from bitcoin qt: "Urgent: Alert key compromised upgrade required" Shocked Huh
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
Sorry for the bump but are you guys aware of the fact that people might scam with that method? A lot of people do not know that it is possible to "delete" unconfirmed transactions, so they might give the goods or whatever before it gets confirmed. Or do I miss something here?

You're right and people have scammed with this method. But people have been warned not to trust unconfirmed transactions.

Aren't there any aspirations in the Bitcoin community to prevent this?



Deleted that post because I realized ranochigo already replied to you (didn't get a user-have-posted warning like usual). He's correct and have explained it better.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
I just understood the half of your answer but shouldn't it be possible to apply what the original poster described, wait a week and then spend the funds?
Rebroadcast it continually. If the transaction remains in the mempool, it is hard to double spend, provided that it doesn't have opt-in RBF flagged.

Else, check if the person included a reasonable fee. It would be stupid to accept a transaction that pays 0.0001BTC/KB when it is obvious that the transaction needs at least 0.0005BTC/KB to be confirmed in a reasonable timeframe.

Aren't there any aspirations in the Bitcoin community to prevent this?
Read my comment.

Anyway, if I were to include insufficient fee for transaction X, do I wait for it to confirm in a really long time? It doesn't make a whole lot of sense. There's a reason why we only accept 0 confirmations for transactions with low value.
newbie
Activity: 4
Merit: 0
Sorry for the bump but are you guys aware of the fact that people might scam with that method? A lot of people do not know that it is possible to "delete" unconfirmed transactions, so they might give the goods or whatever before it gets confirmed. Or do I miss something here?

You're right and people have scammed with this method. But people have been warned not to trust unconfirmed transactions.

Aren't there any aspirations in the Bitcoin community to prevent this?

newbie
Activity: 4
Merit: 0
Sorry for the bump but are you guys aware of the fact that people might scam with that method? A lot of people do not know that it is possible to "delete" unconfirmed transactions, so they might give the goods or whatever before it gets confirmed. Or do I miss something here?
It's not that easy. If you were to try to replace a transaction, nodes that has a transaction which spends that UXTO will reject it. Hence, the probability of nodes relaying and propagating them is very low.

However, it is very possible with opt-in RBF. Nodes can be configured to accept and relay transactions which spends the same UXTO as another transaction in the mempool and has Opt-in RBF flagged.

If you are dealing with huge amount of BTC, wait for at least a confirmation. It's that simple.

Tl,dr; it isn't super easy.

I just understood the half of your answer but shouldn't it be possible to apply what the original poster described, wait a week and then spend the funds?
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
Sorry for the bump but are you guys aware of the fact that people might scam with that method? A lot of people do not know that it is possible to "delete" unconfirmed transactions, so they might give the goods or whatever before it gets confirmed. Or do I miss something here?
It's not that easy. If you were to try to replace a transaction, nodes that has a transaction which spends that UXTO will reject it. Hence, the probability of nodes relaying and propagating them is very low.

However, it is very possible with opt-in RBF. Nodes can be configured to accept and relay transactions which spends the same UXTO as another transaction in the mempool and has Opt-in RBF flagged.

If you are dealing with huge amount of BTC, wait for at least a confirmation. It's that simple.

Tl,dr; it isn't super easy.
newbie
Activity: 4
Merit: 0
Sorry for the bump but are you guys aware of the fact that people might scam with that method? A lot of people do not know that it is possible to "delete" unconfirmed transactions, so they might give the goods or whatever before it gets confirmed. Or do I miss something here?
member
Activity: 73
Merit: 10
Crypto Investor
Also key -salvagewallet works.
newbie
Activity: 41
Merit: 0
Does someone knows how to do that on mac ? I'm using bitcoin core 0.12.1

Follow this for on mac
http://www.wikihow.com/Get-to-the-Command-Line-on-a-Mac
newbie
Activity: 41
Merit: 0
Ultimate way to delete your forever unconfirmed transactions


  • Backup your wallet just in case
  • Download Pywallet
  • Run './pywallet.py --web'
  • Go to http://localhost:8989 in your browser
  • Fill the Delete form like this:

    • Wallet Directory: /your/wallet/directory
    • Wallet Filename: yourwalletfilename
    • Key: all
    • Type: leave 'Transaction'

  • Click the Delete button
  • Run 'bitcoin -rescan'
  • Done, no more unconfirmed tx's

Hey,

I just try to follow this instruction... but got problems.

I downloaded pywallet and run pywallet.py --web. If I run it it wants to download a file called "pywallet.py" which I did...
But what to do now?

If I type in http://localhost:8989 in my brower I just get a message that it is not available.

Does my wallet needs to be open at the time I do this?


how about just start core with -zapwallettxes ? the unconfirmed tx will be gone.

My unconfirmed transaction was 100% restored after opening bitcoin-qt with the following command...
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes

There was no need to install any additional programs. The functionality is built into bitcoin-qt.

For the uninitiated, here's how to run the command above on Windows... (note: this will only work for bitcoin-qt v9+)
  • Open your Bitcoin Core wallet (bitcoin-qt.exe).
  • Make a backup of your wallet, just in case [File > Backup Wallet].
  • Close Bitcoin-qt (don't just minimise it, close it).
  • Make a new shortcut or copy your existing bitcoin-qt shortcut.
  • Right-click the new copy of the shortcut and choose Properties.
  • Add " -zapwallettxes" (with a space and without quotes) to the end of the existing 'Target' field (see the command above - your path may be different, so just leave your path as it is).
  • Click OK to save and close the properties window.
  • You can now open your Bitcoin Core wallet using this new shortcut. After it opens, you should see "rescanning network XX%".
  • Done! Your unconfirmed bitcoin should now appear in the balance area.
  • Close your wallet.
  • Delete the shortcut you just created to prevent accidentally using it again.
  • Open your wallet using the original shortcut.

The lesson: Don't be a potato and send your transactions with zero fees!

If I have missed something, please let me know.





Actually the easiest way on Windows (assuming Bitcoin is installed in default location) can be boiled down to simply:

  • Backup Wallet (always before messing with your wallet)
  • Start->Run->type "cmd" -> hit enter, a black command prompt window should appear
  • Type
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes
    in the window and hit enter

No need to mess with shortcuts or anything, this will launch the GUI one time using the -zapwallettxes flag which is what you want in this case.


Just writing to say thanks, I have just got back over 0.03 from numourous transactions that i had where i had not paid enough of a fee so they were just sitting there with no confirmations.

The above method of doing through command prompt works super easy.

Once again, THANK YOU
newbie
Activity: 14
Merit: 0
Ultimate way to delete your forever unconfirmed transactions


  • Backup your wallet just in case
  • Download Pywallet
  • Run './pywallet.py --web'
  • Go to http://localhost:8989 in your browser
  • Fill the Delete form like this:

    • Wallet Directory: /your/wallet/directory
    • Wallet Filename: yourwalletfilename
    • Key: all
    • Type: leave 'Transaction'

  • Click the Delete button
  • Run 'bitcoin -rescan'
  • Done, no more unconfirmed tx's

Hey,

I just try to follow this instruction... but got problems.

I downloaded pywallet and run pywallet.py --web. If I run it it wants to download a file called "pywallet.py" which I did...
But what to do now?

If I type in http://localhost:8989 in my brower I just get a message that it is not available.

Does my wallet needs to be open at the time I do this?


how about just start core with -zapwallettxes ? the unconfirmed tx will be gone.

My unconfirmed transaction was 100% restored after opening bitcoin-qt with the following command...
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes

There was no need to install any additional programs. The functionality is built into bitcoin-qt.

For the uninitiated, here's how to run the command above on Windows... (note: this will only work for bitcoin-qt v9+)
  • Open your Bitcoin Core wallet (bitcoin-qt.exe).
  • Make a backup of your wallet, just in case [File > Backup Wallet].
  • Close Bitcoin-qt (don't just minimise it, close it).
  • Make a new shortcut or copy your existing bitcoin-qt shortcut.
  • Right-click the new copy of the shortcut and choose Properties.
  • Add " -zapwallettxes" (with a space and without quotes) to the end of the existing 'Target' field (see the command above - your path may be different, so just leave your path as it is).
  • Click OK to save and close the properties window.
  • You can now open your Bitcoin Core wallet using this new shortcut. After it opens, you should see "rescanning network XX%".
  • Done! Your unconfirmed bitcoin should now appear in the balance area.
  • Close your wallet.
  • Delete the shortcut you just created to prevent accidentally using it again.
  • Open your wallet using the original shortcut.

The lesson: Don't be a potato and send your transactions with zero fees!

If I have missed something, please let me know.





Actually the easiest way on Windows (assuming Bitcoin is installed in default location) can be boiled down to simply:

  • Backup Wallet (always before messing with your wallet)
  • Start->Run->type "cmd" -> hit enter, a black command prompt window should appear
  • Type
Code:
"C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes
    in the window and hit enter

No need to mess with shortcuts or anything, this will launch the GUI one time using the -zapwallettxes flag which is what you want in this case.


Does someone knows how to do that on mac ? I'm using bitcoin core 0.12.1
Pages:
Jump to: