Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: lakzo on February 07, 2013, 09:29:40 PM



Title: 0/unconfirmed transaction need deleted
Post by: lakzo on February 07, 2013, 09:29:40 PM
Can anyone walk me through on downloading/running/using pywallet for Mac?  I need an unconfirmed transaction deleted and i've looked at about every single topic regarding pywallet, and yet i'm still really confused.  I sent a 13-something transaction to BTCjam the other day and about 11 of those coins were 'real'--the other were the result of a double-spend.  They haven't been confirmed by the blockchain  yet.  Here's the tx id:

ef6cdd1d0a38be78ccb63cad37dd0e108048e9cc2bb929b71bb61da245415f21

Thanks for the help


Title: Re: 0/unconfirmed transaction need deleted
Post by: cptmooseinc on February 08, 2013, 12:28:43 AM
lazko,

Deleting a specific transaction won't work. You have to delete all of them and then have the bitcoin client re-scan. I deleted just the one and it did not fix the balance issue. I can now confirm that clearing all Txs and having the bitcoin client re-scan does, in fact, restore the proper balance to your wallet.

I can't help you with pywallet for Macs though.


Title: Re: 0/unconfirmed transaction need deleted
Post by: lakzo on February 08, 2013, 01:31:22 AM
lazko,

Deleting a specific transaction won't work. You have to delete all of them and then have the bitcoin client re-scan. I deleted just the one and it did not fix the balance issue. I can now confirm that clearing all Txs and having the bitcoin client re-scan does, in fact, restore the proper balance to your wallet.

I can't help you with pywallet for Macs though.

Rescan isn't redownloading though, correct?


Title: Re: 0/unconfirmed transaction need deleted
Post by: cptmooseinc on February 08, 2013, 02:31:57 AM
No it's not. It just "rescans" the blockchain you have downloaded for any Txs relating to your address. So once you can get Pywallet working, close the BTC-qt client, backup your wallet somewhere, then gut it with Pywallet of all Txs. Once all that's done, just re-open the bitcoin client with the -rescan option and you'll be good to go!


Title: Re: 0/unconfirmed transaction need deleted
Post by: deepceleron on February 08, 2013, 05:49:15 AM
Get a less sucky version of python for mac: http://docs.python.org/2/using/mac.html

Download pywallet by clicking on the blue word pywallet.py on the page https://github.com/joric/pywallet

On the same page, click on the blue word README and read some stuff

Close Bitcoin, back up your wallet.dat

open a console window, change to the directory where you downloaded, type pywallet.py --web

Go to the super-secret web site at http://127.0.0.1:8989/

Under "Delete a key from your wallet:", put in the hash of the transaction you want to delete


Alternately, type "pywallet delete transaction" into Google and go to the first result.


Title: Re: 0/unconfirmed transaction need deleted
Post by: Akka on February 08, 2013, 06:03:24 AM
Or the "simple" solution if you just don't get python.

That's basically the jury rigging solution if you really don't get pywallet.

Backup your wallet, just in case.

Import you wallet to blockchain: https://blockchain.info/de/wallet/import-wallet

Delete you bitcoind wallet.

Start bitcoind new, let it create a new wallet.

Send all you coins from blockchain to your new wallet.

Forget about your old wallet.