wallet::CachedTxIsFromMe

Returns whether a wallet transaction debits from the wallet.

Synopsis

Declared in <wallet/receive.h>

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

Return Value

true if the wallet is a sender of the transaction.

Parameters

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