public enum ScriptError extends java.lang.Enum<ScriptError>
Modifier and Type | Method and Description |
---|---|
static ScriptError |
fromMnemonic(java.lang.String name) |
java.lang.String |
getMnemonic() |
static ScriptError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScriptError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptError SCRIPT_ERR_OK
public static final ScriptError SCRIPT_ERR_UNKNOWN_ERROR
public static final ScriptError SCRIPT_ERR_EVAL_FALSE
public static final ScriptError SCRIPT_ERR_OP_RETURN
public static final ScriptError SCRIPT_ERR_SCRIPT_SIZE
public static final ScriptError SCRIPT_ERR_PUSH_SIZE
public static final ScriptError SCRIPT_ERR_OP_COUNT
public static final ScriptError SCRIPT_ERR_STACK_SIZE
public static final ScriptError SCRIPT_ERR_SIG_COUNT
public static final ScriptError SCRIPT_ERR_PUBKEY_COUNT
public static final ScriptError SCRIPT_ERR_VERIFY
public static final ScriptError SCRIPT_ERR_EQUALVERIFY
public static final ScriptError SCRIPT_ERR_CHECKMULTISIGVERIFY
public static final ScriptError SCRIPT_ERR_CHECKSIGVERIFY
public static final ScriptError SCRIPT_ERR_NUMEQUALVERIFY
public static final ScriptError SCRIPT_ERR_BAD_OPCODE
public static final ScriptError SCRIPT_ERR_DISABLED_OPCODE
public static final ScriptError SCRIPT_ERR_INVALID_STACK_OPERATION
public static final ScriptError SCRIPT_ERR_INVALID_ALTSTACK_OPERATION
public static final ScriptError SCRIPT_ERR_UNBALANCED_CONDITIONAL
public static final ScriptError SCRIPT_ERR_NEGATIVE_LOCKTIME
public static final ScriptError SCRIPT_ERR_UNSATISFIED_LOCKTIME
public static final ScriptError SCRIPT_ERR_SIG_HASHTYPE
public static final ScriptError SCRIPT_ERR_SIG_DER
public static final ScriptError SCRIPT_ERR_MINIMALDATA
public static final ScriptError SCRIPT_ERR_SIG_PUSHONLY
public static final ScriptError SCRIPT_ERR_SIG_HIGH_S
public static final ScriptError SCRIPT_ERR_SIG_NULLDUMMY
public static final ScriptError SCRIPT_ERR_PUBKEYTYPE
public static final ScriptError SCRIPT_ERR_CLEANSTACK
public static final ScriptError SCRIPT_ERR_MINIMALIF
public static final ScriptError SCRIPT_ERR_SIG_NULLFAIL
public static final ScriptError SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS
public static final ScriptError SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM
public static final ScriptError SCRIPT_ERR_WITNESS_PROGRAM_WRONG_LENGTH
public static final ScriptError SCRIPT_ERR_WITNESS_PROGRAM_WITNESS_EMPTY
public static final ScriptError SCRIPT_ERR_WITNESS_PROGRAM_MISMATCH
public static final ScriptError SCRIPT_ERR_WITNESS_MALLEATED
public static final ScriptError SCRIPT_ERR_WITNESS_MALLEATED_P2SH
public static final ScriptError SCRIPT_ERR_WITNESS_UNEXPECTED
public static final ScriptError SCRIPT_ERR_WITNESS_PUBKEYTYPE
public static final ScriptError SCRIPT_ERR_ERROR_COUNT
public static ScriptError[] values()
for (ScriptError c : ScriptError.values()) System.out.println(c);
public static ScriptError 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 java.lang.String getMnemonic()
public static ScriptError fromMnemonic(java.lang.String name)