MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsFromMe

Method IsFromMe

src/wallet/wallet.cpp:1702–1709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1700}
1701
1702bool CWallet::IsFromMe(const CTransaction& tx) const
1703{
1704 LOCK(cs_wallet);
1705 for (const CTxIn& txin : tx.vin) {
1706 if (GetTXO(txin.prevout)) return true;
1707 }
1708 return false;
1709}
1710
1711CAmount CWallet::GetDebit(const CTransaction& tx) const
1712{

Callers 2

ApplyMigrationDataMethod · 0.80
CachedTxIsFromMeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected