MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / GetOutputsHash

Function GetOutputsHash

src/script/interpreter.cpp:1154–1160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152}
1153
1154uint256 GetOutputsHash(const CTransaction &txTo) {
1155 CHashWriter ss(SER_GETHASH, 0);
1156 for (unsigned int n = 0; n < txTo.vout.size(); n++) {
1157 ss << txTo.vout[n];
1158 }
1159 return ss.GetHash();
1160}
1161
1162} // anon namespace
1163

Callers 1

SignatureHashFunction · 0.85

Calls 2

sizeMethod · 0.45
GetHashMethod · 0.45

Tested by

no test coverage detected