MultiSigningProvider::GetKey

GetKey overloads

Synopses

Declared in <script/signingprovider.h>

Look up a private key by its key id.

virtual
bool
GetKey(
    CKeyID const& address,
    CKey& key) const;
» more...

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

virtual
bool
GetKey(
    CKeyID const& keyid,
    CKey& key) const override;
» more...

Return Value

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

Parameters

NameDescription
addressThe key id to retrieve the private key for.
keySet to the matching private key on success.
keyidThe key id to retrieve the private key for.