Bitcoin Forum
May 27, 2024, 03:31:42 PM *
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.
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: 3458
Merit: 10594



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!