MCPcopy Create free account
hub / github.com/citp/BlockSci / IsSmallInteger

Function IsSmallInteger

tools/parser/script_output.cpp:60–63  ·  view source on GitHub ↗

Test for "small positive integer" script opcodes - OP_1 through OP_16. */

Source from the content-addressed store, hash-verified

58
59/** Test for "small positive integer" script opcodes - OP_1 through OP_16. */
60static constexpr bool IsSmallInteger(opcodetype opcode)
61{
62 return opcode >= OP_1 && opcode <= OP_16;
63}
64
65static bool MatchMultisig(const CScriptView& script, ScriptOutputData<blocksci::AddressType::Enum::MULTISIG> &multisig)
66{

Callers 1

MatchMultisigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected