Pass the encryption key to cb().
Declared in <wallet/scriptpubkeyman.h>
virtual
bool
WithEncryptionKey(std::function<bool(CKeyingMaterial const&)> cb) const = 0;
The value returned by cb, or false if the key is unavailable.
| Name | Description |
|---|---|
| cb | Callback invoked with the wallet's master encryption key. |