MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetSpecialScriptSize

Function GetSpecialScriptSize

src/compressor.cpp:86–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86unsigned int GetSpecialScriptSize(unsigned int nSize)
87{
88 if (nSize == 0 || nSize == 1)
89 return 20;
90 if (nSize == 2 || nSize == 3 || nSize == 4 || nSize == 5)
91 return 32;
92 return 0;
93}
94
95bool DecompressScript(CScript& script, unsigned int nSize, const CompressedScript& in)
96{

Callers 2

UnserMethod · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.68