GetPubKey overloads

Synopses

Declared in <wallet/scriptpubkeyman.h>

Look up a public key by its key id.

virtual
bool
GetPubKey(
    CKeyID const& address,
    CPubKey& pubkey) const;

Retrieves the public key for the given address into vchPubKeyOut.

virtual
bool
GetPubKey(
    CKeyID const& address,
    CPubKey& vchPubKeyOut) const override;

Return Value

  • True if the public key was found.

  • true if the public key was found.

Parameters

Name

Description

address

The key id to retrieve the public key for.

pubkey

Set to the matching public key on success.

vchPubKeyOut

Filled with the found public key.

Created with MrDocs