Enum Class Protos.TransactionConfidence.Type

java.lang.Object
java.lang.Enum<Protos.TransactionConfidence.Type>
org.bitcoinj.wallet.Protos.TransactionConfidence.Type
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<Protos.TransactionConfidence.Type>, Constable
Enclosing class:
Protos.TransactionConfidence

public static enum Protos.TransactionConfidence.Type extends Enum<Protos.TransactionConfidence.Type> implements com.google.protobuf.Internal.EnumLite
Protobuf enum wallet.TransactionConfidence.Type
  • Enum Constant Details

  • Field Details

    • UNKNOWN_VALUE

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

      public static final int BUILDING_VALUE
       In best chain.  If and only if appeared_at_height is present.
       
      BUILDING = 1;
      See Also:
    • 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:
    • 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:
    • DEAD_VALUE

      public static final int DEAD_VALUE
       Either if overriding_transaction is present or transaction is dead coinbase.
       
      DEAD = 4;
      See Also:
    • 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:
  • Method Details

    • values

      public static Protos.TransactionConfidence.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Protos.TransactionConfidence.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Protos.TransactionConfidence.Type forNumber(int value)
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type> internalGetValueMap()
    • internalGetVerifier

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