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

Function GetSequenceHash

src/script/interpreter.cpp:1228–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1226
1227template <class T>
1228uint256 GetSequenceHash(const T& txTo)
1229{
1230 CHashWriter ss(SER_GETHASH, 0);
1231 for (const auto& txin : txTo.vin) {
1232 ss << txin.nSequence;
1233 }
1234 return ss.GetHash();
1235}
1236
1237template <class T>
1238uint256 GetOutputsHash(const T& txTo)

Callers 2

SignatureHashFunction · 0.85

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected