Loads an encrypted key from a database record into the wallet.

Synopsis

Declared in <wallet/walletdb.h>

bool
LoadCryptedKey(
    CWallet* pwallet,
    DataStream& ssKey,
    DataStream& ssValue,
    std::string& strErr);

Return Value

true if the key was loaded.

Parameters

Name

Description

pwallet

The wallet to load the key into.

ssKey

Stream with the record key.

ssValue

Stream with the record value.

strErr

Receives an error description on failure.

Created with MrDocs