Add a private key together with its public key.

Synopsis

Declared in <script/signingprovider.h>

virtual
bool
AddKeyPubKey(
    CKey const& key,
    CPubKey const& pubkey);

Return Value

True if the key was added.

Parameters

Name

Description

key

The private key to add.

pubkey

The public key matching the private key.

Created with MrDocs