<p>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.</p>

CC BY-SA 3.0
2011-09-23T17:45:52.000Z
OK, I have all the blocks. The output from `namecoind.exe getblockcount` is 19062.
ripper234
CC BY-SA 3.0
2011-09-23T18:21:26.403Z
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
CC BY-SA 3.0
2011-09-23T19:18:55.250Z
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
CC BY-SA 3.0
2011-09-23T23:02:23.653Z
Then you need to run with `-rescan` again.
David Schwartz
CC BY-SA 3.0
2011-09-25T23:22:09.233Z
@David - http://bitcoin.stackexchange.com/questions/1249/how-exactly-does-rescan-work
ripper234
CC BY-SA 3.0
2011-09-25T23:23:26.347Z
And, 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
CC BY-SA 3.0
2011-10-19T00:20:48.060Z
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](https://github.com/jackjack-jj/pywallet) or any other pre-0.4 Bitcoin wallet tool for that matter.
David Perry
CC BY-SA 3.0
2011-09-23T17:16:17.450Z
2011-09-23T17:16:17.450Z
tysat
<p>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.</p>

<p>I ran <code>namecoind -rescan</code>, and then:</p>

<pre><code>&gt; namecoind listaccounts

{
    "" : 0.00000000
}

&gt; namecoind listreceivedbyaddress
[
]
</code></pre>

<p>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?</p>

<p><strong>Update</strong> - I have all the blocks.</p>

<blockquote>
  <p>namecoind.exe getblockcount
  19062</p>
</blockquote>

CC BY-SA 3.0
2011-09-23T15:18:48.543Z
Wait for the blockchain to download.
David Schwartz
CC BY-SA 3.0
2011-09-23T17:46:19.800Z
@David - I have, no change.
ripper234
<backup><namecoin><rescan>
How to debug a failed restore of a Namecoin wallet?
ripper234
# How to debug a failed restore of a Namecoin wallet?

(Asked by: username_0 on 2011-09-23)

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

**Tags:** backup, namecoin, rescan

> **Comments:**
> **username_1**: Wait for the blockchain to download.  
> **username_0**: @David - I have, no change.  

---

## 1 answers

### Answer by username_2 on 2011-09-23. Score: 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.

> **Comments:**
> **username_0**: OK, I have all the blocks. The output from `namecoind.exe getblockcount` is 19062.  
> **username_2**: 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).  
> **username_0**: 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.  
> **username_1**: Then you need to run with `-rescan` again.  
> **username_0**: @David - http://bitcoin.stackexchange.com/questions/1249/how-exactly-does-rescan-work  
> **username_0**: And, 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?  
> **username_3**: 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](https://github.com/jackjack-jj/pywallet) or any other pre-0.4 Bitcoin wallet tool for that matter.  

---

