| Enum Constant and Description |
|---|
CHECKMULTISIG
A set of n public keys (an array or value n followed by n pubkeys) is validated
against a set of m signatures (an array or value m followed by m signatures).
|
CHECKSIG
The publickey and signature are taken from main stack.
|
HASH160
The input is hashed using Hash160: first with SHA-256 and then with RIPEMD-160.
|
HASH256
The input is hashed using Hash256: twice with SHA-256.
|
PUSH0
An empty array of bytes is pushed onto the stack.
|
PUSH1
The number 1 is pushed onto the stack.
|
PUSH10
The number 10 is pushed onto the stack.
|
PUSH11
The number 11 is pushed onto the stack.
|
PUSH12
The number 12 is pushed onto the stack.
|
PUSH13
The number 13 is pushed onto the stack.
|
PUSH14
The number 14 is pushed onto the stack.
|
PUSH15
The number 15 is pushed onto the stack.
|
PUSH16
The number 16 is pushed onto the stack.
|
PUSH2
The number 2 is pushed onto the stack.
|
PUSH3
The number 3 is pushed onto the stack.
|
PUSH4
The number 4 is pushed onto the stack.
|
PUSH5
The number 5 is pushed onto the stack.
|
PUSH6
The number 6 is pushed onto the stack.
|
PUSH7
The number 7 is pushed onto the stack.
|
PUSH8
The number 8 is pushed onto the stack.
|
PUSH9
The number 9 is pushed onto the stack.
|
PUSHBYTES1
0x01-0x4B The next opcode bytes is data to be pushed onto the stack
|
PUSHBYTES33 |
PUSHBYTES64 |
PUSHBYTES75 |
PUSHDATA1
The next byte contains the number of bytes to be pushed onto the stack.
|
PUSHDATA2
The next two bytes contain the number of bytes to be pushed onto the stack.
|
PUSHDATA4
The next four bytes contain the number of bytes to be pushed onto the stack.
|
PUSHF |
PUSHM1
The number -1 is pushed onto the stack.
|
PUSHT |
SHA1
The input is hashed using SHA-1.
|
SHA256
The input is hashed using SHA-256.
|
VERIFY
The publickey, signature and message are taken from main stack.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getValue() |
static java.lang.String |
toHexString(OpCode opCode) |
java.lang.String |
toString() |
static OpCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpCode PUSH0
public static final OpCode PUSHF
public static final OpCode PUSHBYTES1
public static final OpCode PUSHBYTES33
public static final OpCode PUSHBYTES64
public static final OpCode PUSHBYTES75
public static final OpCode PUSHDATA1
public static final OpCode PUSHDATA2
public static final OpCode PUSHDATA4
public static final OpCode PUSHM1
public static final OpCode PUSH1
public static final OpCode PUSHT
public static final OpCode PUSH2
public static final OpCode PUSH3
public static final OpCode PUSH4
public static final OpCode PUSH5
public static final OpCode PUSH6
public static final OpCode PUSH7
public static final OpCode PUSH8
public static final OpCode PUSH9
public static final OpCode PUSH10
public static final OpCode PUSH11
public static final OpCode PUSH12
public static final OpCode PUSH13
public static final OpCode PUSH14
public static final OpCode PUSH15
public static final OpCode PUSH16
public static final OpCode SHA1
public static final OpCode SHA256
public static final OpCode HASH160
public static final OpCode HASH256
public static final OpCode CHECKSIG
public static final OpCode VERIFY
public static final OpCode CHECKMULTISIG
public static OpCode[] values()
for (OpCode c : OpCode.values()) System.out.println(c);
public static OpCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte getValue()
public static java.lang.String toHexString(OpCode opCode)
public java.lang.String toString()
toString in class java.lang.Enum<OpCode>