<p>How can you verify a wallet ?</p>

<p>I think you should use </p>

<p>"C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes  -dbcache=3000</p>

<p>it will clean the transactions and give you the edge of faster reload.</p>

CC BY-SA 3.0
2014-08-22T14:00:22.880Z
2014-08-22T14:00:22.880Z
Rıfat Erdem Sahin
<p><code>salvagewallet</code> is a disaster recovery tool, you should never be using it as a "verify" for your wallet. Some of the time <code>salvagewallet</code> will actually result in loss of funds rather than doing anything useful. Not running the command will fix your problem. </p>

CC BY-SA 3.0
2014-08-22T13:56:21.683Z
2014-08-22T13:56:21.683Z
Guest
<p>After I imported keys to the brand new wallet I tried to test that it is imported properly so I ran salvagewallet command to verify my new wallet but got these errors!</p>

<pre><code>2014-08-21 12:17:28 WARNING: CWalletDB::Recover skipping key: 
2014-08-21 12:17:28 WARNING: CWalletDB::Recover skipping key: Error reading wallet database: CPubKey/CPrivKey corrupt
</code></pre>

<p>Could you please help me to understand/solve this problem?</p>

<bitcoind><bitcoin-core>
Importing keys to a brand new wallet
Mohamed Farrag
# Importing keys to a brand new wallet

(Asked by: username_0 on 2014-08-21)

After I imported keys to the brand new wallet I tried to test that it is imported properly so I ran salvagewallet command to verify my new wallet but got these errors!

```
2014-08-21 12:17:28 WARNING: CWalletDB::Recover skipping key: 
2014-08-21 12:17:28 WARNING: CWalletDB::Recover skipping key: Error reading wallet database: CPubKey/CPrivKey corrupt

```

Could you please help me to understand/solve this problem?

**Tags:** bitcoind, bitcoin-core


---

## 2 answers

### Answer by username_1 on 2014-08-22. Score: 1 | Accepted answer

How can you verify a wallet ?

I think you should use

"C:\Program Files\Bitcoin\bitcoin-qt.exe" -zapwallettxes -dbcache=3000

it will clean the transactions and give you the edge of faster reload.


---

### Answer by username_2 on 2014-08-22. Score: 0

`salvagewallet` is a disaster recovery tool, you should never be using it as a "verify" for your wallet. Some of the time `salvagewallet` will actually result in loss of funds rather than doing anything useful. Not running the command will fix your problem.


---

