Returns whether the private key for the given key id is present.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

[[requires_capability(0x7fbc763114a8), requires_capability(0x7fbc812882c8), requires_capability(0x7fbc7d507318), requires_capability(0x7fbc96777a08), requires_capability(0x7fbc846b1aa8), requires_capability(0x7fbc8dc013c8)]]
bool
HasPrivKey(CKeyID const& keyid) const;

Return Value

true if the private key is present.

Parameters

Name

Description

keyid

The key id to look up.

Created with MrDocs