Changeset View
Changeset View
Standalone View
Standalone View
src/script/script.h
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | enum opcodetype { | ||||
OP_PICK = 0x79, | OP_PICK = 0x79, | ||||
OP_ROLL = 0x7a, | OP_ROLL = 0x7a, | ||||
OP_ROT = 0x7b, | OP_ROT = 0x7b, | ||||
OP_SWAP = 0x7c, | OP_SWAP = 0x7c, | ||||
OP_TUCK = 0x7d, | OP_TUCK = 0x7d, | ||||
// splice ops | // splice ops | ||||
OP_CAT = 0x7e, | OP_CAT = 0x7e, | ||||
OP_SUBSTR = 0x7f, | OP_SPLIT = 0x7f, // after monolith upgrade (May 2018) | ||||
OP_LEFT = 0x80, | OP_NUM2BIN = 0x80, // after monolith upgrade (May 2018) | ||||
OP_RIGHT = 0x81, | OP_BIN2NUM = 0x81, // after monolith upgrade (May 2018) | ||||
OP_SIZE = 0x82, | OP_SIZE = 0x82, | ||||
// bit logic | // bit logic | ||||
OP_INVERT = 0x83, | OP_INVERT = 0x83, | ||||
OP_AND = 0x84, | OP_AND = 0x84, | ||||
OP_OR = 0x85, | OP_OR = 0x85, | ||||
OP_XOR = 0x86, | OP_XOR = 0x86, | ||||
OP_EQUAL = 0x87, | OP_EQUAL = 0x87, | ||||
▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | enum opcodetype { | ||||
OP_NOP4 = 0xb3, | OP_NOP4 = 0xb3, | ||||
OP_NOP5 = 0xb4, | OP_NOP5 = 0xb4, | ||||
OP_NOP6 = 0xb5, | OP_NOP6 = 0xb5, | ||||
OP_NOP7 = 0xb6, | OP_NOP7 = 0xb6, | ||||
OP_NOP8 = 0xb7, | OP_NOP8 = 0xb7, | ||||
OP_NOP9 = 0xb8, | OP_NOP9 = 0xb8, | ||||
OP_NOP10 = 0xb9, | OP_NOP10 = 0xb9, | ||||
// the first op_code value after all defined opcodes | |||||
FIRST_UNDEFINED_OP_VALUE, | |||||
// template matching params | // template matching params | ||||
OP_SMALLINTEGER = 0xfa, | OP_SMALLINTEGER = 0xfa, | ||||
OP_PUBKEYS = 0xfb, | OP_PUBKEYS = 0xfb, | ||||
OP_PUBKEYHASH = 0xfd, | OP_PUBKEYHASH = 0xfd, | ||||
OP_PUBKEY = 0xfe, | OP_PUBKEY = 0xfe, | ||||
OP_INVALIDOPCODE = 0xff, | OP_INVALIDOPCODE = 0xff, | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 464 Lines • Show Last 20 Lines |