Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: gabrio81 on December 02, 2020, 08:36:48 PM



Title: Does it make sense i migrate to an HD wallet?
Post by: gabrio81 on December 02, 2020, 08:36:48 PM
hi,

I have my btc core, all going well, etc... and i see "HD" key generation disabled... i think i created the wallet before this feature was existing, so does it make sense that i migrate to an HD wallet? what are the benefits?

i am quite happy with the way it works, and backup recently, etc.

thanks!
Gabrio


Title: Re: Does it make sense i migrate to an HD wallet?
Post by: TryNinja on December 02, 2020, 08:40:06 PM
AFAIK, the only benefit is not having to constantly backup your wallet file every time the keypool buffer is used. You would only need to backup it once and you will be good forever.


Title: Re: Does it make sense i migrate to an HD wallet?
Post by: jackg on December 02, 2020, 08:40:34 PM
If you backup often then no, you're fine to keep using a non HD wallet.

If you have an HD one you only need one backup to recover everything but there's normally a key pool of a thousand new generated addresses beyond the ones currently in use afaik (but it might be up to 1000 and then produces more i can't exactly remember)...


Title: Re: Does it make sense i migrate to an HD wallet?
Post by: gabrio81 on December 02, 2020, 08:45:24 PM
thanks guys, i usually backup regularly, it's so fast operation anyway, when i send out or get in coins, i always do that.

but if i wanted to..... (geek here), is there a step by step guide or something?  :)


Title: Re: Does it make sense i migrate to an HD wallet?
Post by: LoyceV on December 02, 2020, 09:26:02 PM
there's normally a key pool of a thousand new generated addresses beyond the ones currently in use
Correct. Go to Help > Debug window > Console and enter getwalletinfo to see the details:
Code:
"keypoolsize": xxx,

but if i wanted to..... (geek here), is there a step by step guide or something?  :)
I always thought you'd need to create a new wallet, but Stack Exchange (https://bitcoin.stackexchange.com/questions/61024/how-do-i-migrate-my-bitcoin-core-wallet-to-an-hd-wallet) says you can use -upgradewallet.

If it were me, I'd go old school anyway: create a new wallet, make a backup, make a few more backups, and transfer funds from the old wallet to the new one.


Title: Re: Does it make sense i migrate to an HD wallet?
Post by: gabrio81 on December 04, 2020, 11:36:25 AM
thanks for replies, i will check stackexchange as well.


Title: Re: Does it make sense i migrate to an HD wallet?
Post by: gabrio81 on December 04, 2020, 11:41:55 AM
did anyone try with the -upgradewallet option?