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

Enum Instruction

src/util/asmap.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49enum class Instruction : uint32_t
50{
51 RETURN = 0,
52 JUMP = 1,
53 MATCH = 2,
54 DEFAULT = 3,
55};
56
57const std::vector<uint8_t> TYPE_BIT_SIZES{0, 0, 1};
58Instruction DecodeType(std::vector<bool>::const_iterator& bitpos, const std::vector<bool>::const_iterator& endpos)

Callers 1

DecodeTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected