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, unless secrets are hidden.

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 and not hidden.

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