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

Synopsis

Declared in <wallet/scriptpubkeyman.h>

[[requires_capability(0x7fd7419bb318), requires_capability(0x7fd7453dbd28), requires_capability(0x7fd73d792a28), requires_capability(0x7fd745b55878), requires_capability(0x7fd75f7ec868), requires_capability(0x7fd738e43d88)]]
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