wallet::CachedTxIsTrusted

CachedTxIsTrusted overloads

Synopses

Declared in <wallet/receive.h>

Returns whether a wallet transaction is trusted.

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

Returns whether a wallet transaction is trusted, tracking visited parents.

[[requires_capability(0x7f2e11aff1a0)]]
bool
CachedTxIsTrusted(
    CWallet const& wallet,
    CWalletTx const& wtx,
    std::set<Txid>& trusted_parents);
» more...

Return Value

true if the transaction is trusted.

Parameters

NameDescription
walletThe wallet that owns the transaction.
wtxThe wallet transaction to evaluate.
trusted_parentsSet of parent txids already confirmed trusted, updated in place.