public key – Why listdescriptors yields completely different xpub keys for a model new pockets in bitcoin core

0
86


I seen that if I listdescriptors true instantly after making a model new pockets, it will listing 8 descriptors that each one use the identical xprv key.

Nevertheless, listdescriptors false would listing 8 xpub keys, and they aren’t all the identical key. Notice within the instance under how public keys begin with:

  • xpub6ChP1W
  • xpub6CyAaD
  • xpub6Cc74F
  • xpub6BmTmL

Why are they completely different?

Instance

Public (API parameter "personal": false):

Key                                                        Energetic   Inner
pkh(    [ab7bc48f/44'/0'/0']xpub6ChP1W.../0/*)  #ma29dzhm     +         -
pkh(    [ab7bc48f/44'/0'/0']xpub6ChP1W.../1/*)  #2f0ysh8r     +         +
sh(wpkh([ab7bc48f/49'/0'/0']xpub6CyAaD.../0/*)) #zwwuauzd     +         -
sh(wpkh([ab7bc48f/49'/0'/0']xpub6CyAaD.../1/*)) #h0q29rhj     +         +
tr(     [ab7bc48f/86'/0'/0']xpub6Cc74F.../0/*)  #l6jyecux     +         -
tr(     [ab7bc48f/86'/0'/0']xpub6Cc74F.../1/*)  #wwh9ydv7     +         +
wpkh(   [ab7bc48f/84'/0'/0']xpub6BmTmL.../0/*)  #80mc28c3     +         -
wpkh(   [ab7bc48f/84'/0'/0']xpub6BmTmL.../1/*)  #km7ehjgf     +         +


Non-public (API parameter "personal": true):

Key                                                Energetic   Inner
pkh(    xprv9s21Zr.../44'/0'/0'/0/*)  #5l2phqsm      +         -
pkh(    xprv9s21Zr.../44'/0'/0'/1/*)  #9t0q24qr      +         +
sh(wpkh(xprv9s21Zr.../49'/0'/0'/0/*)) #r78qs2yd      +         -
sh(wpkh(xprv9s21Zr.../49'/0'/0'/1/*)) #9a09t80e      +         +
tr(     xprv9s21Zr.../86'/0'/0'/0/*)  #02tnkr5v      +         -
tr(     xprv9s21Zr.../86'/0'/0'/1/*)  #77wjtky5      +         +
wpkh(   xprv9s21Zr.../84'/0'/0'/0/*)  #93lra6e7      +         -
wpkh(   xprv9s21Zr.../84'/0'/0'/1/*)  #596zq0fx      +         +

Backing Up Descriptors

My perceive was that having saved the xprv key solely, I might have the ability to totally recreate the same pockets on a distinct node – as a result of I might derive xpub from xprv. However now I received confused – how would I derive these xpubs, and why there are multiple.

LEAVE A REPLY

Please enter your comment!
Please enter your name here