MultiSigningProvider::GetPubKey

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;
» more...

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

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

Return Value

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

Parameters

NameDescription
addressThe key id to retrieve the public key for.
pubkeySet to the matching public key on success.
keyidThe key id to retrieve the public key for.