Bitcoin Forum
June 25, 2018, 02:43:42 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Re-Creating a wallet?  (Read 769 times)
Global Moderator
Offline Offline

Activity: 2100
Merit: 1140

View Profile
April 16, 2012, 02:04:40 AM

tl;dr version: bitcoin 0.4.3 works fine, but 0.4.5 fails. it says wallet is corrupt. is there a way to re-create my wallet so it works with 0.4.5?

verbose version:
I have been using bitcoin-wx since i got into bitcoin. Even after bitcoin-qt was released, i never upgraded, mainly because i don't like the qt layout (waste of space). Versions up to 0.4.3 works fine for me, but when i tried to upgrade to 0.4.4 and 0.4.5, i get this error message upon startup:
Error loading wallet.dat: Wallet corrupted     

I have spoken to Luke-Jr about this issue, and he has offered to help, but i would rather not disclose my wallet.dat file (it contains some semi-sensitive transaction data). so i guess the only way is to reconstruct the wallet file. there is pywallet, but there's no way to mass import/export keys.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Pieter Wuille
Offline Offline

Activity: 1050
Merit: 1005

View Profile WWW
April 16, 2012, 11:03:10 AM

Recent versions verify all wallet keys for consistency at load time, and fail rather than silently ignore it. You probably have one or a few inconsistent keys in your wallet file, which went undetected for a longer time.

I have a not-very-well-tested patch for bitcoind/bitcoin-qt that tries to reconstruct inconsistent keys, or otherwise ignores errors. It will not fix the wallet file, but it may be enough to access it.

Let me know if you're interested.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
Offline Offline

Activity: 1218
Merit: 1004

Gerald Davis

View Profile
April 16, 2012, 12:55:44 PM

Another option would be to simply create a new empty wallet and then using older version of client transfer complete wallet balance to new wallet.
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!