|
bool | IdIsCompPubKey (uint8_t idx) const |
|
bool | IdIsUnCompPubKey (uint8_t idx) const |
|
bool | IdIsXOnlyPubKey (uint8_t idx) const |
|
bool | IdIsConstPrivKey (uint8_t idx) const |
|
bool | IdIsXpub (uint8_t idx) const |
|
bool | IdIsXprv (uint8_t idx) const |
|
void | Init () |
| When initializing the target, populate the list of keys. More...
|
|
std::optional< uint8_t > | IdxFromHex (std::string_view hex_characters) const |
| Parse an id in the keys vectors from a 2-characters hex string. More...
|
|
std::optional< std::string > | GetDescriptor (std::string_view mocked_desc) const |
| Get an actual descriptor string from a descriptor string whose keys were mocked. More...
|
|
Converts a mocked descriptor string to a valid one.
Every key in a mocked descriptor key is represented by 2 hex characters preceded by the '' character. We parse the two hex characters as an index in a list of pre-generated keys. This list contains keys of the various types accepted in descriptor keys expressions.
Definition at line 24 of file descriptor_parse.cpp.