MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetOutputsHash

Function GetOutputsHash

src/script/interpreter.cpp:1200–1206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1198}
1199
1200uint256 GetOutputsHash(const CTransaction& txTo) {
1201 CHashWriter ss(SER_GETHASH, 0);
1202 for (const auto& txout : txTo.vout) {
1203 ss << txout;
1204 }
1205 return ss.GetHash();
1206}
1207
1208} // anon namespace
1209

Callers 2

SignatureHashFunction · 0.85

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected