user47956: I'm running bitcoind on centos and want to reset my testnet. I tested one way and now I want to test something else a different way.
For example, I want to clear it so when I do:
bitcoin-cli listaccounts

No accounts are returned.
AND
bitcoin-cli listtransactions

No transactions are returned.
What is the easiest way to do this?

user48884: Delete the wallet.dat file in your testnet datadir and restart Bitcoin Core. Note that this will destroy all of your coins.

47956: <p>I'm running bitcoind on centos and want to reset my testnet. I tested one way and now I want to test something else a different way.</p>

<p>For example, I want to clear it so when I do:</p>

<pre><code>bitcoin-cli listaccounts
</code></pre>

<p>No accounts are returned.</p>

<p>AND</p>

<pre><code>bitcoin-cli listtransactions
</code></pre>

<p>No transactions are returned.</p>

<p>What is the easiest way to do this?</p>
 48884: <p>Delete the wallet.dat file in your testnet datadir and restart Bitcoin Core. Note that this will destroy all of your coins.</p>
