Returns whether the private key for the given key id is present.
Declared in <wallet/scriptpubkeyman.h>
[[requires_capability(0x7f2e1dcac698), requires_capability(0x7f2e111ba8b8), requires_capability(0x7f2e15ef1878), requires_capability(0x7f2e237306d8), requires_capability(0x7f2e26613298), requires_capability(0x7f2e2357e188)]]
bool
HasPrivKey(CKeyID const& keyid) const;
true if the private key is present.
| Name | Description |
|---|---|
| keyid | The key id to look up. |