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

Function GetPrevoutHash

src/script/interpreter.cpp:1184–1190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1182};
1183
1184uint256 GetPrevoutHash(const CTransaction& txTo) {
1185 CHashWriter ss(SER_GETHASH, 0);
1186 for (const auto& txin : txTo.vin) {
1187 ss << txin.prevout;
1188 }
1189 return ss.GetHash();
1190}
1191
1192uint256 GetSequenceHash(const CTransaction& txTo) {
1193 CHashWriter ss(SER_GETHASH, 0);

Callers 2

SignatureHashFunction · 0.85

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected