'BITCOIN : wallet.dat corrupt, salvage failed
trying to recover an older wallet, Get the error message :
wallet.dat corrupt, salvage failed
No clue what it means or how I can solve it. Any advice is appreciated.
regards Adrian
Solution 1:[1]
You need to run the client with the -salvagewallet command-line option which moves any existing wallet.dat to wallet.[timestamp].dat and then attempts to salvage public/private keys and master encryption keys (if the wallet is encrypted) into a new wallet.dat. Once you have your keys in place you can import them into a fresh copy of bitcoin and recover your balance.
Solution 2:[2]
Try to get SpinRite ( https://www.grc.com/sr/spinrite.htm ) and run on your computer. Now there is no guarantees, but perhaps you luck out!
Also I assume you are talking about PC and you are using hard drive and not SSD.
Solution 3:[3]
Try this python script https://github.com/jackjack-jj/pywallet
Dump the wallet with pywallet to extract the private keys:
python pywallet.py –dumpwallet -datadir="yourpath" > wallet.text --passphrase= PASSPHRASE
or this other one
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | MeIr |
| Solution 3 |
