Callback for updating transaction metadata in mapWallet.

Synopsis

Declared in <wallet/wallet.h>

using UpdateWalletTxFn = std::function<bool(CWalletTx&, bool)>;

Return Value

true if wtx is changed and needs to be saved to disk, otherwise false

Parameters

Name

Description

wtx

‐ reference to mapWallet transaction to update

new_tx

‐ true if wtx is newly inserted, false if it previously existed

Created with MrDocs