wallet::ScriptPubKeyMan::Encrypt

Encrypts this ScriptPubKeyMan's keys with the given master key, writing changes to the batch.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

virtual
bool
Encrypt(
    CKeyingMaterial const& master_key,
    WalletBatch* batch);

Return Value

true if the keys were encrypted.

Parameters

NameDescription
master_keyThe master key used to encrypt the keys.
batchThe database batch to write the encrypted keys through.