Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: easterstar22 on February 04, 2017, 03:45:06 AM



Title: Corrupted wallet
Post by: easterstar22 on February 04, 2017, 03:45:06 AM
I have an encrypted bitcoin wallet that was corrupted. What are the methods of getting it back? I tried running it through bitcoin core but it just gives an error message, wallet.dat corrupt, salvage failed. I have Windows 10, but the operating system it was created on was Windows 7. I recovered the file but it won't open. I can't figure out how to use pywallet. Is there an easy, simple way to recover the wallet? Is there some downloadable program that could fix it?


Title: Re: Corrupted wallet
Post by: cpfreeplz on February 04, 2017, 03:54:37 AM
Be extremely careful if you're going to download anything to try and recover your coins. There are a ton of fake ones out there where the only purpose is to steal your coins.

Check out this: http://bitcoin.stackexchange.com/questions/43408/how-can-i-fix-corrupted-encrypted-wallet-dat (http://bitcoin.stackexchange.com/questions/43408/how-can-i-fix-corrupted-encrypted-wallet-dat)


Title: Re: Corrupted wallet
Post by: achow101 on February 04, 2017, 04:08:06 AM
Start Bitcoin Core with the -salvagewallet option. See https://achow101.com/2016/07/Bitcoin-Core-Troubleshooting#option-startup for help with that.


Title: Re: Corrupted wallet
Post by: easterstar22 on February 04, 2017, 05:17:55 AM
I tried the salvage option, but I keep getting an error message Method not found (code -32601). I'm not sure if I'm doing it correctly. What exactly do I type?


Title: Re: Corrupted wallet
Post by: achow101 on February 04, 2017, 05:45:44 AM
I tried the salvage option, but I keep getting an error message Method not found (code -32601). I'm not sure if I'm doing it correctly. What exactly do I type?
You did not read the link I gave you. -salvagewallet is not a command that you enter into the debug console. It is a start up option (aka a command line option). You have to stop Bitcoin Core and then start it with that option. Read the instructions at the link I gave you.


Title: Re: Corrupted wallet
Post by: easterstar22 on February 04, 2017, 06:16:53 AM
I followed the instructions and got the error message wallet.dat corrupt, salvage failed. Are there any other methods of getting the private keys?


Title: Re: Corrupted wallet
Post by: Moritz30 on February 05, 2017, 01:54:54 PM
I can try recovering it for you manually however I can't guarantee it will succeed. Please PM me if interested.