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

Synopsis

Declared in <wallet/scriptpubkeyman.h>

bool
LoadCryptedKey(
    CPubKey const& vchPubKey,
    std::vector<unsigned char> const& vchCryptedSecret,
    bool checksum_valid);

Return Value

true if the encrypted key was added.

Parameters

Name

Description

vchPubKey

The public key corresponding to the encrypted key.

vchCryptedSecret

The encrypted private key material.

checksum_valid

Whether the stored checksum for the key is valid.

Created with MrDocs