Enum Protos.TransactionConfidence.Type

    • Field Detail

      • UNKNOWN_VALUE

        public static final int UNKNOWN_VALUE
         See TransactionConfidence.java for a more thorough explanation of these types.
         
        UNKNOWN = 0;
        See Also:
        Constant Field Values
      • BUILDING_VALUE

        public static final int BUILDING_VALUE
         In best chain.  If and only if appeared_at_height is present.
         
        BUILDING = 1;
        See Also:
        Constant Field Values
      • PENDING_VALUE

        public static final int PENDING_VALUE
         Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
         
        PENDING = 2;
        See Also:
        Constant Field Values
      • NOT_IN_BEST_CHAIN_VALUE

        public static final int NOT_IN_BEST_CHAIN_VALUE
         Deprecated: equivalent to PENDING.
         
        NOT_IN_BEST_CHAIN = 3;
        See Also:
        Constant Field Values
      • DEAD_VALUE

        public static final int DEAD_VALUE
         Either if overriding_transaction is present or transaction is dead coinbase.
         
        DEAD = 4;
        See Also:
        Constant Field Values
      • IN_CONFLICT_VALUE

        public static final int IN_CONFLICT_VALUE
         There is another transaction spending one of this transaction inputs.
         
        IN_CONFLICT = 5;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static Protos.TransactionConfidence.Type 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
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
      • valueOf

        @Deprecated
        public static Protos.TransactionConfidence.Type valueOf​(int value)
        Deprecated.
        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:
        value - 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
      • internalGetVerifier

        public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()