SigningProvider::GetPubKeyByXOnly

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

Synopsis

Declared in <script/signingprovider.h>

bool
GetPubKeyByXOnly(
    XOnlyPubKey const& pubkey,
    CPubKey& out) const;

Return Value

True if a public key was found.

Parameters

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