<p>This is indeed strange.</p>

<p>What you should have done before upgrading Bitcoin-Core (if your old Core wallet didn't had any funds in it) delete the wallet.dat file.</p>

<p>Because you are using now keys that where exposed on your hard drive since 2015.</p>

<p>This is the case because Bitcoin-Core uses "key pool". Once you launch Bitcoin Core the first time, it will pre-generate 100 keys (these are the <code>reserve=1</code> keys in your dump).</p>

<p>My recommendations would be creating a new wallet (these steps assume you currently have funds in your wallet):</p>

<ol>
<li>Stop Bitcoin-Core</li>
<li>Move your <code>wallet.dat</code> to somewhere save (rename it <code>wallet.old.dat</code>)</li>
<li>Start Bitcoin-Core (a new wallet will be created)</li>
<li>Encrypt your wallet with a secure passphrase</li>
<li>Copy out a new address to send your old funds to.</li>
<li>Stop Bitcoin-Core</li>
<li>Move your <code>wallet.dat</code> to somewhere same (rename it <code>wallet.new.dat</code>)</li>
<li>Move back your <code>wallet.old.dat</code> to your datadir and rename it back to <code>wallet.dat</code>
9 Start Bitcoin-Core and send all your funds to the address in your new wallet (step 5)</li>
<li>Stop Bitcoin-Core, move away your old wallet and move back your <code>wallet.new.dat</code> to your datadir</li>
<li>Start Core, and check if your funds are there</li>
</ol>

CC BY-SA 3.0
2017-05-01T10:20:05.887Z
Thanks, I'll take your advice to generate a new wallet. Thankfully there are no funds at stake because as I said, I never actually used Bitcoin Core until now.
mhsmith
CC BY-SA 3.0
2017-04-29T19:36:53.937Z
2017-04-29T19:36:53.937Z
Jonas Schnelli
<p>Apologies for the vagueness of my memory.</p>

<p>I started using Bitcoin in mid-2015. I believe I installed Bitcoin Core at that time but got bored waiting for it to sync the blockchain, so I instead used MultiBit</p>

<p>Last week (April 2017) I decided to migrate off what is now called MultiBit Classic, since it's no longer supported. I upgraded Bitcoin Core to the newest version, waited for it to sync the blockchain, and was surprised to see two transactions from October 2016, both involving the address <a href="https://blockexplorer.com/address/1QKcPYdiDfPgNH4dYnC99uZqTszU4gndnn" rel="nofollow noreferrer">1QKcPYdiDfPgNH4dYnC99uZqTszU4gndnn</a>. </p>

<p>Dumping my wallet shows this address was generated back in 2015, and is marked as "reserve":</p>

<p><code>[private key deleted] 2015-04-29T18:42:36Z reserve=1 # addr=1QKcPYdiDfPgNH4dYnC99uZqTszU4gndnn</code></p>

<p>I'm sure these transactions have nothing to do with me. I wasn't using Bitcoin in October 2016, and I don't believe I ever performed any transactions at all with Bitcoin Core. What's going on?</p>

<bitcoin-core>
Do I have someone else's private key in my wallet, or has my wallet been compromised?
mhsmith
# Do I have someone else's private key in my wallet, or has my wallet been compromised?

(Asked by: username_0 on 2017-04-29)

Apologies for the vagueness of my memory.

I started using Bitcoin in mid-2015. I believe I installed Bitcoin Core at that time but got bored waiting for it to sync the blockchain, so I instead used MultiBit

Last week (April 2017) I decided to migrate off what is now called MultiBit Classic, since it's no longer supported. I upgraded Bitcoin Core to the newest version, waited for it to sync the blockchain, and was surprised to see two transactions from October 2016, both involving the address [1QKcPYdiDfPgNH4dYnC99uZqTszU4gndnn](https://blockexplorer.com/address/1QKcPYdiDfPgNH4dYnC99uZqTszU4gndnn).

Dumping my wallet shows this address was generated back in 2015, and is marked as "reserve":

`[private key deleted] 2015-04-29T18:42:36Z reserve=1 # addr=1QKcPYdiDfPgNH4dYnC99uZqTszU4gndnn`

I'm sure these transactions have nothing to do with me. I wasn't using Bitcoin in October 2016, and I don't believe I ever performed any transactions at all with Bitcoin Core. What's going on?

**Tags:** bitcoin-core


---

## 1 answers

### Answer by username_1 on 2017-04-29. Score: 3 | Accepted answer

This is indeed strange.

What you should have done before upgrading Bitcoin-Core (if your old Core wallet didn't had any funds in it) delete the wallet.dat file.

Because you are using now keys that where exposed on your hard drive since 2015.

This is the case because Bitcoin-Core uses "key pool". Once you launch Bitcoin Core the first time, it will pre-generate 100 keys (these are the `reserve=1` keys in your dump).

My recommendations would be creating a new wallet (these steps assume you currently have funds in your wallet):

1. Stop Bitcoin-Core
2. Move your `wallet.dat` to somewhere save (rename it `wallet.old.dat`)
3. Start Bitcoin-Core (a new wallet will be created)
4. Encrypt your wallet with a secure passphrase
5. Copy out a new address to send your old funds to.
6. Stop Bitcoin-Core
7. Move your `wallet.dat` to somewhere same (rename it `wallet.new.dat`)
8. Move back your `wallet.old.dat` to your datadir and rename it back to `wallet.dat`
   9 Start Bitcoin-Core and send all your funds to the address in your new wallet (step 5)
9. Stop Bitcoin-Core, move away your old wallet and move back your `wallet.new.dat` to your datadir
10. Start Core, and check if your funds are there

> **Comments:**
> **username_0**: Thanks, I'll take your advice to generate a new wallet. Thankfully there are no funds at stake because as I said, I never actually used Bitcoin Core until now.  

---

