public static enum Protos.TransactionConfidence.Type extends java.lang.Enum<Protos.TransactionConfidence.Type> implements com.google.protobuf.Internal.EnumLite
wallet.TransactionConfidence.Type
Enum Constant and Description |
---|
BUILDING
In best chain.
|
DEAD
Either if overriding_transaction is present or transaction is dead coinbase.
|
IN_CONFLICT
There is another transaction spending one of this transaction inputs.
|
NOT_IN_BEST_CHAIN
Deprecated: equivalent to PENDING.
|
PENDING
Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
|
UNKNOWN
See TransactionConfidence.java for a more thorough explanation of these types.
|
Modifier and Type | Field and Description |
---|---|
static int |
BUILDING_VALUE
In best chain.
|
static int |
DEAD_VALUE
Either if overriding_transaction is present or transaction is dead coinbase.
|
static int |
IN_CONFLICT_VALUE
There is another transaction spending one of this transaction inputs.
|
static int |
NOT_IN_BEST_CHAIN_VALUE
Deprecated: equivalent to PENDING.
|
static int |
PENDING_VALUE
Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
|
static int |
UNKNOWN_VALUE
See TransactionConfidence.java for a more thorough explanation of these types.
|
Modifier and Type | Method and Description |
---|---|
static Protos.TransactionConfidence.Type |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static Protos.TransactionConfidence.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protos.TransactionConfidence.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Protos.TransactionConfidence.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protos.TransactionConfidence.Type UNKNOWN
See TransactionConfidence.java for a more thorough explanation of these types.
UNKNOWN = 0;
public static final Protos.TransactionConfidence.Type BUILDING
In best chain. If and only if appeared_at_height is present.
BUILDING = 1;
public static final Protos.TransactionConfidence.Type PENDING
Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
PENDING = 2;
public static final Protos.TransactionConfidence.Type NOT_IN_BEST_CHAIN
Deprecated: equivalent to PENDING.
NOT_IN_BEST_CHAIN = 3;
public static final Protos.TransactionConfidence.Type DEAD
Either if overriding_transaction is present or transaction is dead coinbase.
DEAD = 4;
public static final Protos.TransactionConfidence.Type IN_CONFLICT
There is another transaction spending one of this transaction inputs.
IN_CONFLICT = 5;
public static final int UNKNOWN_VALUE
See TransactionConfidence.java for a more thorough explanation of these types.
UNKNOWN = 0;
public static final int BUILDING_VALUE
In best chain. If and only if appeared_at_height is present.
BUILDING = 1;
public static final int PENDING_VALUE
Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
PENDING = 2;
public static final int NOT_IN_BEST_CHAIN_VALUE
Deprecated: equivalent to PENDING.
NOT_IN_BEST_CHAIN = 3;
public static final int DEAD_VALUE
Either if overriding_transaction is present or transaction is dead coinbase.
DEAD = 4;
public static final int IN_CONFLICT_VALUE
There is another transaction spending one of this transaction inputs.
IN_CONFLICT = 5;
public static Protos.TransactionConfidence.Type[] values()
for (Protos.TransactionConfidence.Type c : Protos.TransactionConfidence.Type.values()) System.out.println(c);
public static Protos.TransactionConfidence.Type 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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
@Deprecated public static Protos.TransactionConfidence.Type valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Protos.TransactionConfidence.Type forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()