public static enum Protos.TransactionConfidence.Type extends Enum<Protos.TransactionConfidence.Type> implements com.google.protobuf.ProtocolMessageEnum
wallet.TransactionConfidence.Type
Enum Constant and Description |
---|
BUILDING
BUILDING = 1; |
DEAD
DEAD = 4; |
IN_CONFLICT
IN_CONFLICT = 5; |
NOT_IN_BEST_CHAIN
NOT_IN_BEST_CHAIN = 3; |
PENDING
PENDING = 2; |
UNKNOWN
UNKNOWN = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
BUILDING_VALUE
BUILDING = 1; |
static int |
DEAD_VALUE
DEAD = 4; |
static int |
IN_CONFLICT_VALUE
IN_CONFLICT = 5; |
static int |
NOT_IN_BEST_CHAIN_VALUE
NOT_IN_BEST_CHAIN = 3; |
static int |
PENDING_VALUE
PENDING = 2; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type> |
internalGetValueMap() |
static Protos.TransactionConfidence.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protos.TransactionConfidence.Type |
valueOf(int value) |
static Protos.TransactionConfidence.Type |
valueOf(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
UNKNOWN = 0;
See TransactionConfidence.java for a more thorough explanation of these types.
public static final Protos.TransactionConfidence.Type BUILDING
BUILDING = 1;
In best chain. If and only if appeared_at_height is present.
public static final Protos.TransactionConfidence.Type PENDING
PENDING = 2;
Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
public static final Protos.TransactionConfidence.Type NOT_IN_BEST_CHAIN
NOT_IN_BEST_CHAIN = 3;
Deprecated: equivalent to PENDING.
public static final Protos.TransactionConfidence.Type DEAD
DEAD = 4;
Either if overriding_transaction is present or transaction is dead coinbase.
public static final Protos.TransactionConfidence.Type IN_CONFLICT
IN_CONFLICT = 5;
There is another transaction spending one of this transaction inputs.
public static final int UNKNOWN_VALUE
UNKNOWN = 0;
See TransactionConfidence.java for a more thorough explanation of these types.
public static final int BUILDING_VALUE
BUILDING = 1;
In best chain. If and only if appeared_at_height is present.
public static final int PENDING_VALUE
PENDING = 2;
Unconfirmed and sitting in the networks memory pools, waiting to be included in the chain.
public static final int NOT_IN_BEST_CHAIN_VALUE
NOT_IN_BEST_CHAIN = 3;
Deprecated: equivalent to PENDING.
public static final int DEAD_VALUE
DEAD = 4;
Either if overriding_transaction is present or transaction is dead coinbase.
public static final int IN_CONFLICT_VALUE
IN_CONFLICT = 5;
There is another transaction spending one of this transaction inputs.
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static Protos.TransactionConfidence.Type valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Protos.TransactionConfidence.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Protos.TransactionConfidence.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2016. All rights reserved.