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

Function GetHashType

src/script/interpreter.cpp:174–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174static uint32_t GetHashType(const valtype &vchSig) {
175 if (vchSig.size() == 0) {
176 return 0;
177 }
178
179 return vchSig[vchSig.size() - 1];
180}
181
182static void CleanupScriptCode(CScript &scriptCode,
183 const std::vector<unsigned char> &vchSig,

Callers 4

CleanupScriptCodeFunction · 0.85
CheckSignatureEncodingFunction · 0.85
CheckSigMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected