protos/mempool_status.proto in libra_client-0.1.6 vs protos/mempool_status.proto in libra_client-0.1.7
- old
+ new
@@ -3,11 +3,11 @@
syntax = "proto3";
package mempool;
-enum MempoolAddTransactionStatus {
+enum MempoolAddTransactionStatusCode {
// Transaction was sent to Mempool
Valid = 0;
// The sender does not have enough balance for the transaction.
InsufficientBalance = 1;
// Sequence number is old, etc.
@@ -16,6 +16,11 @@
MempoolIsFull = 3;
// Account reached max capacity per account
TooManyTransactions = 4;
// Invalid update. Only gas price increase is allowed
InvalidUpdate = 5;
+}
+
+message MempoolAddTransactionStatus {
+ MempoolAddTransactionStatusCode code = 1;
+ string message = 2;
}