Need assistance with bitcoin core

2 replies 74 views
gwei2021Member
Posts: 2 · Reputation: 129
#1Jan 7, 2019, 04:16 AM
-del
2 Reply Quote Share
ryan_nodeSenior Member
Posts: 204 · Reputation: 859
#2Jan 7, 2019, 08:29 AM
The chaincode of the master private key is derived from a 256 bit seed following BIP 32: https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#user-content-Master_key_generation The seed itself is discarded once the master private key is computed as it is extraneous information that is never used once the master private key is produced. It is unclear to me what problem you are actually trying to solve. None of what you described makes any sense, and it seems like this is an XY Problem. Please describe what it is you are trying to achieve, not what it is you think the way to the solution is.
6 Reply Quote Share
ryan_nodeSenior Member
Posts: 204 · Reputation: 859
#3Jan 7, 2019, 10:49 AM
As I said in my post, the seed itself is no longer stored in a descriptor wallet as it is used only once to generate the master private key. When the descriptors are created, the master public key for the master private key is computed and that public key is encoded into the descriptor. The chaincode is not secret data, so it is included directly in the master public key in the descriptor. The private key is then extracted from the master private key and stored separately by itself. The master private key is reconstructed as needed by using the master public key from a descriptor and replacing the public key with the stored private key.
0 Reply Quote Share
?Reply
Sign in to reply to this topic

Related topics