Fix code style
This commit is contained in:
@@ -8,21 +8,21 @@ option java_outer_classname = "CommonProto";
|
||||
option java_multiple_files = true;
|
||||
|
||||
message Error {
|
||||
string code = 1; // One of a server-defined set of error codes.
|
||||
string message = 2; // A human-readable representation of the error.
|
||||
string target = 3; // The target of the error.
|
||||
repeated Error details = 4; // An array of details about specific errors that led to this reported error.
|
||||
string code = 1; // One of a server-defined set of error codes.
|
||||
string message = 2; // A human-readable representation of the error.
|
||||
string target = 3; // The target of the error.
|
||||
repeated Error details = 4; // An array of details about specific errors that led to this reported error.
|
||||
}
|
||||
|
||||
message ClientVersionResponse {
|
||||
Error error = 1;
|
||||
string version = 2; // 节点客户端版本
|
||||
Error error = 1;
|
||||
string version = 2; // 节点客户端版本
|
||||
}
|
||||
|
||||
/* 事务类型 */
|
||||
enum TransactionType {
|
||||
RECORD = 0; // 通用数据记录
|
||||
MESSAGE = 1; // 消息
|
||||
CONTRACT_CREATION = 2; // 合约创建
|
||||
CONTRACT_INVOCATION = 3; // 合约调用
|
||||
RECORD = 0; // 通用数据记录
|
||||
MESSAGE = 1; // 消息
|
||||
CONTRACT_CREATION = 2; // 合约创建
|
||||
CONTRACT_INVOCATION = 3; // 合约调用
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user