Encrypts this ScriptPubKeyMan's keys with the given master key, writing changes to the batch.
Declared in <wallet/scriptpubkeyman.h>
virtual
bool
Encrypt(
CKeyingMaterial const& master_key,
WalletBatch* batch);
true if the keys were encrypted.
| Name | Description |
|---|---|
| master_key | The master key used to encrypt the keys. |
| batch | The database batch to write the encrypted keys through. |