win7 x64 problem:
i had a fresh install of the wallet, started syncing and used the initial address for mining @ 1gh. the wallet got stuck at some "trie" stuff (for over 6h) so I restarted the qt-wallet. Now it says my wallet.dat is corrupted, and can't be repaired. the wallet.dat file is getting renamed and a new one is created. all my mined coins are gone. there are generally a lot of runtime exceptions and messages when operating the wallet.
how can I get my coins back? looks like there is no checkwallet/repairwallet implemented.
Page 0: metadata page corrupted
Page 0: could not check metadata page
wallet.dat: DB_VERIFY_BAD: Database verification failed
file unknown has LSN 1/3132, past end of log at 1/1076
Commonly caused by moving a database from one database environment
to another without clearing the database LSNs, or by removing all of
the log files from a database environment
looks like a critical bug in the QT wallet which kills the wallet.dat
Edit: salvagewallet did not work either
i'm still looking for a solution. lost around 120 coins that way. i don't want to think about someone losing thousands due to that bug.
All you need is the private key of your receiving address.
You can try the following. ALWAYS keep a backup of your wallet.
1. Take a note of your address.
2. Go to 'help > debug > console'
3. Type:
dumpprivkey YOURRECEIVINGADDRESS
4. Store the private key in a safe location.
5. Repeat for all your receiving addresses (if you have more than one)
Now, do whatever you want with the wallets. As soon as you have a working wallet, import your private key for each of your receiving addresses with the command:
importprivkey YOURPRIVATEKEYFORADDRESS "My Address Label"
Hope this helps.
I can't do that, as I can't load the wallet.dat file. One second after starting the QT wallet with the corrupted wallet.dat file, it says the wallet.dat is corrupted. and then the wallet.dat file is beeing renamed. I'll post more debug messages in a min.
the problem is not the blockchain. my wallet got corrupted after i restarted the QT client (it did NOT crash, it was shut down properly) and is not readable by the wallet anymore. I now tried five older versions, every time I start the client it tells me the wallet.dat is corrupted and not repairable. then wallet.dat gets renamed.
del all,use old version,old block chain,old wallet.dat.you'll get your coin back
again, I already tried that. The client can't load the old wallet.dat. even if you delete everything except for the wallet.dat, the client says that the wallet.dat is corrupted and can't be repaired. after that, the qt-wallet crashes...
There was probably some sort of problem with the shutdown even though it may not have looked that way. Have you tried the
latest revision released a few hours ago? Try running -resync and if that doesn't work delete your Cryptonite data folder completely and then once you're fully synced shut down Qt and replace the new wallet.dat file with your old one and also delete the db.log file.
yepp, it looks like the shutdown process has corrupted the wallet. I think it was because it was in the "download trie" state which was not covered.