Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: unsoindovo on March 22, 2018, 02:44:56 PM



Title: bitcoin Core wallet 0.16 HD function
Post by: unsoindovo on March 22, 2018, 02:44:56 PM
Hi all!
i just installed the latest bitcoin core wallet.
I mean the 0.16.0 version.
i can see who HD generation is disabled.
How i can activate it?
https://i.imgur.com/l3bqRN0.png


Title: Re: bitcoin Core wallet 0.16 HD function
Post by: ranochigo on March 22, 2018, 03:32:29 PM
If you've created the wallet before the HD function was introduced with Bitcoin, then you definitely won't be able to use the HD feature right off the bat. Existing wallet can't be converted to HD wallets and you will have to create a new wallet to use it.

Steps to create a new HD wallet.
1) Go to %appdata%/Bitcoin.
2) Rename wallet.dat to wallet-old.dat
3) Open Bitcoin Core.
4) Wait for it to load and go to the addresses tab to get an address. Also make a backup. Then shut it down.
5) Rename the new wallet.dat to wallet-HD.dat.
6) Rename wallet-old.dat to wallet.dat
7) Start up Bitcoin Core and send the coins to the address generated with your HD wallet.
8) Shut it down.
9) Move the old wallet.dat from the folder and rename wallet-hd.dat back to wallet.dat and you would be able to use the HD wallet.


Title: Re: bitcoin Core wallet 0.16 HD function
Post by: unsoindovo on March 22, 2018, 04:00:33 PM
If you've created the wallet before the HD function was introduced with Bitcoin, then you definitely won't be able to use the HD feature right off the bat. Existing wallet can't be converted to HD wallets and you will have to create a new wallet to use it.

Steps to create a new HD wallet.
1) Go to %appdata%/Bitcoin.
2) Rename wallet.dat to wallet-old.dat
3) Open Bitcoin Core.
4) Wait for it to load and go to the addresses tab to get an address. Also make a backup. Then shut it down.
5) Rename the new wallet.dat to wallet-HD.dat.
6) Rename wallet-old.dat to wallet.dat
7) Start up Bitcoin Core and send the coins to the address generated with your HD wallet.
8) Shut it down.
9) Move the old wallet.dat from the folder and rename wallet-hd.dat back to wallet.dat and you would be able to use the HD wallet.

great Tutorial ranochigo!
thank you to let me know!


Title: Re: bitcoin Core wallet 0.16 HD function
Post by: bob123 on March 22, 2018, 04:13:22 PM
Wallets generated prior HD got introduced can't be 'updated' to HD wallets.
The 'old wallets' have a bunch of address (randomly) pre-generated. Hierarchical Deterministic wallets do generate the private child keys from the private parent key.

ranochigo's guide is probably the fastest way of changing wallets. But make sure to close core before moving your wallet.dat.

And keep one copy of your old wallet-file. Even satoshi advised to never delete a wallet:

Sigh... why delete a wallet instead of moving it aside and keeping the old copy just in case?  You should never delete a wallet.