wallet::LegacySigningProvider::GetPubKey

Retrieves the public key for the given address.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

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

Return Value

true if the public key was found.

Parameters

NameDescription
addressThe key id to look up.
pubkeyFilled with the found public key.