| 194 | } |
| 195 | |
| 196 | bool CachedTxIsFromMe(const CWallet& wallet, const CWalletTx& wtx) |
| 197 | { |
| 198 | if (!wtx.m_cached_from_me.has_value()) { |
| 199 | wtx.m_cached_from_me = wallet.IsFromMe(*wtx.tx); |
| 200 | } |
| 201 | return wtx.m_cached_from_me.value(); |
| 202 | } |
| 203 | |
| 204 | // NOLINTNEXTLINE(misc-no-recursion) |
| 205 | bool CachedTxIsTrusted(const CWallet& wallet, const CWalletTx& wtx, std::set<Txid>& trusted_parents) |
no test coverage detected