Bitcoin Forum
April 24, 2024, 11:11:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin core v0.17.0 Masterkey  (Read 152 times)
spart3x (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
December 20, 2018, 01:24:44 PM
 #1

in Bitcoin core v0.17.0 is the masterkey represents a sufficient backup? (taken with the dumpwallet command)
1713957106
Hero Member
*
Offline Offline

Posts: 1713957106

View Profile Personal Message (Offline)

Ignore
1713957106
Reply with quote  #2

1713957106
Report to moderator
1713957106
Hero Member
*
Offline Offline

Posts: 1713957106

View Profile Personal Message (Offline)

Ignore
1713957106
Reply with quote  #2

1713957106
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713957106
Hero Member
*
Offline Offline

Posts: 1713957106

View Profile Personal Message (Offline)

Ignore
1713957106
Reply with quote  #2

1713957106
Report to moderator
1713957106
Hero Member
*
Offline Offline

Posts: 1713957106

View Profile Personal Message (Offline)

Ignore
1713957106
Reply with quote  #2

1713957106
Report to moderator
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
December 20, 2018, 01:33:59 PM
Merited by bones261 (1)
 #2

in Bitcoin core v0.17.0 is the masterkey represents a sufficient backup? (taken with the dumpwallet command)


Bitcoin Core will use the Master private key to derive all "normal" private keys, so, yes? It should be sufficient to just back up the xpriv key..?

But take note of the following:
With regards to Bitcoin Core... The "proper" method of backup is a copy of your wallet.dat (or even multiple redundant copies)

With the Bitcoin Core HD wallets, every time you change the wallet passphrase (including the first time you set one up), a new seed (and therefore new master private key) is created... And new addresses derived.

NOTE: All the old master keys/generated addresses are still stored in the wallet file.

So, every time you set/change the passphrase you need to make a new backup of your wallet.dat.

Or, do it the "hard way" and try and keep track of all the xprvs Tongue


So be wary that when you change passwords, you might want to check for new xpriv keys to back up.

spart3x (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
December 20, 2018, 01:55:53 PM
 #3

in Bitcoin core v0.17.0 is the masterkey represents a sufficient backup? (taken with the dumpwallet command)


Bitcoin Core will use the Master private key to derive all "normal" private keys, so, yes? It should be sufficient to just back up the xpriv key..?

But take note of the following:
With regards to Bitcoin Core... The "proper" method of backup is a copy of your wallet.dat (or even multiple redundant copies)

With the Bitcoin Core HD wallets, every time you change the wallet passphrase (including the first time you set one up), a new seed (and therefore new master private key) is created... And new addresses derived.

NOTE: All the old master keys/generated addresses are still stored in the wallet file.

So, every time you set/change the passphrase you need to make a new backup of your wallet.dat.

Or, do it the "hard way" and try and keep track of all the xprvs Tongue


So be wary that when you change passwords, you might want to check for new xpriv keys to back up.


but could i also use only one address and save my private key?
AdolfinWolf
Legendary
*
Offline Offline

Activity: 1946
Merit: 1427


View Profile
December 20, 2018, 02:11:37 PM
 #4

in Bitcoin core v0.17.0 is the masterkey represents a sufficient backup? (taken with the dumpwallet command)


Bitcoin Core will use the Master private key to derive all "normal" private keys, so, yes? It should be sufficient to just back up the xpriv key..?

But take note of the following:
With regards to Bitcoin Core... The "proper" method of backup is a copy of your wallet.dat (or even multiple redundant copies)

With the Bitcoin Core HD wallets, every time you change the wallet passphrase (including the first time you set one up), a new seed (and therefore new master private key) is created... And new addresses derived.

NOTE: All the old master keys/generated addresses are still stored in the wallet file.

So, every time you set/change the passphrase you need to make a new backup of your wallet.dat.

Or, do it the "hard way" and try and keep track of all the xprvs Tongue


So be wary that when you change passwords, you might want to check for new xpriv keys to back up.


but could i also use only one address and save my private key?

Sure. A single private key would be sufficient to recover one adress you have money on. You'll be able to import that key into any wallet just fine at any given date.

But here too, you should take note of the following: that when you at a later time want to spend from that private key, that you make sure the change adress is correct/set to an adress you control the private key from.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
December 20, 2018, 08:05:24 PM
Merited by HCP (2), bones261 (1)
 #5

in Bitcoin core v0.17.0 is the masterkey represents a sufficient backup? (taken with the dumpwallet command)
No, it is not. The master private key cannot be restored to a wallet at this time. Everything is derived from the hdseed instead (the seed is used to get the master private key, which is then used to derive all of the private keys used). You can get the hdseed from dumpwallet and use that. That is sufficient to get all of your private keys, but restoring just that to a wallet may not necessarily get you all of the transactions that you have received. The seed can be restored using the sethdseed command.

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!