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

Function GetSequenceHash

src/script/interpreter.cpp:1146–1152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1144}
1145
1146uint256 GetSequenceHash(const CTransaction &txTo) {
1147 CHashWriter ss(SER_GETHASH, 0);
1148 for (unsigned int n = 0; n < txTo.vin.size(); n++) {
1149 ss << txTo.vin[n].nSequence;
1150 }
1151 return ss.GetHash();
1152}
1153
1154uint256 GetOutputsHash(const CTransaction &txTo) {
1155 CHashWriter ss(SER_GETHASH, 0);

Callers 1

SignatureHashFunction · 0.85

Calls 2

sizeMethod · 0.45
GetHashMethod · 0.45

Tested by

no test coverage detected