Load private key and check that public key matches.
Declared in <key.h>
bool
Load(
CPrivKey const& privkey,
CPubKey const& vchPubKey,
bool fSkipCheck);
true if the key was loaded successfully.
| Name | Description |
|---|---|
| privkey | The serialized private key to load. |
| vchPubKey | The public key expected to correspond to privkey. |
| fSkipCheck | Whether to skip verifying that the public key matches. |