wallet::CachedTxIsTrusted

Returns whether a wallet transaction is trusted.

Synopsis

Declared in <wallet/receive.h>

bool
CachedTxIsTrusted(
    CWallet const& wallet,
    CWalletTx const& wtx);

Return Value

true if the transaction is trusted.

Parameters

NameDescription
walletThe wallet that owns the transaction.
wtxThe wallet transaction to evaluate.