FillableSigningProvider::AddKeyPubKey

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

NameDescription
keyThe private key to add.
pubkeyThe public key matching the private key.