Callback for updating transaction metadata in mapWallet.
Declared in <wallet/wallet.h>
using UpdateWalletTxFn = std::function<bool(CWalletTx&, bool)>;
true if wtx is changed and needs to be saved to disk, otherwise false
| Name | Description |
|---|---|
| wtx | - reference to mapWallet transaction to update |
| new_tx | - true if wtx is newly inserted, false if it previously existed |