Returns whether the private key for the given key id is present.
Declared in <wallet/scriptpubkeyman.h>
[[requires_capability(0x7f94fd519148), requires_capability(0x7f95058b92e8), requires_capability(0x7f94f1e440a8), requires_capability(0x7f9505cb2dc8), requires_capability(0x7f94f23e45c8), requires_capability(0x7f94fd840d08)]]
bool
HasPrivKey(CKeyID const& keyid) const;
true if the private key is present.
| Name | Description |
|---|---|
| keyid | The key id to look up. |