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

Name

Description

pubkey

The x‐only pubkey whose keys are searched.

key

Set to the matching private key on success.

Created with MrDocs