Writes an encrypted private key and its metadata.
Synopsis
Declared in <wallet/walletdb.h>
bool
WriteCryptedKey(
CPubKey const& vchPubKey,
std::vector<unsigned char> const& vchCryptedSecret,
CKeyMetadata const& keyMeta);
Return Value
true if the record was written.
Parameters
Name |
Description |
vchPubKey |
The public key. |
vchCryptedSecret |
The encrypted private key material. |
keyMeta |
The key metadata to store. |
Created with MrDocs