GetPubKey overloads

Synopses

Declared in <script/signingprovider.h>

Look up a public key by its key id.

virtual
bool
GetPubKey(
    CKeyID const& address,
    CPubKey& pubkey) const;

Look up a public key by its key id across all providers.

virtual
bool
GetPubKey(
    CKeyID const& keyid,
    CPubKey& pubkey) const override;

Return Value

  • True if the public key was found.

  • True if the public key was found in any provider.

Parameters

Name

Description

address

The key id to retrieve the public key for.

pubkey

Set to the matching public key on success.

keyid

The key id to retrieve the public key for.

Created with MrDocs