Post
Topic
Board Bitcoin Technical Support
Re: Corrupted wallet.dat
by
nc50lc
on 05/05/2024, 03:59:29 UTC
Has there been any progress on this?  I've gone through the CLI, but got an error output of:
-snip-
All hope lost in recovering this?
Through Bitcoin Core and its tools? No since you've already tried "salvage" and it can't do anything.
Try the other options like pywallet or other tools that can search for raw private keys from a file or directory and hope that there are intact data from your corrupted wallet file.

For pywallet (link), use --recover command on a disk (preferably a small partition) where a copy of your "untouched" wallet.dat is located.
Example command is:
Code:
python pywallet.py --recover --recov_device="RECOVERY_DIRECTORY" --recov_size=1Gio --recov_outputdir="OUTPUT_DIRECTORY"
Edit "RECOVERY_DIRECTORY" and "OUTPUT_DIRECTORY" accordingly.