Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: theck on August 24, 2017, 03:00:48 PM



Title: Lost some change addresses
Post by: theck on August 24, 2017, 03:00:48 PM
Hello,
I'm trying to recover some lost btc.
I don't know exactly was happened but I think it's due to qt's keypool limited to 100 addresses.
I think after imported my wallet.dat there aren't inside all my change addresses and I can't find a way to recover them. I have never heard about this "feature" so I have not made a backup frequently.
I'm not sure the problem is this, maybe someone hacked me and spent my btc, but checking tx seems the great part of my btc is a change spent.

Thank you in advance, a little tip to the one who help me to solve.

P.S. I'm downloading now the bc on a new pc, until tomorrow I can't do anything.


Title: Re: Lost some change addresses
Post by: DannyHamilton on August 24, 2017, 04:15:17 PM
More details are needed to be able to answer questions and help.

What version of Bitcoin Core was originally used to create the wallet?
Is this the ONLY backup you have of the wallet?
Do you still have access to the original wallet file that was used while creating transactions?
If not, do you still have access to the original computer that wallet file was used on?

Note that if you were using an old version of Bitcoin Core that didn't have HD keys, and you used more than 100 addresses after the most recent backup, then it will be impossible to recover any bitcoins that were sent to change-addresses without gaining access to the wallet file that was used to send the transactions.


Title: Re: Lost some change addresses
Post by: theck on August 24, 2017, 04:32:24 PM
Thank you for your answer.
I don't have access to old pc and I don't remember the old version..
How to know if the old one was an hd wallet? I'm now using the latest version and I can't find anything about that.


Title: Re: Lost some change addresses
Post by: defined on August 25, 2017, 08:01:53 AM
How to know if the old one was an hd wallet? I'm now using the latest version and I can't find anything about that.
Click this:
Help
Debug window
Console

Type this:
getwalletinfo

If it shows "keypoolsize": <number>, you do not have a hd wallet.
I do not know for sure how to determine your wallet type.


Title: Re: Lost some change addresses
Post by: theck on August 25, 2017, 01:20:24 PM
Defined are you sure? Because I just created a new wallet with core 0.14.2 and I can see keypool 100 with getwalletinfo command.


Title: Re: Lost some change addresses
Post by: defined on August 25, 2017, 02:25:49 PM
Defined are you sure? Because I just created a new wallet with core 0.14.2 and I can see keypool 100 with getwalletinfo command.
I thought I was sure. Let me edit it.


Title: Re: Lost some change addresses
Post by: theck on August 25, 2017, 02:37:20 PM
I'm still downloading the blockchain, when it will end I'll try again to recover my btc.
If I can't I'll go to fuck core dev, how hard is add a fucking popup saying to backup the fucking wallet after 100tx?


Title: Re: Lost some change addresses
Post by: defined on August 25, 2017, 02:49:41 PM
If I can't I'll go to fuck core dev, how hard is add a fucking popup saying to backup the fucking wallet after 100tx?
New hd wallets do not have this limitation, but indeed, an easy popup to inform you your last backup is too old would be very convenient.
Countless people lost their bitcoins because of the way core handles addresses.


Title: Re: Lost some change addresses
Post by: HCP on August 26, 2017, 01:40:21 AM
Thank you for your answer.
I don't have access to old pc and I don't remember the old version..
How to know if the old one was an hd wallet? I'm now using the latest version and I can't find anything about that.
If you look at the bottom right corner of the Bitcoin Core window, do you see the HD icon?
https://talkimg.com/images/2023/11/15/zebmf.png

If you do, it is an HD wallet... If you don't, it's an "old style" keystore wallet.

Also, an HD wallet will return "hdmasterkeyid" when you use the "getwalletinfo"...