FlatSigningProvider::GetKey

Look up a private key by its key id.

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.

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

Return Value

True if the private key was found.

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.