downloaded dogecoin-1.8.1-beta-1 and built it on my server. I get "Wallet corrupted" errors when running, but db_dump doesn't give any errors. I added some debugging output to walletdb.cpp and now get the error code and proof that the entire (new, empty) wallet is read correctly:
jcomeau@hetzner2:~/src/dogecoin-1.8.1-beta-1/src$ grep -C3 LoadWallet ~/.dogecoin/debug.log
2014-11-24 19:11:57 init message: Loading wallet...
2014-11-24 19:11:57 LoadWallet() starting
2014-11-24 19:11:57 LoadWallet() successfully read record 0776657273696f6e: 247b1000
2014-11-24 19:11:57 LoadWallet() successfully read record 0962657374626c6f636b: 247b1000019156352c1818b32e90c9e792efd6a11a82fe7956a630f03bbee236cedae3911a
2014-11-24 19:11:57 Error -30987 reading next record from wallet database
2014-11-24 19:11:57 Error loading wallet.dat: Wallet corrupted
2014-11-24 19:11:57 wallet 67ms
jcomeau@hetzner2:~/src/dogecoin-1.8.1-beta-1/src$ ~/bdb5.1/bin/db_dump ~/.dogecoin/wallet.dat
yeah, open source for the win and all that, but how could this have ever made it to release? I'll probably figure this out today and get it running, but I found by Googling many others had this error and couldn't find an answer.
Back to blog or home page
last updated 2014-11-24 14:23:26. served from tektonic