By way of deafult, in a newly created descriptor pockets that’s not watch-only and now not empty, listdescriptors true
works and offers output.
Alternatively, here’s a situation that breaks it:
- Get a brand new deal with within the descriptor pockets.
- Retrieve its public deal with (pub1)
- Create a multisig deal with with the usage of this public deal with (pub1) and two others (pub2, pub3)
- Import the next descriptor into the pockets:
sh(multi(priv1,pub2,pub3)
; I retrievedpriv1
fromlistdescriptors true
. - Now, if I take a look at
listdescriptors true
once more, an error is returned:
"error": {
"code": -4,
"message": "Can not get descriptor string."
}
Is that this anticipated on account of how I imported a descriptor that combines xprv and pubkeys, or is it a worm?
Word: when uploading this type of descriptor, I were given a caution:
{"luck": true, "warnings": ["Not all private keys provided. Some wallet functionality may return unexpected errors"]}