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

Name

Description

address

The key id to look up.

pubkey_out

Filled with the found public key.

Created with MrDocs