Bitcoin Forum
December 03, 2016, 04:54:02 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Re-Creating a wallet?  (Read 670 times)
grue
Global Moderator
Legendary
*
Offline Offline

Activity: 1932



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

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:
Code:
---------------------------
Bitcoin
---------------------------
Error loading wallet.dat: Wallet corrupted     

---------------------------
OK   
---------------------------
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.

Tired of annoying signature ads? Ad block for signatures
1480740842
Hero Member
*
Offline Offline

Posts: 1480740842

View Profile Personal Message (Offline)

Ignore
1480740842
Reply with quote  #2

1480740842
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1036


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

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
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


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

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]
  Print  
 
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!