Pass the encryption key to cb().

Synopsis

Declared in <wallet/scriptpubkeyman.h>

virtual
bool
WithEncryptionKey(std::function<bool(CKeyingMaterial const&)> cb) const = 0;

Return Value

The value returned by cb, or false if the key is unavailable.

Parameters

Name

Description

cb

Callback invoked with the wallet's master encryption key.

Created with MrDocs