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;

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

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

Return Value

  • True if the private key was found.

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

Parameters

Name

Description

address

The key id to retrieve the private key for.

key

Set to the matching private key on success.

keyid

The key id to retrieve the private key for.

Created with MrDocs