unknow op_codes decoding
This commit is contained in:
parent
40d4af264a
commit
b138e58ed1
@ -151,6 +151,9 @@ OPCODE["OP_INVALIDOPCODE"] = 0xff
|
||||
RAW_OPCODE = dict((OPCODE[i], i) for i in OPCODE)
|
||||
BYTE_OPCODE = dict((i, bytes([OPCODE[i]])) for i in OPCODE)
|
||||
HEX_OPCODE = dict((i, bytes([OPCODE[i]]).hex()) for i in OPCODE)
|
||||
for i in range(256):
|
||||
if i not in RAW_OPCODE:
|
||||
RAW_OPCODE[i]="OP_UNKNOWN"
|
||||
|
||||
OP_FALSE = BYTE_OPCODE["OP_FALSE"]
|
||||
OP_0 = BYTE_OPCODE["OP_0"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user