Package org.bitcoinj.wallet
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIn best chain.Either if overriding_transaction is present or transaction is dead coinbase.There is another transaction spending one of this transaction inputs.Deprecated: equivalent to PENDING.Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.See TransactionConfidence.java for a more thorough explanation of these types. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
In best chain.static final int
Either if overriding_transaction is present or transaction is dead coinbase.static final int
There is another transaction spending one of this transaction inputs.static final int
Deprecated: equivalent to PENDING.static final int
Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.static final int
See TransactionConfidence.java for a more thorough explanation of these types. -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type>
static com.google.protobuf.Internal.EnumVerifier
valueOf
(int value) Deprecated.Returns the enum constant of this class with the specified name.static Protos.TransactionConfidence.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
See TransactionConfidence.java for a more thorough explanation of these types.
UNKNOWN = 0;
-
BUILDING
In best chain. If and only if appeared_at_height is present.
BUILDING = 1;
-
PENDING
Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
PENDING = 2;
-
NOT_IN_BEST_CHAIN
Deprecated: equivalent to PENDING.
NOT_IN_BEST_CHAIN = 3;
-
DEAD
Either if overriding_transaction is present or transaction is dead coinbase.
DEAD = 4;
-
IN_CONFLICT
There is another transaction spending one of this transaction inputs.
IN_CONFLICT = 5;
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUESee TransactionConfidence.java for a more thorough explanation of these types.
UNKNOWN = 0;
- See Also:
-
BUILDING_VALUE
public static final int BUILDING_VALUEIn best chain. If and only if appeared_at_height is present.
BUILDING = 1;
- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEUnconfirmed 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_VALUEDeprecated: equivalent to PENDING.
NOT_IN_BEST_CHAIN = 3;
- See Also:
-
DEAD_VALUE
public static final int DEAD_VALUEEither if overriding_transaction is present or transaction is dead coinbase.
DEAD = 4;
- See Also:
-
IN_CONFLICT_VALUE
public static final int IN_CONFLICT_VALUEThere is another transaction spending one of this transaction inputs.
IN_CONFLICT = 5;
- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
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 nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-