Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: JohnnyOPus on April 11, 2019, 04:35:03 PM



Title: Wallet.dat salvage failed - mac user
Post by: JohnnyOPus on April 11, 2019, 04:35:03 PM
Hello, I am trying to restore my bitcoin core wallet using my previous wallet.dat file. I re-downloaded bitcoincore and the blockchain but when I try to swap the wallet.dat file with my own I get the "salvage failed" error.

I hear that I can dump the keys using pywallet but as a mac user I am unable to install it.

Can someone help me restore and/or send my coins?

Thanks


Title: Re: Wallet.dat salvage failed - mac user
Post by: HCP on April 11, 2019, 08:58:36 PM
I hear that I can dump the keys using pywallet but as a mac user I am unable to install it.
What you do you mean you can't install it as a mac user?

Refer: https://github.com/jackjack-jj/pywallet
Mac OS X:
 1. Install MacPorts from http://www.macports.org/
 2. sudo port install python27 py27-twisted py27-pip py-bsddb python_select
 3. sudo port select --set python python27
 4. sudo easy_install ecdsa

Does that installation procedure fail?

You might also find more assistance for PyWallet here: https://bitcointalk.org/index.php?topic=34028.0


Title: Re: Wallet.dat salvage failed - mac user
Post by: keychainX on April 12, 2019, 09:40:58 PM
Hello, I am trying to restore my bitcoin core wallet using my previous wallet.dat file. I re-downloaded bitcoincore and the blockchain but when I try to swap the wallet.dat file with my own I get the "salvage failed" error.

I hear that I can dump the keys using pywallet but as a mac user I am unable to install it.

Can someone help me restore and/or send my coins?

Thanks

You can dump the wallet only if it's not encrypted, what version of bictoin core do you run, make sure it's 17.1

You need to install python from python.org, then it should work
/KX


Title: Re: Wallet.dat salvage failed - mac user
Post by: HCP on April 12, 2019, 10:24:06 PM
You can dump the wallet only if it's not encrypted, what version of bictoin core do you run, make sure it's 17.1
PyWallet has a --passphrase option that will allow you to dump encrypted wallet.dat files... provided that you know the correct passphrase of course ;)


You need to install python from python.org, then it should work
Also, you need to install Python 2.7.x... PyWallet will not work properly with Python 3