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

Synopsis

Declared in <wallet/scriptpubkeyman.h>

[[requires_capability(0x7ff371803af8), requires_capability(0x7ff365630f58), requires_capability(0x7ff35d350ad8), requires_capability(0x7ff365aaaa48), requires_capability(0x7ff379b45e58), requires_capability(0x7ff37e1e2508)]]
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