Changeset View
Changeset View
Standalone View
Standalone View
src/script/script.h
Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | enum opcodetype { | ||||
// The first op_code value after all defined opcodes | // The first op_code value after all defined opcodes | ||||
FIRST_UNDEFINED_OP_VALUE, | FIRST_UNDEFINED_OP_VALUE, | ||||
// multi-byte opcodes | // multi-byte opcodes | ||||
OP_PREFIX_BEGIN = 0xf0, | OP_PREFIX_BEGIN = 0xf0, | ||||
OP_PREFIX_END = 0xf7, | OP_PREFIX_END = 0xf7, | ||||
// template matching params | |||||
OP_SMALLINTEGER = 0xfa, | |||||
OP_PUBKEYS = 0xfb, | |||||
OP_PUBKEYHASH = 0xfd, | |||||
OP_PUBKEY = 0xfe, | |||||
OP_INVALIDOPCODE = 0xff, | OP_INVALIDOPCODE = 0xff, | ||||
}; | }; | ||||
const char *GetOpName(opcodetype opcode); | const char *GetOpName(opcodetype opcode); | ||||
class scriptnum_error : public std::runtime_error { | class scriptnum_error : public std::runtime_error { | ||||
public: | public: | ||||
explicit scriptnum_error(const std::string &str) | explicit scriptnum_error(const std::string &str) | ||||
▲ Show 20 Lines • Show All 491 Lines • Show Last 20 Lines |