Bitcoin Forum
April 26, 2024, 02:46:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Re-Creating a wallet?  (Read 836 times)
grue (OP)
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



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.

Adblock for annoying signature ads | Enhanced Merit UI
1714099606
Hero Member
*
Offline Offline

Posts: 1714099606

View Profile Personal Message (Offline)

Ignore
1714099606
Reply with quote  #2

1714099606
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714099606
Hero Member
*
Offline Offline

Posts: 1714099606

View Profile Personal Message (Offline)

Ignore
1714099606
Reply with quote  #2

1714099606
Report to moderator
1714099606
Hero Member
*
Offline Offline

Posts: 1714099606

View Profile Personal Message (Offline)

Ignore
1714099606
Reply with quote  #2

1714099606
Report to moderator
1714099606
Hero Member
*
Offline Offline

Posts: 1714099606

View Profile Personal Message (Offline)

Ignore
1714099606
Reply with quote  #2

1714099606
Report to moderator
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


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.

I do Bitcoin stuff.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!