Adds a key to the store, without saving it to disk (used by LoadWallet)

Synopsis

Declared in <wallet/scriptpubkeyman.h>

bool
LoadKey(
    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 corresponding to the private key.

Created with MrDocs