Loads a master encryption key from a database record into the wallet.
Declared in <wallet/walletdb.h>
bool
LoadEncryptionKey(
CWallet* pwallet,
DataStream& ssKey,
DataStream& ssValue,
std::string& strErr);
true if the key was loaded.
| 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. |