wallet::LegacyDataSPKM::LoadKey

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

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