Commit d45ebb4a authored by jiangpeng's avatar jiangpeng Committed by 33cn

protobuf:update version 1.4.3

parent 739e84e4
...@@ -3,6 +3,7 @@ syntax = "proto3"; ...@@ -3,6 +3,7 @@ syntax = "proto3";
import "transaction.proto"; import "transaction.proto";
package types; package types;
option go_package = "../types";
message Accountmanager { message Accountmanager {
} }
......
...@@ -11,6 +11,7 @@ import "rule.proto"; ...@@ -11,6 +11,7 @@ import "rule.proto";
import "change.proto"; import "change.proto";
package types; package types;
option go_package = "../types";
// message for execs.Autonomy // message for execs.Autonomy
message AutonomyAction { message AutonomyAction {
...@@ -41,4 +42,4 @@ message AutonomyAction { ...@@ -41,4 +42,4 @@ message AutonomyAction {
TerminateProposalChange tmintPropChange = 19; TerminateProposalChange tmintPropChange = 19;
} }
int32 ty = 20; int32 ty = 20;
} }
\ No newline at end of file
...@@ -7,6 +7,7 @@ syntax = "proto3"; ...@@ -7,6 +7,7 @@ syntax = "proto3";
import "lcommon.proto"; import "lcommon.proto";
package types; package types;
option go_package = "../types";
message AutonomyProposalBoard { message AutonomyProposalBoard {
ProposalBoard propBoard = 1; ProposalBoard propBoard = 1;
...@@ -79,4 +80,4 @@ message ReqQueryProposalBoard { ...@@ -79,4 +80,4 @@ message ReqQueryProposalBoard {
message ReplyQueryProposalBoard { message ReplyQueryProposalBoard {
repeated AutonomyProposalBoard propBoards = 1; repeated AutonomyProposalBoard propBoards = 1;
} }
\ No newline at end of file
...@@ -7,6 +7,7 @@ syntax = "proto3"; ...@@ -7,6 +7,7 @@ syntax = "proto3";
import "lcommon.proto"; import "lcommon.proto";
package types; package types;
option go_package = "../types";
message AutonomyProposalChange { message AutonomyProposalChange {
ProposalChange propChange = 1; ProposalChange propChange = 1;
...@@ -82,4 +83,4 @@ message ReqQueryProposalChange { ...@@ -82,4 +83,4 @@ message ReqQueryProposalChange {
message ReplyQueryProposalChange { message ReplyQueryProposalChange {
repeated AutonomyProposalChange propChanges = 1; repeated AutonomyProposalChange propChanges = 1;
} }
\ No newline at end of file
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
message VoteResult { message VoteResult {
// 总票数 // 总票数
...@@ -50,4 +51,4 @@ message ActiveBoard { ...@@ -50,4 +51,4 @@ message ActiveBoard {
repeated string revboards = 2; repeated string revboards = 2;
int64 amount = 3; int64 amount = 3;
int64 startHeight = 4; int64 startHeight = 4;
} }
\ No newline at end of file
...@@ -7,6 +7,7 @@ syntax = "proto3"; ...@@ -7,6 +7,7 @@ syntax = "proto3";
import "lcommon.proto"; import "lcommon.proto";
package types; package types;
option go_package = "../types";
message AutonomyProposalProject { message AutonomyProposalProject {
ProposalProject propProject = 1; ProposalProject propProject = 1;
...@@ -93,4 +94,4 @@ message ReqQueryProposalProject { ...@@ -93,4 +94,4 @@ message ReqQueryProposalProject {
message ReplyQueryProposalProject { message ReplyQueryProposalProject {
repeated AutonomyProposalProject propProjects = 1; repeated AutonomyProposalProject propProjects = 1;
} }
\ No newline at end of file
...@@ -7,6 +7,7 @@ syntax = "proto3"; ...@@ -7,6 +7,7 @@ syntax = "proto3";
import "lcommon.proto"; import "lcommon.proto";
package types; package types;
option go_package = "../types";
message AutonomyProposalRule { message AutonomyProposalRule {
ProposalRule propRule = 1; ProposalRule propRule = 1;
...@@ -113,4 +114,4 @@ message RelationCmt { ...@@ -113,4 +114,4 @@ message RelationCmt {
message ReplyQueryProposalComment { message ReplyQueryProposalComment {
repeated RelationCmt rltCmt = 1; repeated RelationCmt rltCmt = 1;
} }
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -3,6 +3,7 @@ syntax = "proto3"; ...@@ -3,6 +3,7 @@ syntax = "proto3";
import "transaction.proto"; import "transaction.proto";
package types; package types;
option go_package = "../types";
message AddressResult { message AddressResult {
string addr = 1; string addr = 1;
...@@ -197,4 +198,4 @@ service blackwhite { ...@@ -197,4 +198,4 @@ service blackwhite {
//交易接口 //交易接口
rpc Play(BlackwhitePlay) returns (UnsignTx) {} rpc Play(BlackwhitePlay) returns (UnsignTx) {}
rpc TimeoutDone(BlackwhiteTimeoutDone) returns (UnsignTx) {} rpc TimeoutDone(BlackwhiteTimeoutDone) returns (UnsignTx) {}
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
message Cert { message Cert {
bytes certId = 1; bytes certId = 1;
...@@ -51,4 +52,4 @@ message ReqQueryValidCertSN { ...@@ -51,4 +52,4 @@ message ReqQueryValidCertSN {
message RepQueryValidCertSN { message RepQueryValidCertSN {
bytes sn = 1; bytes sn = 1;
} }
\ No newline at end of file
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
import "transaction.proto"; import "transaction.proto";
option go_package = "types";
// message for execs.coinsx // message for execs.coinsx
message CoinsxAction { message CoinsxAction {
oneof value { oneof value {
...@@ -66,4 +65,4 @@ message CoinsConfig { ...@@ -66,4 +65,4 @@ message CoinsConfig {
TransferFlagConfig transferFlag = 2; TransferFlagConfig transferFlag = 2;
ManagerAccountsConfig managerAccounts = 3; ManagerAccountsConfig managerAccounts = 3;
} }
} }
\ No newline at end of file
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
// 放贷信息 // 放贷信息
message Collateralize { message Collateralize {
...@@ -219,4 +220,4 @@ message RepCollateralizePrice { ...@@ -219,4 +220,4 @@ message RepCollateralizePrice {
// 返回用户借贷总额 // 返回用户借贷总额
message RepCollateralizeUserBalance { message RepCollateralizeUserBalance {
int64 balance = 1; //返回用户借贷总额 int64 balance = 1; //返回用户借贷总额
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
// CandidatorInfo 候选节点信息 // CandidatorInfo 候选节点信息
message CandidatorInfo { message CandidatorInfo {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package echo; package echo;
option go_package = "../types";
// ping操作action // ping操作action
message Ping { message Ping {
...@@ -37,4 +38,4 @@ message Query { ...@@ -37,4 +38,4 @@ message Query {
message QueryResult { message QueryResult {
string msg = 1; string msg = 1;
int32 count = 2; int32 count = 2;
} }
\ No newline at end of file
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
//合约对象信息 //合约对象信息
message EVMContractObject { message EVMContractObject {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
message Exchange {} message Exchange {}
......
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
message Game { message Game {
//默认是由创建这局游戏的txHash作为gameId //默认是由创建这局游戏的txHash作为gameId
......
This diff is collapsed.
...@@ -3,6 +3,7 @@ syntax = "proto3"; ...@@ -3,6 +3,7 @@ syntax = "proto3";
import "transaction.proto"; import "transaction.proto";
package types; package types;
option go_package = "../types";
// GuessGame 竞猜游戏详情 // GuessGame 竞猜游戏详情
message GuessGame { message GuessGame {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
message Hashlock { message Hashlock {
bytes hashlockId = 1; bytes hashlockId = 1;
...@@ -50,4 +51,4 @@ message HashlockAction { ...@@ -50,4 +51,4 @@ message HashlockAction {
HashlockUnlock hunlock = 3; HashlockUnlock hunlock = 3;
} }
int32 ty = 4; int32 ty = 4;
} }
\ No newline at end of file
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
// 发行信息 // 发行信息
message Issuance { message Issuance {
...@@ -177,4 +178,4 @@ message RepIssuancePrice { ...@@ -177,4 +178,4 @@ message RepIssuancePrice {
// 返回用户发行总额 // 返回用户发行总额
message RepIssuanceUserBalance { message RepIssuanceUserBalance {
int64 balance = 1; //返回用户发行总额 int64 balance = 1; //返回用户发行总额
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package jsproto; package jsproto;
option go_package = "../jsproto";
// create action // create action
message Create { message Create {
...@@ -28,4 +29,4 @@ message JsLog { ...@@ -28,4 +29,4 @@ message JsLog {
message QueryResult { message QueryResult {
string data = 1; string data = 1;
} }
\ No newline at end of file
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
message PurchaseRecord { message PurchaseRecord {
int64 amount = 1; int64 amount = 1;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
import "account.proto"; import "account.proto";
package types; package types;
option go_package = "../types";
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// message for multisig start///////////////////////////////////////////////////// // message for multisig start/////////////////////////////////////////////////////
...@@ -342,4 +343,4 @@ message OwnerAttr { ...@@ -342,4 +343,4 @@ message OwnerAttr {
message OwnerAttrs { message OwnerAttrs {
repeated OwnerAttr items = 1; repeated OwnerAttr items = 1;
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
message Norm { message Norm {
bytes normId = 1; bytes normId = 1;
...@@ -22,4 +23,4 @@ message NormPut { ...@@ -22,4 +23,4 @@ message NormPut {
message NormGetKey { message NormGetKey {
bytes key = 1; bytes key = 1;
} }
\ No newline at end of file
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
//事件 //事件
message OracleStatus { message OracleStatus {
...@@ -92,4 +93,4 @@ message ReceiptOracle { ...@@ -92,4 +93,4 @@ message ReceiptOracle {
message ReplyOracleStatusList { message ReplyOracleStatusList {
repeated OracleStatus status = 1; //状态集 repeated OracleStatus status = 1; //状态集
} }
\ No newline at end of file
This diff is collapsed.
...@@ -5,6 +5,7 @@ import "common.proto"; ...@@ -5,6 +5,7 @@ import "common.proto";
import "blockchain.proto"; import "blockchain.proto";
package types; package types;
option go_package = "../types";
// stateDB // stateDB
message ParacrossStatusDetails { message ParacrossStatusDetails {
...@@ -511,4 +512,4 @@ message BlsPubKey{ ...@@ -511,4 +512,4 @@ message BlsPubKey{
service paracross { service paracross {
rpc IsSync(ReqNil) returns (IsCaughtUp) {} rpc IsSync(ReqNil) returns (IsCaughtUp) {}
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
//斗牛游戏内容 //斗牛游戏内容
message PokerBull { message PokerBull {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
import "common.proto"; import "common.proto";
import "transaction.proto"; import "transaction.proto";
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,6 +3,7 @@ syntax = "proto3"; ...@@ -3,6 +3,7 @@ syntax = "proto3";
import "blockchain.proto"; import "blockchain.proto";
package types; package types;
option go_package = "../types";
message QbftBlockID { message QbftBlockID {
bytes hash = 1; bytes hash = 1;
...@@ -194,4 +195,4 @@ message QbftAggVote { ...@@ -194,4 +195,4 @@ message QbftAggVote {
uint32 type = 6; uint32 type = 6;
QbftBlockID blockID = 7; QbftBlockID blockID = 7;
bytes signature = 8; bytes signature = 8;
} }
\ No newline at end of file
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
import "common.proto"; import "common.proto";
import "qbft.proto"; import "qbft.proto";
...@@ -58,4 +59,4 @@ message ReqQbftPerfStat { ...@@ -58,4 +59,4 @@ message ReqQbftPerfStat {
service qbftNode { service qbftNode {
rpc IsSync(ReqNil) returns (QbftIsHealthy) {} rpc IsSync(ReqNil) returns (QbftIsHealthy) {}
rpc GetNodeInfo(ReqNil) returns (QbftNodeInfoSet) {} rpc GetNodeInfo(ReqNil) returns (QbftNodeInfoSet) {}
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
enum RelayOrderStatus { enum RelayOrderStatus {
init = 0; init = 0;
...@@ -216,4 +217,4 @@ message ReplayRelayQryBTCHeadHeight { ...@@ -216,4 +217,4 @@ message ReplayRelayQryBTCHeadHeight {
int64 curHeight = 1; // current height in chain int64 curHeight = 1; // current height in chain
int64 baseHeight = 2; // base height means the the 1st head record in chain db int64 baseHeight = 2; // base height means the the 1st head record in chain db
// (base height can be change) // (base height can be change)
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,6 +3,7 @@ syntax = "proto3"; ...@@ -3,6 +3,7 @@ syntax = "proto3";
import "transaction.proto"; import "transaction.proto";
package types; package types;
option go_package = "../types";
// message for retrieve start // message for retrieve start
message RetrievePara { message RetrievePara {
...@@ -80,4 +81,4 @@ service retrieve { ...@@ -80,4 +81,4 @@ service retrieve {
rpc Cancel(CancelRetrieve) returns (UnsignTx) {} rpc Cancel(CancelRetrieve) returns (UnsignTx) {}
} }
// message for retrieve end // message for retrieve end
\ No newline at end of file
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
//后面如果有其他数据模型可继续往上面添加 //后面如果有其他数据模型可继续往上面添加
message Storage { message Storage {
oneof value { oneof value {
......
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
import "common.proto"; import "common.proto";
...@@ -138,4 +139,4 @@ service ticket { ...@@ -138,4 +139,4 @@ service ticket {
// Miner // Miner
//设置自动挖矿 //设置自动挖矿
rpc SetAutoMining(MinerFlag) returns (Reply) {} rpc SetAutoMining(MinerFlag) returns (Reply) {}
} }
\ No newline at end of file
This diff is collapsed.
...@@ -4,6 +4,7 @@ import "transaction.proto"; ...@@ -4,6 +4,7 @@ import "transaction.proto";
import "account.proto"; import "account.proto";
package types; package types;
option go_package = "../types";
// action // action
message TokenAction { message TokenAction {
...@@ -174,4 +175,4 @@ service token { ...@@ -174,4 +175,4 @@ service token {
// token 对外提供服务的接口 // token 对外提供服务的接口
//区块链接口 //区块链接口
rpc GetTokenBalance(ReqTokenBalance) returns (Accounts) {} rpc GetTokenBalance(ReqTokenBalance) returns (Accounts) {}
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,6 +3,7 @@ syntax = "proto3"; ...@@ -3,6 +3,7 @@ syntax = "proto3";
import "transaction.proto"; import "transaction.proto";
package types; package types;
option go_package = "../types";
// trade 交易部分 // trade 交易部分
// //
...@@ -330,4 +331,4 @@ service trade { ...@@ -330,4 +331,4 @@ service trade {
rpc CreateRawTradeBuyLimitTx(TradeForBuyLimit) returns (UnsignTx) {} rpc CreateRawTradeBuyLimitTx(TradeForBuyLimit) returns (UnsignTx) {}
rpc CreateRawTradeSellMarketTx(TradeForSellMarket) returns (UnsignTx) {} rpc CreateRawTradeSellMarketTx(TradeForSellMarket) returns (UnsignTx) {}
rpc CreateRawTradeRevokeBuyTx(TradeForRevokeBuy) returns (UnsignTx) {} rpc CreateRawTradeRevokeBuyTx(TradeForRevokeBuy) returns (UnsignTx) {}
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -7,6 +7,7 @@ syntax = "proto3"; ...@@ -7,6 +7,7 @@ syntax = "proto3";
import "common.proto"; import "common.proto";
package types; package types;
option go_package = "../types";
message Unfreeze { message Unfreeze {
//解冻交易ID(唯一识别码) //解冻交易ID(唯一识别码)
...@@ -135,4 +136,4 @@ message ReplyUnfreezes { ...@@ -135,4 +136,4 @@ message ReplyUnfreezes {
service unfreeze { service unfreeze {
rpc GetUnfreezeWithdraw(ReqString) returns (ReplyQueryUnfreezeWithdraw) {} rpc GetUnfreezeWithdraw(ReqString) returns (ReplyQueryUnfreezeWithdraw) {}
rpc QueryUnfreeze(ReqString) returns (Unfreeze) {} rpc QueryUnfreeze(ReqString) returns (Unfreeze) {}
} }
\ No newline at end of file
This diff is collapsed.
...@@ -3,6 +3,7 @@ syntax = "proto3"; ...@@ -3,6 +3,7 @@ syntax = "proto3";
import "blockchain.proto"; import "blockchain.proto";
package types; package types;
option go_package = "../types";
message BlockID { message BlockID {
bytes hash = 1; bytes hash = 1;
...@@ -186,4 +187,4 @@ message AggVote { ...@@ -186,4 +187,4 @@ message AggVote {
uint32 type = 6; uint32 type = 6;
BlockID blockID = 7; BlockID blockID = 7;
bytes signature = 8; bytes signature = 8;
} }
\ No newline at end of file
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
import "common.proto"; import "common.proto";
import "tendermint.proto"; import "tendermint.proto";
...@@ -58,4 +59,4 @@ message ReqPerfStat { ...@@ -58,4 +59,4 @@ message ReqPerfStat {
service valnode { service valnode {
rpc IsSync(ReqNil) returns (IsHealthy) {} rpc IsSync(ReqNil) returns (IsHealthy) {}
rpc GetNodeInfo(ReqNil) returns (ValNodeInfoSet) {} rpc GetNodeInfo(ReqNil) returns (ValNodeInfoSet) {}
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
// vote 合约交易行为总类型 // vote 合约交易行为总类型
message VoteAction { message VoteAction {
......
This diff is collapsed.
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
message wasmAction { message wasmAction {
oneof value { oneof value {
......
This diff is collapsed.
...@@ -3,6 +3,7 @@ syntax = "proto3"; ...@@ -3,6 +3,7 @@ syntax = "proto3";
import "x2ethereum.proto"; import "x2ethereum.proto";
package types; package types;
option go_package = "../types";
// EthBridgeClaim is a structure that contains all the data for a particular bridge claim // EthBridgeClaim is a structure that contains all the data for a particular bridge claim
message OracleClaim { message OracleClaim {
......
syntax = "proto3"; syntax = "proto3";
package types; package types;
option go_package = "../types";
import "transaction.proto"; import "transaction.proto";
import "account.proto"; import "account.proto";
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment