Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: nazgulnarsil on July 03, 2011, 10:54:18 PM



Title: Corrupted wallet with 5.8 BTC in it
Post by: nazgulnarsil on July 03, 2011, 10:54:18 PM
anyone want to help me recover this?  there is a reward.


Title: Re: Corrupted wallet with 5.8 BTC in it
Post by: DupingBitCoins on July 03, 2011, 11:09:23 PM
Go to,

C:\Users\YourUserName\AppData\Roaming\Bitcoin

Move the wallet.dat file to your desktop.

Delete everything else on the directory.

Move the wallet.dat file back in the directory.

Start the client.

Reward me: 12C3Pfudc21RDUxfc2K1EvnKNe9Lmnsmzm


Title: Re: Corrupted wallet with 5.8 BTC in it
Post by: nazgulnarsil on July 03, 2011, 11:12:25 PM
lol this is not a trivial problem.  I've tried all the normal stuff, now I need to get bitcoin tools working.


Title: Re: Corrupted wallet with 5.8 BTC in it
Post by: DupingBitCoins on July 03, 2011, 11:15:00 PM
lol this is not a trivial problem.  I've tried all the normal stuff, now I need to get bitcoin tools working.

Not sure if serious.


Title: Re: Corrupted wallet with 5.8 BTC in it
Post by: willphase on July 03, 2011, 11:28:16 PM
I've been playing with wallet.dat recently as part of my android wallet balance viewer, and can probably recover it for you - send me a PM if you want some help.  Don't need any reward.

Will


Title: Re: Corrupted wallet with 5.8 BTC in it
Post by: nazgulnarsil on July 03, 2011, 11:59:38 PM
someone is helping now, thanks for the offer!

dupingcoins, I just hadnt tested whether bitcointools was working with a non corrupted wallet yet.  I did and it was.  have to go in and pull keys manually.  bitcoin tools cant open it.


Title: Re: Corrupted wallet with 5.8 BTC in it
Post by: makomk on July 04, 2011, 01:07:49 PM
dupingcoins, I just hadnt tested whether bitcointools was working with a non corrupted wallet yet.  I did and it was.  have to go in and pull keys manually.  bitcoin tools cant open it.
Eeeeh, I should've released a Windows version of my key recovery utility (http://forum.bitcoin.org/index.php?topic=25091.0) - in theory it can pull keys out of damaged wallet files, not just recover them off drives from which the wallet's been deleted, but I didn't think there'd be enough need for that to justify a Windows release. (For the record: you'd have to run "./wallet-recover <corruped wallet file> recovered-wallet.dat")


Title: Re: Corrupted wallet with 5.8 BTC in it
Post by: flower1024 on July 04, 2011, 05:53:41 PM
try a hex editor (and get help from this thread)

http://forum.bitcoin.org/index.php?topic=8274.0

i'll do the same with my wallet right now.. maybe it helps to extract the key

(be careful anout running sw on your machine or sending the wallet to someone else.. just read the previos' post thread and i am little confused why he requires sudo...MAYBE there is a good reason for this... just be careful)

EDIT: Source seems legit.. just fire up a linux vm, get code from this adress: http://www.makomk.com/gitweb/?p=bitcoin-wallet-recover.git;a=blob;f=main.c;h=07655ee164be59b0847c1248ef2e760e16a4ab66;hb=61093cdbb145d173da03a5670b9fcbdeec5ff82f and compile)

^^ if it works...donate him please ;)


Title: Re: Corrupted wallet with 5.8 BTC in it
Post by: makomk on July 09, 2011, 01:47:15 PM
(be careful anout running sw on your machine or sending the wallet to someone else.. just read the previos' post thread and i am little confused why he requires sudo...MAYBE there is a good reason for this... just be careful)
Sound advice! For the record, the reason I tell people to use sudo in those instructions is because they're for recovering keys from deleted wallet files by bypassing the filesystem and reading data directly off the hard disk, and that requires root access under Linux. If you're just looking to recover keys from a corrupted wallet, you don't need sudo: just point it at the wallet file instead of your hard disk. (Normally I wouldn't provide a pre-compiled binary either but compiling stuff when running off a Live CD is a real pain.)