GetKey overloads

Synopses

Declared in <wallet/scriptpubkeyman.h>

Look up a private key by its key id.

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

Retrieves the private key for the given address into keyOut.

virtual
bool
GetKey(
    CKeyID const& address,
    CKey& keyOut) const override;

Return Value

  • True if the private key was found.

  • true if the private key was found.

Parameters

Name

Description

address

The key id to retrieve the private key for.

key

Set to the matching private key on success.

keyOut

Filled with the found private key.

Created with MrDocs