[#wallet-CachedTxIsTrusted-04] = xref:wallet.adoc[wallet]::CachedTxIsTrusted :relfileprefix: ../ :mrdocs: `CachedTxIsTrusted` overloads == Synopses Declared in `<wallet/receive.h>` Returns whether a wallet transaction is trusted. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:wallet/CachedTxIsTrusted-0c.adoc[CachedTxIsTrusted]( xref:wallet/CWallet.adoc[CWallet] const& wallet, xref:wallet/CWalletTx.adoc[CWalletTx] const& wtx); ---- [.small]#xref:wallet/CachedTxIsTrusted-0c.adoc[_» more..._]# Returns whether a wallet transaction is trusted, tracking visited parents. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e11aff1a0)]] bool xref:wallet/CachedTxIsTrusted-0e.adoc[CachedTxIsTrusted]( xref:wallet/CWallet.adoc[CWallet] const& wallet, xref:wallet/CWalletTx.adoc[CWalletTx] const& wtx, std::set<Txid>& trusted_parents); ---- [.small]#xref:wallet/CachedTxIsTrusted-0e.adoc[_» more..._]# == Return Value true if the transaction is trusted. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#