How to debug a failed restore of a Namecoin wallet?

8

I bought some Namecoins a while back. With the upcoming Merged Mining patch, I reinstalled Namecoin 0.3.24.63 on my newly formatted computer, copied my wallet.dat from my backup to the right folder, and ... can't seem to figure out how to view my funds.

I ran namecoind -rescan, and then:

> namecoind listaccounts

{
    "" : 0.00000000
}

> namecoind listreceivedbyaddress
[
]

Am I using the right commands here? Is my wallet corrupt/empty? Should I just wait for the blockchain to download? In Bitcoin, if I remember correctly transactions I made using a backup wallet were visible immediately (grayed out) even before the blockchain was downloaded. Any more suggestions?

Update - I have all the blocks.

namecoind.exe getblockcount 19062

ripper234

Posted 2011-09-23T15:01:00.880

Reputation: 25 192

Wait for the blockchain to download.David Schwartz 2011-09-23T15:18:48.543

@David - I have, no change.ripper234 2011-09-23T17:46:19.800

Answers

1

The best thing to do is wait for the blockchain to download. With most wallet backups/new installations of bitcoin or namecoin blockchain downloading is usually the issue. Many people seem to get a little impatient and think the program is broken when it's really just the download taking a while.

tysat

Posted 2011-09-23T15:01:00.880

Reputation: 1 421

OK, I have all the blocks. The output from namecoind.exe getblockcount is 19062.ripper234 2011-09-23T17:45:52.000

I would confirm that the wallet.dat was placed in the correct folder. One option is to place it wherever you want and do a -datadir=(folder path).tysat 2011-09-23T18:21:26.403

I started the namecoin client, went to c:\users_UserName_\AppData\Roaming\Namecoin and found a folder full of namecoin data, updated in real time. Then I copy-pasted my wallet.dat there, overriding the one that was there.ripper234 2011-09-23T19:18:55.250

1Then you need to run with -rescan again.David Schwartz 2011-09-23T23:02:23.653

1And, I've got nothing. Is there another way to debug this? I'm begining to suspect my original copy of the wallet is corrupt in some way, or just doesn't include the transactions for some reason. How can I verify it's a legit namecoin wallet?ripper234 2011-09-25T23:23:26.347

Namecoin wallets and Bitcoin wallets are essentially identical, they just have differently formatted keys. You could try opening the wallet.dat file with something like pywallet or any other pre-0.4 Bitcoin wallet tool for that matter.

David Perry 2011-10-19T00:20:48.060