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

Function AllInputsMine

src/wallet/receive.cpp:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23bool AllInputsMine(const CWallet& wallet, const CTransaction& tx)
24{
25 LOCK(wallet.cs_wallet);
26 for (const CTxIn& txin : tx.vin) {
27 if (!InputIsMine(wallet, txin)) return false;
28 }
29 return true;
30}
31
32CAmount OutputGetCredit(const CWallet& wallet, const CTxOut& txout)
33{

Callers 1

feebumper.cppFile · 0.85

Calls 1

InputIsMineFunction · 0.85

Tested by

no test coverage detected