Add a private key together with its public key.
Declared in <script/signingprovider.h>
virtual
bool
AddKeyPubKey(
CKey const& key,
CPubKey const& pubkey);
True if the key was added.
| Name | Description |
|---|---|
| key | The private key to add. |
| pubkey | The public key matching the private key. |