Bitcoin Forum
May 09, 2024, 03:30:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin Core Refference Wallet HD?  (Read 108 times)
McMurdo (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
November 29, 2019, 03:03:09 PM
 #1

Is the bitcoin core reference wallet HD?

or if I run:

$ bitcoin-cli backupwallet

is it only saving my private keys that I have used thus far, and is not backing up my private future keys?

Thank you.
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715225415
Hero Member
*
Offline Offline

Posts: 1715225415

View Profile Personal Message (Offline)

Ignore
1715225415
Reply with quote  #2

1715225415
Report to moderator
GSpgh
Sr. Member
****
Offline Offline

Activity: 532
Merit: 302


View Profile
November 29, 2019, 05:24:57 PM
 #2

Yes, Bitcoin Core wallet is HD since 0.14 (?) but you still might want to make regular backups since the wallet can have private keys outside of the derivation path (e.g. imported via importprivkey).
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 29, 2019, 10:19:14 PM
 #3

$ bitcoin-cli backupwallet
The backupwallet command simply creates a copy of your wallet.dat file at the location provided in the command:

Quote
backupwallet "destination"

Safely copies current wallet file to destination, which can be a directory or a path with filename.

Arguments:
1. destination    (string, required) The destination directory or file

It is the same as using "File -> Backup wallet..." option in the GUI... or simply manually copying the wallet.dat file (after bitcoind/Bitcoin Core is shut down properly)

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10555



View Profile
November 30, 2019, 04:52:48 AM
 #4

is it only saving my private keys that I have used thus far, and is not backing up my private future keys?

if you want to keep a digital backup of your wallet and keys then backing up the wallet.dat file once (as was explained above) is enough as long as your wallet shows HD in GUI (which is the default setting of newer versions of core).
but if you want to keep a physical backup (eg. on paper) then the only "easy" way is to write down the keys individually. and i believe dumpwallet command and storing the seed (entropy, don't confuse with mnemonic) it shows could be used to re-generate the wallet but it is not the "easy" way.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!