Bitcoin Forum
May 11, 2024, 09:29:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How Convert wallet to HD wallet - bitcoin core 26  (Read 85 times)
michaelmms (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 2


View Profile
December 09, 2023, 08:23:06 PM
Merited by ABCbits (2)
 #1

Hello,

I am running a wallet on ubuntu 22.04 with snap and bitcoin core 26.

When I run in terminal:

Code:
bitcoin-core.qt --help

there is no option like
Code:
-upgradewallet

Is there a way to get my old wallet to a HD-Wallet?
I found really nothing on google.

Thanks

Michael
1715419774
Hero Member
*
Offline Offline

Posts: 1715419774

View Profile Personal Message (Offline)

Ignore
1715419774
Reply with quote  #2

1715419774
Report to moderator
1715419774
Hero Member
*
Offline Offline

Posts: 1715419774

View Profile Personal Message (Offline)

Ignore
1715419774
Reply with quote  #2

1715419774
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
December 10, 2023, 12:28:43 PM
Merited by ABCbits (2)
 #2

Code:
bitcoin-core.qt --help

there is no option like
Code:
-upgradewallet
Since you're using QT (GUI), just launch Bitcoin Core normally and go to console (Window->Console).
Select the target wallet in the drop-down menu of the console (if not available, load load it first) and enter the command: upgradewallet

But in case if you're actually asking how to upgrade it into a 'descriptor wallet':
Select the old wallet in overview's wallet drop-down menu, then use "File->Migrate Wallet" to convert it into a descriptor wallet.
Wait for it to finish, it may take a while depending on the contents of the wallet file.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
michaelmms (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 2


View Profile
December 10, 2023, 02:52:15 PM
 #3

Thank you for your answer nc50lc!


I have a few more perhaps stupid beginner's questions:

I only have one wallet.dat file, so not several wallets. I use this as long-term storage for my coins.
I have passphrase encrypted my wallet and always make backups of the wallet.dat if I generate a new address.

If I now convert my wallet into an HD wallet or a Descriptor wallet and something goes wrong, can I still use my old wallet.dat file again if I copy it to the wallet.dat location via linux termial?

Should I update my wallet.dat at all? I hardly ever generate new addresses. Or do I have a disadvantage if I leave everything as it is?
What would you recommend?

Thx a lot

Michael
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5595


Self-proclaimed Genius


View Profile
December 11, 2023, 05:40:31 AM
Merited by ABCbits (1)
 #4

If I now convert my wallet into an HD wallet or a Descriptor wallet and something goes wrong, can I still use my old wallet.dat file again if I copy it to the wallet.dat location via linux termial?
Yes, but it's better to use the proper import method rather than manual copy of the wallet.dat file to the wallets directory.
Use the command: bitcoin-cli restorewallet "wallet_name" "path_to_old_wallet.dat_file_backup"

link: https://bitcoincore.org/en/doc/25.0.0/rpc/wallet/restorewallet/

Should I update my wallet.dat at all? I hardly ever generate new addresses. Or do I have a disadvantage if I leave everything as it is?
What would you recommend?
I'd recommend to migrate to a descriptor wallet.
The main reason is because legacy wallet format support will soon be dropped by Bitcoin Core.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
michaelmms (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 2


View Profile
December 13, 2023, 11:02:24 PM
 #5

thank you very much, I try it and reply if I'll get any problems!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!