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

Synopsis

Declared in <wallet/receive.h>

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

Return Value

true if the transaction is trusted.

Parameters

Name

Description

wallet

The wallet that owns the transaction.

wtx

The wallet transaction to evaluate.

trusted_parents

Set of parent txids already confirmed trusted, updated in place.

Created with MrDocs