wallet::CWallet::WithEncryptionKey

Invoke a callback with the decrypted master key while holding the encryption lock.

Synopsis

Declared in <wallet/wallet.h>

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

Return Value

The value returned by the callback.

Parameters

NameDescription
cbThe callback invoked with the master key material.