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

Name

Description

pubkey

The x‐only pubkey whose keys are searched.

out

Set to the matching public key on success.

Created with MrDocs