Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Mad7Scientist on January 21, 2018, 06:13:24 AM



Title: How do find future generated wallet addresses
Post by: Mad7Scientist on January 21, 2018, 06:13:24 AM
I know that 100 new addresses are generated in wallet.dat so that if you receive coins (or send coins and receive the change) that even if you have an old wallet backup that the coins will likely still be available since the "new" key was actually generated in the past and exists in the older backups too. Newer bitcoin clients generate a lot more addresses or use some sort of a key so that any wallet can be used to find all future keys generated.

The question is how to find what those keys are? I'm using an older version.


Title: Re: How do find future generated wallet addresses
Post by: ranochigo on January 21, 2018, 08:01:16 AM
Yes, the wallet currently generates 1000key in the keypool by default, since the recent versions. If the keypool isn't refreshed, yes you could potentially be able to use a backup to access the keys. The criterion also includes the backup having its password unchanged.

If you have generated your wallet files in the recent versions (0.13.0 onwards), then you could potentially have a HD wallet. You only need to backup everytime you change your password. Otherwise, the scenario above applies.

I believe that the dumpwallet command would dump all of your private keys, including your master key (HD wallet).