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

Function OutputIsChange

src/wallet/receive.cpp:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74bool OutputIsChange(const CWallet& wallet, const CTxOut& txout)
75{
76 return ScriptIsChange(wallet, txout.scriptPubKey);
77}
78
79CAmount OutputGetChange(const CWallet& wallet, const CTxOut& txout)
80{

Callers 7

spend.cppFile · 0.85
OutputGetChangeFunction · 0.85
CachedTxGetAmountsFunction · 0.85
GetAddressGroupingsFunction · 0.85
MakeWalletTxFunction · 0.85
gettransactionFunction · 0.85

Calls 1

ScriptIsChangeFunction · 0.85

Tested by

no test coverage detected