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

Function GetOutputsHash

src/script/interpreter.cpp:1238–1245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1236
1237template <class T>
1238uint256 GetOutputsHash(const T& txTo)
1239{
1240 CHashWriter ss(SER_GETHASH, 0);
1241 for (const auto& txout : txTo.vout) {
1242 ss << txout;
1243 }
1244 return ss.GetHash();
1245}
1246
1247} // namespace
1248

Callers 2

SignatureHashFunction · 0.85

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected