- 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...
"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
"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.