wallet::LegacyDataSPKM::GetWatchPubKey

Fetches a pubkey from mapWatchKeys if it exists there

Synopsis

Declared in <wallet/scriptpubkeyman.h>

bool
GetWatchPubKey(
    CKeyID const& address,
    CPubKey& pubkey_out) const;

Return Value

true if a matching public key was found.

Parameters

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