Package ch.bitagent.bitcoin.lib.script
Enum OpCodeNames
- java.lang.Object
-
- java.lang.Enum<OpCodeNames>
-
- ch.bitagent.bitcoin.lib.script.OpCodeNames
-
- All Implemented Interfaces:
Serializable,Comparable<OpCodeNames>
public enum OpCodeNames extends Enum<OpCodeNames>
OpCodeNames class.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OP_0op 0OP_100_NOTIFop 100OP_103_ELSEop 103OP_105_VERIFYop 105OP_106_RETURNop 106OP_107_TOALTSTACKop 107OP_108_FROMALTSTACKop 108OP_109_2DROPop 109OP_110_2DUPop 110OP_118_DUPop 118OP_124_SWAPop 124OP_135_EQUALop 135OP_136_EQUALVERIFYop 136OP_142_8Eop 142OP_145_NOTop 145OP_147_ADDop 147OP_167_SHA1op 167OP_169_HASH160op 169OP_170_HASH256op 170OP_172_CHECKSIGop 172OP_173_CHECKSIGVERIFYop 173OP_174_CHECKMULTISIGop 174OP_175_CHECKMULTISIGVERIFYop 175OP_184_B8op 184OP_190_BEop 190OP_20_PUSHBYTES_20op 20OP_232_E8op 232OP_250_FAop 250OP_254_FEop 254OP_81op 81OP_82op 82OP_86op 86OP_91_11op 91OP_99_IFop 99
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpCodeNamesfindByCode(Int code)findByCode.IntgetCode()Getter for the fieldcode.StringgetCodeName()Getter for the fieldcodeName.ScriptCmdtoScriptCmd()toScriptCmd.static OpCodeNamesvalueOf(String name)Returns the enum constant of this type with the specified name.static OpCodeNames[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OP_0
public static final OpCodeNames OP_0
op 0
-
OP_20_PUSHBYTES_20
public static final OpCodeNames OP_20_PUSHBYTES_20
op 20
-
OP_81
public static final OpCodeNames OP_81
op 81
-
OP_82
public static final OpCodeNames OP_82
op 82
-
OP_86
public static final OpCodeNames OP_86
op 86
-
OP_91_11
public static final OpCodeNames OP_91_11
op 91
-
OP_99_IF
public static final OpCodeNames OP_99_IF
op 99
-
OP_100_NOTIF
public static final OpCodeNames OP_100_NOTIF
op 100
-
OP_103_ELSE
public static final OpCodeNames OP_103_ELSE
op 103
-
OP_105_VERIFY
public static final OpCodeNames OP_105_VERIFY
op 105
-
OP_106_RETURN
public static final OpCodeNames OP_106_RETURN
op 106
-
OP_107_TOALTSTACK
public static final OpCodeNames OP_107_TOALTSTACK
op 107
-
OP_108_FROMALTSTACK
public static final OpCodeNames OP_108_FROMALTSTACK
op 108
-
OP_109_2DROP
public static final OpCodeNames OP_109_2DROP
op 109
-
OP_110_2DUP
public static final OpCodeNames OP_110_2DUP
op 110
-
OP_118_DUP
public static final OpCodeNames OP_118_DUP
op 118
-
OP_124_SWAP
public static final OpCodeNames OP_124_SWAP
op 124
-
OP_135_EQUAL
public static final OpCodeNames OP_135_EQUAL
op 135
-
OP_136_EQUALVERIFY
public static final OpCodeNames OP_136_EQUALVERIFY
op 136
-
OP_142_8E
public static final OpCodeNames OP_142_8E
op 142
-
OP_145_NOT
public static final OpCodeNames OP_145_NOT
op 145
-
OP_147_ADD
public static final OpCodeNames OP_147_ADD
op 147
-
OP_167_SHA1
public static final OpCodeNames OP_167_SHA1
op 167
-
OP_169_HASH160
public static final OpCodeNames OP_169_HASH160
op 169
-
OP_170_HASH256
public static final OpCodeNames OP_170_HASH256
op 170
-
OP_172_CHECKSIG
public static final OpCodeNames OP_172_CHECKSIG
op 172
-
OP_173_CHECKSIGVERIFY
public static final OpCodeNames OP_173_CHECKSIGVERIFY
op 173
-
OP_174_CHECKMULTISIG
public static final OpCodeNames OP_174_CHECKMULTISIG
op 174
-
OP_175_CHECKMULTISIGVERIFY
public static final OpCodeNames OP_175_CHECKMULTISIGVERIFY
op 175
-
OP_184_B8
public static final OpCodeNames OP_184_B8
op 184
-
OP_190_BE
public static final OpCodeNames OP_190_BE
op 190
-
OP_232_E8
public static final OpCodeNames OP_232_E8
op 232
-
OP_250_FA
public static final OpCodeNames OP_250_FA
op 250
-
OP_254_FE
public static final OpCodeNames OP_254_FE
op 254
-
-
Method Detail
-
values
public static OpCodeNames[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpCodeNames c : OpCodeNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpCodeNames valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
findByCode
public static OpCodeNames findByCode(Int code)
findByCode.
- Parameters:
code- aIntobject- Returns:
- a
OpCodeNamesobject
-
-