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

Name

Description

master_key

The master key used to encrypt the keys.

batch

The database batch to write the encrypted keys through.

Created with MrDocs