Enum ScriptError

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ScriptError>

    public enum ScriptError
    extends java.lang.Enum<ScriptError>
    • Enum Constant Detail

      • SCRIPT_ERR_OK

        public static final ScriptError SCRIPT_ERR_OK
      • SCRIPT_ERR_UNKNOWN_ERROR

        public static final ScriptError SCRIPT_ERR_UNKNOWN_ERROR
      • SCRIPT_ERR_EVAL_FALSE

        public static final ScriptError SCRIPT_ERR_EVAL_FALSE
      • SCRIPT_ERR_OP_RETURN

        public static final ScriptError SCRIPT_ERR_OP_RETURN
      • SCRIPT_ERR_SCRIPT_SIZE

        public static final ScriptError SCRIPT_ERR_SCRIPT_SIZE
      • SCRIPT_ERR_PUSH_SIZE

        public static final ScriptError SCRIPT_ERR_PUSH_SIZE
      • SCRIPT_ERR_OP_COUNT

        public static final ScriptError SCRIPT_ERR_OP_COUNT
      • SCRIPT_ERR_STACK_SIZE

        public static final ScriptError SCRIPT_ERR_STACK_SIZE
      • SCRIPT_ERR_SIG_COUNT

        public static final ScriptError SCRIPT_ERR_SIG_COUNT
      • SCRIPT_ERR_PUBKEY_COUNT

        public static final ScriptError SCRIPT_ERR_PUBKEY_COUNT
      • SCRIPT_ERR_VERIFY

        public static final ScriptError SCRIPT_ERR_VERIFY
      • SCRIPT_ERR_EQUALVERIFY

        public static final ScriptError SCRIPT_ERR_EQUALVERIFY
      • SCRIPT_ERR_CHECKMULTISIGVERIFY

        public static final ScriptError SCRIPT_ERR_CHECKMULTISIGVERIFY
      • SCRIPT_ERR_CHECKSIGVERIFY

        public static final ScriptError SCRIPT_ERR_CHECKSIGVERIFY
      • SCRIPT_ERR_NUMEQUALVERIFY

        public static final ScriptError SCRIPT_ERR_NUMEQUALVERIFY
      • SCRIPT_ERR_BAD_OPCODE

        public static final ScriptError SCRIPT_ERR_BAD_OPCODE
      • SCRIPT_ERR_DISABLED_OPCODE

        public static final ScriptError SCRIPT_ERR_DISABLED_OPCODE
      • SCRIPT_ERR_INVALID_STACK_OPERATION

        public static final ScriptError SCRIPT_ERR_INVALID_STACK_OPERATION
      • SCRIPT_ERR_INVALID_ALTSTACK_OPERATION

        public static final ScriptError SCRIPT_ERR_INVALID_ALTSTACK_OPERATION
      • SCRIPT_ERR_UNBALANCED_CONDITIONAL

        public static final ScriptError SCRIPT_ERR_UNBALANCED_CONDITIONAL
      • SCRIPT_ERR_NEGATIVE_LOCKTIME

        public static final ScriptError SCRIPT_ERR_NEGATIVE_LOCKTIME
      • SCRIPT_ERR_UNSATISFIED_LOCKTIME

        public static final ScriptError SCRIPT_ERR_UNSATISFIED_LOCKTIME
      • SCRIPT_ERR_SIG_HASHTYPE

        public static final ScriptError SCRIPT_ERR_SIG_HASHTYPE
      • SCRIPT_ERR_SIG_DER

        public static final ScriptError SCRIPT_ERR_SIG_DER
      • SCRIPT_ERR_MINIMALDATA

        public static final ScriptError SCRIPT_ERR_MINIMALDATA
      • SCRIPT_ERR_SIG_PUSHONLY

        public static final ScriptError SCRIPT_ERR_SIG_PUSHONLY
      • SCRIPT_ERR_SIG_HIGH_S

        public static final ScriptError SCRIPT_ERR_SIG_HIGH_S
      • SCRIPT_ERR_SIG_NULLDUMMY

        public static final ScriptError SCRIPT_ERR_SIG_NULLDUMMY
      • SCRIPT_ERR_PUBKEYTYPE

        public static final ScriptError SCRIPT_ERR_PUBKEYTYPE
      • SCRIPT_ERR_CLEANSTACK

        public static final ScriptError SCRIPT_ERR_CLEANSTACK
      • SCRIPT_ERR_MINIMALIF

        public static final ScriptError SCRIPT_ERR_MINIMALIF
      • SCRIPT_ERR_SIG_NULLFAIL

        public static final ScriptError SCRIPT_ERR_SIG_NULLFAIL
      • SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS

        public static final ScriptError SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS
      • SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM

        public static final ScriptError SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM
      • SCRIPT_ERR_WITNESS_PROGRAM_WRONG_LENGTH

        public static final ScriptError SCRIPT_ERR_WITNESS_PROGRAM_WRONG_LENGTH
      • SCRIPT_ERR_WITNESS_PROGRAM_WITNESS_EMPTY

        public static final ScriptError SCRIPT_ERR_WITNESS_PROGRAM_WITNESS_EMPTY
      • SCRIPT_ERR_WITNESS_PROGRAM_MISMATCH

        public static final ScriptError SCRIPT_ERR_WITNESS_PROGRAM_MISMATCH
      • SCRIPT_ERR_WITNESS_MALLEATED

        public static final ScriptError SCRIPT_ERR_WITNESS_MALLEATED
      • SCRIPT_ERR_WITNESS_MALLEATED_P2SH

        public static final ScriptError SCRIPT_ERR_WITNESS_MALLEATED_P2SH
      • SCRIPT_ERR_WITNESS_UNEXPECTED

        public static final ScriptError SCRIPT_ERR_WITNESS_UNEXPECTED
      • SCRIPT_ERR_WITNESS_PUBKEYTYPE

        public static final ScriptError SCRIPT_ERR_WITNESS_PUBKEYTYPE
      • SCRIPT_ERR_ERROR_COUNT

        public static final ScriptError SCRIPT_ERR_ERROR_COUNT
    • Method Detail

      • values

        public static ScriptError[] 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 (ScriptError c : ScriptError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ScriptError valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getMnemonic

        public java.lang.String getMnemonic()
      • fromMnemonic

        public static ScriptError fromMnemonic​(java.lang.String name)