bdledger-apis/bdchain/api/common.proto
Nex 645f0d0f9f Revert "Add error info"
This reverts commit 5b0dc19
2018-10-09 15:42:25 +08:00

21 lines
483 B
Protocol Buffer

syntax = "proto3";
package bdchain.api;
option go_package = "bdchain/api/grpc/common";
option java_package = "bdchain.api.grpc";
option java_outer_classname = "CommonProto";
option java_multiple_files = true;
message ClientVersionResponse {
string version = 1; // 节点客户端版本
}
/* 事务类型 */
enum TransactionType {
RECORD = 0; // 通用数据记录
MESSAGE = 1; // 消息
CONTRACT_CREATION = 2; // 合约创建
CONTRACT_INVOCATION = 3; // 合约调用
}