Encrypts this spkm's keys with the given master key.
Declared in <wallet/scriptpubkeyman.h>
virtual
bool
Encrypt(
CKeyingMaterial const& master_key,
WalletBatch* batch) override;
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. |