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

Function GetSequenceHash

src/script/interpreter.cpp:1192–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1190}
1191
1192uint256 GetSequenceHash(const CTransaction& txTo) {
1193 CHashWriter ss(SER_GETHASH, 0);
1194 for (const auto& txin : txTo.vin) {
1195 ss << txin.nSequence;
1196 }
1197 return ss.GetHash();
1198}
1199
1200uint256 GetOutputsHash(const CTransaction& txTo) {
1201 CHashWriter ss(SER_GETHASH, 0);

Callers 2

SignatureHashFunction · 0.85

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected