Look up a private key by any key id derived from an x-only pubkey.
Declared in <script/signingprovider.h>
bool
GetKeyByXOnly(
XOnlyPubKey const& pubkey,
CKey& key) const;
True if a private key was found.
| Name | Description |
|---|---|
| pubkey | The x-only pubkey whose keys are searched. |
| key | Set to the matching private key on success. |