Bitcoin Forum
January 10, 2026, 08:52:01 AM *
News: Due to a wallet-migration bug, you should not upgrade Bitcoin Core. But if you already did, there's no need to downgrade.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help bitcoin core  (Read 88 times)
DecipherBTC (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 13


View Profile
October 24, 2024, 11:00:58 PM
Last edit: November 02, 2024, 03:52:54 PM by DecipherBTC
Merited by ABCbits (1)
 #1

-del
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3878
Merit: 7566


Just writing some code


View Profile WWW
October 25, 2024, 02:12:38 AM
Merited by ABCbits (2), nc50lc (1)
 #2

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.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3878
Merit: 7566


Just writing some code


View Profile WWW
October 25, 2024, 05:37:00 PM
 #3

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.

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!