public static enum MempoolStatus.MempoolAddTransactionStatusCode extends Enum<MempoolStatus.MempoolAddTransactionStatusCode> implements com.google.protobuf.ProtocolMessageEnum
mempool.MempoolAddTransactionStatusCode| Enum Constant and Description |
|---|
InsufficientBalance
The sender does not have enough balance for the transaction.
|
InvalidSeqNumber
Sequence number is old, etc.
|
InvalidUpdate
Invalid update.
|
MempoolIsFull
Mempool is full (reached max global capacity)
|
TooManyTransactions
Account reached max capacity per account
|
UNRECOGNIZED |
Valid
Transaction was sent to Mempool
|
| Modifier and Type | Field and Description |
|---|---|
static int |
InsufficientBalance_VALUE
The sender does not have enough balance for the transaction.
|
static int |
InvalidSeqNumber_VALUE
Sequence number is old, etc.
|
static int |
InvalidUpdate_VALUE
Invalid update.
|
static int |
MempoolIsFull_VALUE
Mempool is full (reached max global capacity)
|
static int |
TooManyTransactions_VALUE
Account reached max capacity per account
|
static int |
Valid_VALUE
Transaction was sent to Mempool
|
| Modifier and Type | Method and Description |
|---|---|
static MempoolStatus.MempoolAddTransactionStatusCode |
forNumber(int value) |
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<MempoolStatus.MempoolAddTransactionStatusCode> |
internalGetValueMap() |
static MempoolStatus.MempoolAddTransactionStatusCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MempoolStatus.MempoolAddTransactionStatusCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MempoolStatus.MempoolAddTransactionStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MempoolStatus.MempoolAddTransactionStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MempoolStatus.MempoolAddTransactionStatusCode Valid
Transaction was sent to Mempool
Valid = 0;public static final MempoolStatus.MempoolAddTransactionStatusCode InsufficientBalance
The sender does not have enough balance for the transaction.
InsufficientBalance = 1;public static final MempoolStatus.MempoolAddTransactionStatusCode InvalidSeqNumber
Sequence number is old, etc.
InvalidSeqNumber = 2;public static final MempoolStatus.MempoolAddTransactionStatusCode MempoolIsFull
Mempool is full (reached max global capacity)
MempoolIsFull = 3;public static final MempoolStatus.MempoolAddTransactionStatusCode TooManyTransactions
Account reached max capacity per account
TooManyTransactions = 4;public static final MempoolStatus.MempoolAddTransactionStatusCode InvalidUpdate
Invalid update. Only gas price increase is allowed
InvalidUpdate = 5;public static final MempoolStatus.MempoolAddTransactionStatusCode UNRECOGNIZED
public static final int Valid_VALUE
Transaction was sent to Mempool
Valid = 0;public static final int InsufficientBalance_VALUE
The sender does not have enough balance for the transaction.
InsufficientBalance = 1;public static final int InvalidSeqNumber_VALUE
Sequence number is old, etc.
InvalidSeqNumber = 2;public static final int MempoolIsFull_VALUE
Mempool is full (reached max global capacity)
MempoolIsFull = 3;public static final int TooManyTransactions_VALUE
Account reached max capacity per account
TooManyTransactions = 4;public static final int InvalidUpdate_VALUE
Invalid update. Only gas price increase is allowed
InvalidUpdate = 5;public static MempoolStatus.MempoolAddTransactionStatusCode[] values()
for (MempoolStatus.MempoolAddTransactionStatusCode c : MempoolStatus.MempoolAddTransactionStatusCode.values()) System.out.println(c);
public static MempoolStatus.MempoolAddTransactionStatusCode 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static MempoolStatus.MempoolAddTransactionStatusCode valueOf(int value)
forNumber(int) instead.public static MempoolStatus.MempoolAddTransactionStatusCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<MempoolStatus.MempoolAddTransactionStatusCode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static MempoolStatus.MempoolAddTransactionStatusCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.