SigningProvider::GetKeyByXOnly

Look up a private key by any key id derived from an x-only pubkey.

Synopsis

Declared in <script/signingprovider.h>

bool
GetKeyByXOnly(
    XOnlyPubKey const& pubkey,
    CKey& key) const;

Return Value

True if a private key was found.

Parameters

NameDescription
pubkeyThe x-only pubkey whose keys are searched.
keySet to the matching private key on success.