2016-01-30 19:36:33 -08:00
|
|
|
// Code generated by protoc-gen-go.
|
2016-11-15 11:11:01 -08:00
|
|
|
// source: types/types.proto
|
2016-01-30 19:36:33 -08:00
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
|
|
|
Package types is a generated protocol buffer package.
|
|
|
|
|
|
|
|
It is generated from these files:
|
2016-11-15 11:11:01 -08:00
|
|
|
types/types.proto
|
2016-01-30 19:36:33 -08:00
|
|
|
|
|
|
|
It has these top-level messages:
|
|
|
|
Request
|
2016-05-13 23:22:32 -07:00
|
|
|
RequestEcho
|
|
|
|
RequestFlush
|
|
|
|
RequestInfo
|
|
|
|
RequestSetOption
|
2017-01-12 12:27:08 -08:00
|
|
|
RequestDeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
RequestCheckTx
|
|
|
|
RequestQuery
|
|
|
|
RequestCommit
|
|
|
|
RequestInitChain
|
|
|
|
RequestBeginBlock
|
|
|
|
RequestEndBlock
|
2016-01-30 19:36:33 -08:00
|
|
|
Response
|
2016-05-13 23:22:32 -07:00
|
|
|
ResponseException
|
|
|
|
ResponseEcho
|
|
|
|
ResponseFlush
|
|
|
|
ResponseInfo
|
|
|
|
ResponseSetOption
|
2017-01-12 12:27:08 -08:00
|
|
|
ResponseDeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
ResponseCheckTx
|
|
|
|
ResponseQuery
|
|
|
|
ResponseCommit
|
|
|
|
ResponseInitChain
|
|
|
|
ResponseBeginBlock
|
|
|
|
ResponseEndBlock
|
2016-08-22 11:01:26 -07:00
|
|
|
Header
|
2016-11-16 13:11:36 -08:00
|
|
|
BlockID
|
2016-08-22 11:01:26 -07:00
|
|
|
PartSetHeader
|
2016-02-28 18:53:24 -08:00
|
|
|
Validator
|
2016-01-30 19:36:33 -08:00
|
|
|
*/
|
|
|
|
package types
|
|
|
|
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
|
|
|
|
2016-05-17 21:54:32 -07:00
|
|
|
import (
|
|
|
|
context "golang.org/x/net/context"
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
)
|
|
|
|
|
2016-01-30 19:36:33 -08:00
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
2016-06-16 16:12:44 -07:00
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
|
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2016-05-17 17:06:24 -07:00
|
|
|
// Not being used
|
|
|
|
// Could be added to request/response
|
|
|
|
// so we don't have to type switch
|
|
|
|
// (would be twice as fast, but we're talking about 15ns)
|
2016-01-31 19:56:02 -08:00
|
|
|
type MessageType int32
|
|
|
|
|
|
|
|
const (
|
2016-03-05 19:18:34 -08:00
|
|
|
MessageType_NullMessage MessageType = 0
|
|
|
|
MessageType_Echo MessageType = 1
|
|
|
|
MessageType_Flush MessageType = 2
|
|
|
|
MessageType_Info MessageType = 3
|
|
|
|
MessageType_SetOption MessageType = 4
|
|
|
|
MessageType_Exception MessageType = 5
|
2017-01-13 10:12:38 -08:00
|
|
|
MessageType_DeliverTx MessageType = 17
|
2016-03-05 19:18:34 -08:00
|
|
|
MessageType_CheckTx MessageType = 18
|
|
|
|
MessageType_Commit MessageType = 19
|
|
|
|
MessageType_Query MessageType = 20
|
|
|
|
MessageType_InitChain MessageType = 21
|
2016-03-26 22:35:23 -07:00
|
|
|
MessageType_BeginBlock MessageType = 22
|
|
|
|
MessageType_EndBlock MessageType = 23
|
2016-01-31 19:56:02 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
var MessageType_name = map[int32]string{
|
|
|
|
0: "NullMessage",
|
|
|
|
1: "Echo",
|
|
|
|
2: "Flush",
|
|
|
|
3: "Info",
|
|
|
|
4: "SetOption",
|
|
|
|
5: "Exception",
|
2017-01-12 12:27:08 -08:00
|
|
|
17: "DeliverTx",
|
2016-01-31 19:56:02 -08:00
|
|
|
18: "CheckTx",
|
2016-02-14 13:11:06 -08:00
|
|
|
19: "Commit",
|
2016-01-31 19:56:02 -08:00
|
|
|
20: "Query",
|
2016-03-05 19:18:34 -08:00
|
|
|
21: "InitChain",
|
2016-03-26 22:35:23 -07:00
|
|
|
22: "BeginBlock",
|
2016-03-05 19:18:34 -08:00
|
|
|
23: "EndBlock",
|
2016-01-31 19:56:02 -08:00
|
|
|
}
|
|
|
|
var MessageType_value = map[string]int32{
|
2016-03-05 19:18:34 -08:00
|
|
|
"NullMessage": 0,
|
|
|
|
"Echo": 1,
|
|
|
|
"Flush": 2,
|
|
|
|
"Info": 3,
|
|
|
|
"SetOption": 4,
|
|
|
|
"Exception": 5,
|
2017-01-13 10:12:38 -08:00
|
|
|
"DeliverTx": 17,
|
2016-03-05 19:18:34 -08:00
|
|
|
"CheckTx": 18,
|
|
|
|
"Commit": 19,
|
|
|
|
"Query": 20,
|
|
|
|
"InitChain": 21,
|
2016-03-26 22:35:23 -07:00
|
|
|
"BeginBlock": 22,
|
2016-03-05 19:18:34 -08:00
|
|
|
"EndBlock": 23,
|
2016-01-31 19:56:02 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x MessageType) String() string {
|
|
|
|
return proto.EnumName(MessageType_name, int32(x))
|
|
|
|
}
|
|
|
|
func (MessageType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
|
2016-01-31 20:39:43 -08:00
|
|
|
type CodeType int32
|
|
|
|
|
|
|
|
const (
|
2016-03-06 17:57:47 -08:00
|
|
|
CodeType_OK CodeType = 0
|
|
|
|
// General response codes, 0 ~ 99
|
2016-02-05 23:15:08 -08:00
|
|
|
CodeType_InternalError CodeType = 1
|
2016-03-05 19:18:34 -08:00
|
|
|
CodeType_EncodingError CodeType = 2
|
|
|
|
CodeType_BadNonce CodeType = 3
|
|
|
|
CodeType_Unauthorized CodeType = 4
|
|
|
|
CodeType_InsufficientFunds CodeType = 5
|
|
|
|
CodeType_UnknownRequest CodeType = 6
|
|
|
|
// Reserved for basecoin, 100 ~ 199
|
2016-03-21 15:33:16 -07:00
|
|
|
CodeType_BaseDuplicateAddress CodeType = 101
|
|
|
|
CodeType_BaseEncodingError CodeType = 102
|
|
|
|
CodeType_BaseInsufficientFees CodeType = 103
|
|
|
|
CodeType_BaseInsufficientFunds CodeType = 104
|
|
|
|
CodeType_BaseInsufficientGasPrice CodeType = 105
|
2016-04-13 14:42:00 -07:00
|
|
|
CodeType_BaseInvalidInput CodeType = 106
|
|
|
|
CodeType_BaseInvalidOutput CodeType = 107
|
2016-03-21 15:33:16 -07:00
|
|
|
CodeType_BaseInvalidPubKey CodeType = 108
|
|
|
|
CodeType_BaseInvalidSequence CodeType = 109
|
|
|
|
CodeType_BaseInvalidSignature CodeType = 110
|
2016-03-24 11:12:16 -07:00
|
|
|
CodeType_BaseUnknownAddress CodeType = 111
|
|
|
|
CodeType_BaseUnknownPubKey CodeType = 112
|
2016-03-24 14:17:48 -07:00
|
|
|
CodeType_BaseUnknownPlugin CodeType = 113
|
2016-03-05 19:18:34 -08:00
|
|
|
// Reserved for governance, 200 ~ 299
|
|
|
|
CodeType_GovUnknownEntity CodeType = 201
|
|
|
|
CodeType_GovUnknownGroup CodeType = 202
|
2016-03-15 11:36:05 -07:00
|
|
|
CodeType_GovUnknownProposal CodeType = 203
|
|
|
|
CodeType_GovDuplicateGroup CodeType = 204
|
|
|
|
CodeType_GovDuplicateMember CodeType = 205
|
|
|
|
CodeType_GovDuplicateProposal CodeType = 206
|
|
|
|
CodeType_GovDuplicateVote CodeType = 207
|
|
|
|
CodeType_GovInvalidMember CodeType = 208
|
|
|
|
CodeType_GovInvalidVote CodeType = 209
|
2016-03-05 19:18:34 -08:00
|
|
|
CodeType_GovInvalidVotingPower CodeType = 210
|
2016-01-31 20:39:43 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
var CodeType_name = map[int32]string{
|
2016-03-05 19:18:34 -08:00
|
|
|
0: "OK",
|
|
|
|
1: "InternalError",
|
|
|
|
2: "EncodingError",
|
|
|
|
3: "BadNonce",
|
|
|
|
4: "Unauthorized",
|
|
|
|
5: "InsufficientFunds",
|
|
|
|
6: "UnknownRequest",
|
2016-03-21 15:33:16 -07:00
|
|
|
101: "BaseDuplicateAddress",
|
|
|
|
102: "BaseEncodingError",
|
|
|
|
103: "BaseInsufficientFees",
|
|
|
|
104: "BaseInsufficientFunds",
|
|
|
|
105: "BaseInsufficientGasPrice",
|
2016-04-13 14:42:00 -07:00
|
|
|
106: "BaseInvalidInput",
|
|
|
|
107: "BaseInvalidOutput",
|
2016-03-21 15:33:16 -07:00
|
|
|
108: "BaseInvalidPubKey",
|
|
|
|
109: "BaseInvalidSequence",
|
|
|
|
110: "BaseInvalidSignature",
|
2016-03-24 11:12:16 -07:00
|
|
|
111: "BaseUnknownAddress",
|
|
|
|
112: "BaseUnknownPubKey",
|
2016-03-24 14:17:48 -07:00
|
|
|
113: "BaseUnknownPlugin",
|
2016-03-05 19:18:34 -08:00
|
|
|
201: "GovUnknownEntity",
|
|
|
|
202: "GovUnknownGroup",
|
2016-03-15 11:36:05 -07:00
|
|
|
203: "GovUnknownProposal",
|
|
|
|
204: "GovDuplicateGroup",
|
|
|
|
205: "GovDuplicateMember",
|
|
|
|
206: "GovDuplicateProposal",
|
|
|
|
207: "GovDuplicateVote",
|
|
|
|
208: "GovInvalidMember",
|
|
|
|
209: "GovInvalidVote",
|
2016-03-05 19:18:34 -08:00
|
|
|
210: "GovInvalidVotingPower",
|
2016-01-31 20:39:43 -08:00
|
|
|
}
|
|
|
|
var CodeType_value = map[string]int32{
|
2016-03-21 15:33:16 -07:00
|
|
|
"OK": 0,
|
|
|
|
"InternalError": 1,
|
|
|
|
"EncodingError": 2,
|
|
|
|
"BadNonce": 3,
|
|
|
|
"Unauthorized": 4,
|
|
|
|
"InsufficientFunds": 5,
|
|
|
|
"UnknownRequest": 6,
|
|
|
|
"BaseDuplicateAddress": 101,
|
|
|
|
"BaseEncodingError": 102,
|
|
|
|
"BaseInsufficientFees": 103,
|
|
|
|
"BaseInsufficientFunds": 104,
|
|
|
|
"BaseInsufficientGasPrice": 105,
|
2016-04-13 14:42:00 -07:00
|
|
|
"BaseInvalidInput": 106,
|
|
|
|
"BaseInvalidOutput": 107,
|
2016-03-21 15:33:16 -07:00
|
|
|
"BaseInvalidPubKey": 108,
|
|
|
|
"BaseInvalidSequence": 109,
|
|
|
|
"BaseInvalidSignature": 110,
|
2016-03-24 11:12:16 -07:00
|
|
|
"BaseUnknownAddress": 111,
|
|
|
|
"BaseUnknownPubKey": 112,
|
2016-03-24 14:17:48 -07:00
|
|
|
"BaseUnknownPlugin": 113,
|
2016-03-21 15:33:16 -07:00
|
|
|
"GovUnknownEntity": 201,
|
|
|
|
"GovUnknownGroup": 202,
|
|
|
|
"GovUnknownProposal": 203,
|
|
|
|
"GovDuplicateGroup": 204,
|
|
|
|
"GovDuplicateMember": 205,
|
|
|
|
"GovDuplicateProposal": 206,
|
|
|
|
"GovDuplicateVote": 207,
|
|
|
|
"GovInvalidMember": 208,
|
|
|
|
"GovInvalidVote": 209,
|
|
|
|
"GovInvalidVotingPower": 210,
|
2016-01-31 20:39:43 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x CodeType) String() string {
|
|
|
|
return proto.EnumName(CodeType_name, int32(x))
|
|
|
|
}
|
|
|
|
func (CodeType) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
|
2016-01-30 19:36:33 -08:00
|
|
|
type Request struct {
|
2016-05-17 17:06:24 -07:00
|
|
|
// Types that are valid to be assigned to Value:
|
2016-05-13 23:22:32 -07:00
|
|
|
// *Request_Echo
|
|
|
|
// *Request_Flush
|
|
|
|
// *Request_Info
|
|
|
|
// *Request_SetOption
|
2017-01-12 12:27:08 -08:00
|
|
|
// *Request_DeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
// *Request_CheckTx
|
|
|
|
// *Request_Commit
|
|
|
|
// *Request_Query
|
|
|
|
// *Request_InitChain
|
|
|
|
// *Request_BeginBlock
|
|
|
|
// *Request_EndBlock
|
2016-05-17 17:06:24 -07:00
|
|
|
Value isRequest_Value `protobuf_oneof:"value"`
|
2016-01-30 19:36:33 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) Reset() { *m = Request{} }
|
|
|
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
|
|
|
|
2016-05-17 17:06:24 -07:00
|
|
|
type isRequest_Value interface {
|
|
|
|
isRequest_Value()
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
type Request_Echo struct {
|
|
|
|
Echo *RequestEcho `protobuf:"bytes,1,opt,name=echo,oneof"`
|
|
|
|
}
|
|
|
|
type Request_Flush struct {
|
|
|
|
Flush *RequestFlush `protobuf:"bytes,2,opt,name=flush,oneof"`
|
|
|
|
}
|
|
|
|
type Request_Info struct {
|
|
|
|
Info *RequestInfo `protobuf:"bytes,3,opt,name=info,oneof"`
|
|
|
|
}
|
|
|
|
type Request_SetOption struct {
|
|
|
|
SetOption *RequestSetOption `protobuf:"bytes,4,opt,name=set_option,json=setOption,oneof"`
|
|
|
|
}
|
2017-01-12 12:27:08 -08:00
|
|
|
type Request_DeliverTx struct {
|
|
|
|
DeliverTx *RequestDeliverTx `protobuf:"bytes,5,opt,name=deliver_tx,json=deliverTx,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Request_CheckTx struct {
|
|
|
|
CheckTx *RequestCheckTx `protobuf:"bytes,6,opt,name=check_tx,json=checkTx,oneof"`
|
|
|
|
}
|
|
|
|
type Request_Commit struct {
|
|
|
|
Commit *RequestCommit `protobuf:"bytes,7,opt,name=commit,oneof"`
|
|
|
|
}
|
|
|
|
type Request_Query struct {
|
|
|
|
Query *RequestQuery `protobuf:"bytes,8,opt,name=query,oneof"`
|
|
|
|
}
|
|
|
|
type Request_InitChain struct {
|
|
|
|
InitChain *RequestInitChain `protobuf:"bytes,9,opt,name=init_chain,json=initChain,oneof"`
|
|
|
|
}
|
|
|
|
type Request_BeginBlock struct {
|
|
|
|
BeginBlock *RequestBeginBlock `protobuf:"bytes,10,opt,name=begin_block,json=beginBlock,oneof"`
|
|
|
|
}
|
|
|
|
type Request_EndBlock struct {
|
|
|
|
EndBlock *RequestEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,oneof"`
|
|
|
|
}
|
|
|
|
|
2016-05-17 17:06:24 -07:00
|
|
|
func (*Request_Echo) isRequest_Value() {}
|
|
|
|
func (*Request_Flush) isRequest_Value() {}
|
|
|
|
func (*Request_Info) isRequest_Value() {}
|
|
|
|
func (*Request_SetOption) isRequest_Value() {}
|
2017-01-13 10:12:38 -08:00
|
|
|
func (*Request_DeliverTx) isRequest_Value() {}
|
2016-05-17 17:06:24 -07:00
|
|
|
func (*Request_CheckTx) isRequest_Value() {}
|
|
|
|
func (*Request_Commit) isRequest_Value() {}
|
|
|
|
func (*Request_Query) isRequest_Value() {}
|
|
|
|
func (*Request_InitChain) isRequest_Value() {}
|
|
|
|
func (*Request_BeginBlock) isRequest_Value() {}
|
|
|
|
func (*Request_EndBlock) isRequest_Value() {}
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2016-05-17 17:06:24 -07:00
|
|
|
func (m *Request) GetValue() isRequest_Value {
|
2016-05-13 23:22:32 -07:00
|
|
|
if m != nil {
|
2016-05-17 17:06:24 -07:00
|
|
|
return m.Value
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetEcho() *RequestEcho {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_Echo); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Echo
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetFlush() *RequestFlush {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_Flush); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Flush
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetInfo() *RequestInfo {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_Info); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Info
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetSetOption() *RequestSetOption {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_SetOption); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.SetOption
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
func (m *Request) GetDeliverTx() *RequestDeliverTx {
|
|
|
|
if x, ok := m.GetValue().(*Request_DeliverTx); ok {
|
|
|
|
return x.DeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetCheckTx() *RequestCheckTx {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_CheckTx); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.CheckTx
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetCommit() *RequestCommit {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_Commit); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Commit
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetQuery() *RequestQuery {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_Query); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Query
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetInitChain() *RequestInitChain {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_InitChain); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.InitChain
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetBeginBlock() *RequestBeginBlock {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_BeginBlock); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.BeginBlock
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Request) GetEndBlock() *RequestEndBlock {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Request_EndBlock); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.EndBlock
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
|
|
|
func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
|
|
|
return _Request_OneofMarshaler, _Request_OneofUnmarshaler, _Request_OneofSizer, []interface{}{
|
|
|
|
(*Request_Echo)(nil),
|
|
|
|
(*Request_Flush)(nil),
|
|
|
|
(*Request_Info)(nil),
|
|
|
|
(*Request_SetOption)(nil),
|
2017-01-12 12:27:08 -08:00
|
|
|
(*Request_DeliverTx)(nil),
|
2016-05-13 23:22:32 -07:00
|
|
|
(*Request_CheckTx)(nil),
|
|
|
|
(*Request_Commit)(nil),
|
|
|
|
(*Request_Query)(nil),
|
|
|
|
(*Request_InitChain)(nil),
|
|
|
|
(*Request_BeginBlock)(nil),
|
|
|
|
(*Request_EndBlock)(nil),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Request_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
|
|
|
m := msg.(*Request)
|
2016-05-17 17:06:24 -07:00
|
|
|
// value
|
|
|
|
switch x := m.Value.(type) {
|
2016-05-13 23:22:32 -07:00
|
|
|
case *Request_Echo:
|
|
|
|
b.EncodeVarint(1<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Echo); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_Flush:
|
|
|
|
b.EncodeVarint(2<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Flush); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_Info:
|
|
|
|
b.EncodeVarint(3<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Info); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_SetOption:
|
|
|
|
b.EncodeVarint(4<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.SetOption); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-01-12 12:27:08 -08:00
|
|
|
case *Request_DeliverTx:
|
2016-05-13 23:22:32 -07:00
|
|
|
b.EncodeVarint(5<<3 | proto.WireBytes)
|
2017-01-12 12:27:08 -08:00
|
|
|
if err := b.EncodeMessage(x.DeliverTx); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_CheckTx:
|
|
|
|
b.EncodeVarint(6<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.CheckTx); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_Commit:
|
|
|
|
b.EncodeVarint(7<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Commit); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_Query:
|
|
|
|
b.EncodeVarint(8<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Query); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_InitChain:
|
|
|
|
b.EncodeVarint(9<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.InitChain); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_BeginBlock:
|
|
|
|
b.EncodeVarint(10<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.BeginBlock); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_EndBlock:
|
|
|
|
b.EncodeVarint(11<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.EndBlock); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case nil:
|
|
|
|
default:
|
2016-05-17 17:06:24 -07:00
|
|
|
return fmt.Errorf("Request.Value has unexpected type %T", x)
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Request_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
|
|
|
m := msg.(*Request)
|
|
|
|
switch tag {
|
2016-05-17 17:06:24 -07:00
|
|
|
case 1: // value.echo
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestEcho)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_Echo{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 2: // value.flush
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestFlush)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_Flush{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 3: // value.info
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestInfo)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_Info{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 4: // value.set_option
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestSetOption)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_SetOption{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-01-12 12:27:08 -08:00
|
|
|
case 5: // value.deliver_tx
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-01-12 12:27:08 -08:00
|
|
|
msg := new(RequestDeliverTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-01-12 12:27:08 -08:00
|
|
|
m.Value = &Request_DeliverTx{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 6: // value.check_tx
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestCheckTx)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_CheckTx{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 7: // value.commit
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestCommit)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_Commit{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 8: // value.query
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestQuery)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_Query{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 9: // value.init_chain
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestInitChain)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_InitChain{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 10: // value.begin_block
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestBeginBlock)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_BeginBlock{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 11: // value.end_block
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(RequestEndBlock)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Request_EndBlock{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
|
|
|
default:
|
|
|
|
return false, nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Request_OneofSizer(msg proto.Message) (n int) {
|
|
|
|
m := msg.(*Request)
|
2016-05-17 17:06:24 -07:00
|
|
|
// value
|
|
|
|
switch x := m.Value.(type) {
|
2016-05-13 23:22:32 -07:00
|
|
|
case *Request_Echo:
|
|
|
|
s := proto.Size(x.Echo)
|
|
|
|
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_Flush:
|
|
|
|
s := proto.Size(x.Flush)
|
|
|
|
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_Info:
|
|
|
|
s := proto.Size(x.Info)
|
|
|
|
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_SetOption:
|
|
|
|
s := proto.Size(x.SetOption)
|
|
|
|
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-01-12 12:27:08 -08:00
|
|
|
case *Request_DeliverTx:
|
|
|
|
s := proto.Size(x.DeliverTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_CheckTx:
|
|
|
|
s := proto.Size(x.CheckTx)
|
|
|
|
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_Commit:
|
|
|
|
s := proto.Size(x.Commit)
|
|
|
|
n += proto.SizeVarint(7<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_Query:
|
|
|
|
s := proto.Size(x.Query)
|
|
|
|
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_InitChain:
|
|
|
|
s := proto.Size(x.InitChain)
|
|
|
|
n += proto.SizeVarint(9<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_BeginBlock:
|
|
|
|
s := proto.Size(x.BeginBlock)
|
|
|
|
n += proto.SizeVarint(10<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_EndBlock:
|
|
|
|
s := proto.Size(x.EndBlock)
|
|
|
|
n += proto.SizeVarint(11<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
type RequestEcho struct {
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestEcho) Reset() { *m = RequestEcho{} }
|
|
|
|
func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestEcho) ProtoMessage() {}
|
|
|
|
func (*RequestEcho) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *RequestEcho) GetMessage() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestFlush struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestFlush) Reset() { *m = RequestFlush{} }
|
|
|
|
func (m *RequestFlush) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestFlush) ProtoMessage() {}
|
|
|
|
func (*RequestFlush) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
|
|
|
|
|
|
|
type RequestInfo struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestInfo) Reset() { *m = RequestInfo{} }
|
|
|
|
func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestInfo) ProtoMessage() {}
|
|
|
|
func (*RequestInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
|
|
|
|
|
|
|
type RequestSetOption struct {
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
|
|
|
|
Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestSetOption) Reset() { *m = RequestSetOption{} }
|
|
|
|
func (m *RequestSetOption) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestSetOption) ProtoMessage() {}
|
|
|
|
func (*RequestSetOption) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *RequestSetOption) GetKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Key
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestSetOption) GetValue() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Value
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
type RequestDeliverTx struct {
|
2016-05-13 23:22:32 -07:00
|
|
|
Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
func (m *RequestDeliverTx) Reset() { *m = RequestDeliverTx{} }
|
|
|
|
func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestDeliverTx) ProtoMessage() {}
|
|
|
|
func (*RequestDeliverTx) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
func (m *RequestDeliverTx) GetTx() []byte {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Tx
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestCheckTx struct {
|
|
|
|
Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestCheckTx) Reset() { *m = RequestCheckTx{} }
|
|
|
|
func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestCheckTx) ProtoMessage() {}
|
|
|
|
func (*RequestCheckTx) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *RequestCheckTx) GetTx() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Tx
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestQuery struct {
|
|
|
|
Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestQuery) Reset() { *m = RequestQuery{} }
|
|
|
|
func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestQuery) ProtoMessage() {}
|
|
|
|
func (*RequestQuery) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *RequestQuery) GetQuery() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Query
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestCommit struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestCommit) Reset() { *m = RequestCommit{} }
|
|
|
|
func (m *RequestCommit) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestCommit) ProtoMessage() {}
|
|
|
|
func (*RequestCommit) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{8} }
|
|
|
|
|
|
|
|
type RequestInitChain struct {
|
|
|
|
Validators []*Validator `protobuf:"bytes,1,rep,name=validators" json:"validators,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestInitChain) Reset() { *m = RequestInitChain{} }
|
|
|
|
func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestInitChain) ProtoMessage() {}
|
|
|
|
func (*RequestInitChain) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{9} }
|
|
|
|
|
|
|
|
func (m *RequestInitChain) GetValidators() []*Validator {
|
2016-02-28 18:53:24 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Validators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestBeginBlock struct {
|
2016-09-09 20:01:53 -07:00
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
Header *Header `protobuf:"bytes,2,opt,name=header" json:"header,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestBeginBlock) Reset() { *m = RequestBeginBlock{} }
|
|
|
|
func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestBeginBlock) ProtoMessage() {}
|
|
|
|
func (*RequestBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
|
|
|
|
|
2016-09-09 20:01:53 -07:00
|
|
|
func (m *RequestBeginBlock) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-22 11:01:26 -07:00
|
|
|
func (m *RequestBeginBlock) GetHeader() *Header {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
2016-08-22 11:01:26 -07:00
|
|
|
return m.Header
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
2016-08-22 11:01:26 -07:00
|
|
|
return nil
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestEndBlock struct {
|
|
|
|
Height uint64 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestEndBlock) Reset() { *m = RequestEndBlock{} }
|
|
|
|
func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestEndBlock) ProtoMessage() {}
|
|
|
|
func (*RequestEndBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *RequestEndBlock) GetHeight() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Height
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-01-30 19:36:33 -08:00
|
|
|
type Response struct {
|
2016-05-17 17:06:24 -07:00
|
|
|
// Types that are valid to be assigned to Value:
|
2016-05-13 23:22:32 -07:00
|
|
|
// *Response_Exception
|
|
|
|
// *Response_Echo
|
|
|
|
// *Response_Flush
|
|
|
|
// *Response_Info
|
|
|
|
// *Response_SetOption
|
2017-01-12 12:27:08 -08:00
|
|
|
// *Response_DeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
// *Response_CheckTx
|
|
|
|
// *Response_Commit
|
|
|
|
// *Response_Query
|
|
|
|
// *Response_InitChain
|
|
|
|
// *Response_BeginBlock
|
|
|
|
// *Response_EndBlock
|
2016-05-17 17:06:24 -07:00
|
|
|
Value isResponse_Value `protobuf_oneof:"value"`
|
2016-01-30 19:36:33 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) Reset() { *m = Response{} }
|
|
|
|
func (m *Response) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Response) ProtoMessage() {}
|
2016-05-13 23:22:32 -07:00
|
|
|
func (*Response) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
|
|
|
|
|
2016-05-17 17:06:24 -07:00
|
|
|
type isResponse_Value interface {
|
|
|
|
isResponse_Value()
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
type Response_Exception struct {
|
|
|
|
Exception *ResponseException `protobuf:"bytes,1,opt,name=exception,oneof"`
|
|
|
|
}
|
|
|
|
type Response_Echo struct {
|
|
|
|
Echo *ResponseEcho `protobuf:"bytes,2,opt,name=echo,oneof"`
|
|
|
|
}
|
|
|
|
type Response_Flush struct {
|
|
|
|
Flush *ResponseFlush `protobuf:"bytes,3,opt,name=flush,oneof"`
|
|
|
|
}
|
|
|
|
type Response_Info struct {
|
|
|
|
Info *ResponseInfo `protobuf:"bytes,4,opt,name=info,oneof"`
|
|
|
|
}
|
|
|
|
type Response_SetOption struct {
|
|
|
|
SetOption *ResponseSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof"`
|
|
|
|
}
|
2017-01-12 12:27:08 -08:00
|
|
|
type Response_DeliverTx struct {
|
|
|
|
DeliverTx *ResponseDeliverTx `protobuf:"bytes,6,opt,name=deliver_tx,json=deliverTx,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Response_CheckTx struct {
|
|
|
|
CheckTx *ResponseCheckTx `protobuf:"bytes,7,opt,name=check_tx,json=checkTx,oneof"`
|
|
|
|
}
|
|
|
|
type Response_Commit struct {
|
|
|
|
Commit *ResponseCommit `protobuf:"bytes,8,opt,name=commit,oneof"`
|
|
|
|
}
|
|
|
|
type Response_Query struct {
|
|
|
|
Query *ResponseQuery `protobuf:"bytes,9,opt,name=query,oneof"`
|
|
|
|
}
|
|
|
|
type Response_InitChain struct {
|
|
|
|
InitChain *ResponseInitChain `protobuf:"bytes,10,opt,name=init_chain,json=initChain,oneof"`
|
|
|
|
}
|
|
|
|
type Response_BeginBlock struct {
|
|
|
|
BeginBlock *ResponseBeginBlock `protobuf:"bytes,11,opt,name=begin_block,json=beginBlock,oneof"`
|
|
|
|
}
|
|
|
|
type Response_EndBlock struct {
|
|
|
|
EndBlock *ResponseEndBlock `protobuf:"bytes,12,opt,name=end_block,json=endBlock,oneof"`
|
|
|
|
}
|
|
|
|
|
2016-05-17 17:06:24 -07:00
|
|
|
func (*Response_Exception) isResponse_Value() {}
|
|
|
|
func (*Response_Echo) isResponse_Value() {}
|
|
|
|
func (*Response_Flush) isResponse_Value() {}
|
|
|
|
func (*Response_Info) isResponse_Value() {}
|
|
|
|
func (*Response_SetOption) isResponse_Value() {}
|
2017-01-13 10:12:38 -08:00
|
|
|
func (*Response_DeliverTx) isResponse_Value() {}
|
2016-05-17 17:06:24 -07:00
|
|
|
func (*Response_CheckTx) isResponse_Value() {}
|
|
|
|
func (*Response_Commit) isResponse_Value() {}
|
|
|
|
func (*Response_Query) isResponse_Value() {}
|
|
|
|
func (*Response_InitChain) isResponse_Value() {}
|
|
|
|
func (*Response_BeginBlock) isResponse_Value() {}
|
|
|
|
func (*Response_EndBlock) isResponse_Value() {}
|
|
|
|
|
|
|
|
func (m *Response) GetValue() isResponse_Value {
|
2016-02-28 18:53:24 -08:00
|
|
|
if m != nil {
|
2016-05-17 17:06:24 -07:00
|
|
|
return m.Value
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetException() *ResponseException {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_Exception); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Exception
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetEcho() *ResponseEcho {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_Echo); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Echo
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetFlush() *ResponseFlush {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_Flush); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Flush
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetInfo() *ResponseInfo {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_Info); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Info
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetSetOption() *ResponseSetOption {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_SetOption); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.SetOption
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
func (m *Response) GetDeliverTx() *ResponseDeliverTx {
|
|
|
|
if x, ok := m.GetValue().(*Response_DeliverTx); ok {
|
|
|
|
return x.DeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetCheckTx() *ResponseCheckTx {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_CheckTx); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.CheckTx
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetCommit() *ResponseCommit {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_Commit); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Commit
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetQuery() *ResponseQuery {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_Query); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.Query
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetInitChain() *ResponseInitChain {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_InitChain); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.InitChain
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetBeginBlock() *ResponseBeginBlock {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_BeginBlock); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.BeginBlock
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Response) GetEndBlock() *ResponseEndBlock {
|
2016-05-17 17:06:24 -07:00
|
|
|
if x, ok := m.GetValue().(*Response_EndBlock); ok {
|
2016-05-13 23:22:32 -07:00
|
|
|
return x.EndBlock
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// XXX_OneofFuncs is for the internal use of the proto package.
|
|
|
|
func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
|
|
|
return _Response_OneofMarshaler, _Response_OneofUnmarshaler, _Response_OneofSizer, []interface{}{
|
|
|
|
(*Response_Exception)(nil),
|
|
|
|
(*Response_Echo)(nil),
|
|
|
|
(*Response_Flush)(nil),
|
|
|
|
(*Response_Info)(nil),
|
|
|
|
(*Response_SetOption)(nil),
|
2017-01-12 12:27:08 -08:00
|
|
|
(*Response_DeliverTx)(nil),
|
2016-05-13 23:22:32 -07:00
|
|
|
(*Response_CheckTx)(nil),
|
|
|
|
(*Response_Commit)(nil),
|
|
|
|
(*Response_Query)(nil),
|
|
|
|
(*Response_InitChain)(nil),
|
|
|
|
(*Response_BeginBlock)(nil),
|
|
|
|
(*Response_EndBlock)(nil),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Response_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
|
|
|
m := msg.(*Response)
|
2016-05-17 17:06:24 -07:00
|
|
|
// value
|
|
|
|
switch x := m.Value.(type) {
|
2016-05-13 23:22:32 -07:00
|
|
|
case *Response_Exception:
|
|
|
|
b.EncodeVarint(1<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Exception); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_Echo:
|
|
|
|
b.EncodeVarint(2<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Echo); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_Flush:
|
|
|
|
b.EncodeVarint(3<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Flush); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_Info:
|
|
|
|
b.EncodeVarint(4<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Info); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_SetOption:
|
|
|
|
b.EncodeVarint(5<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.SetOption); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-01-12 12:27:08 -08:00
|
|
|
case *Response_DeliverTx:
|
2016-05-13 23:22:32 -07:00
|
|
|
b.EncodeVarint(6<<3 | proto.WireBytes)
|
2017-01-12 12:27:08 -08:00
|
|
|
if err := b.EncodeMessage(x.DeliverTx); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_CheckTx:
|
|
|
|
b.EncodeVarint(7<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.CheckTx); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_Commit:
|
|
|
|
b.EncodeVarint(8<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Commit); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_Query:
|
|
|
|
b.EncodeVarint(9<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Query); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_InitChain:
|
|
|
|
b.EncodeVarint(10<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.InitChain); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_BeginBlock:
|
|
|
|
b.EncodeVarint(11<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.BeginBlock); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_EndBlock:
|
|
|
|
b.EncodeVarint(12<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.EndBlock); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case nil:
|
|
|
|
default:
|
2016-05-17 17:06:24 -07:00
|
|
|
return fmt.Errorf("Response.Value has unexpected type %T", x)
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Response_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
|
|
|
m := msg.(*Response)
|
|
|
|
switch tag {
|
2016-05-17 17:06:24 -07:00
|
|
|
case 1: // value.exception
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseException)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_Exception{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 2: // value.echo
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseEcho)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_Echo{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 3: // value.flush
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseFlush)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_Flush{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 4: // value.info
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseInfo)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_Info{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 5: // value.set_option
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseSetOption)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_SetOption{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-01-12 12:27:08 -08:00
|
|
|
case 6: // value.deliver_tx
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-01-12 12:27:08 -08:00
|
|
|
msg := new(ResponseDeliverTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-01-12 12:27:08 -08:00
|
|
|
m.Value = &Response_DeliverTx{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 7: // value.check_tx
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseCheckTx)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_CheckTx{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 8: // value.commit
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseCommit)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_Commit{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 9: // value.query
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseQuery)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_Query{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 10: // value.init_chain
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseInitChain)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_InitChain{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 11: // value.begin_block
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseBeginBlock)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_BeginBlock{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2016-05-17 17:06:24 -07:00
|
|
|
case 12: // value.end_block
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
|
|
|
msg := new(ResponseEndBlock)
|
|
|
|
err := b.DecodeMessage(msg)
|
2016-05-17 17:06:24 -07:00
|
|
|
m.Value = &Response_EndBlock{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
|
|
|
default:
|
|
|
|
return false, nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func _Response_OneofSizer(msg proto.Message) (n int) {
|
|
|
|
m := msg.(*Response)
|
2016-05-17 17:06:24 -07:00
|
|
|
// value
|
|
|
|
switch x := m.Value.(type) {
|
2016-05-13 23:22:32 -07:00
|
|
|
case *Response_Exception:
|
|
|
|
s := proto.Size(x.Exception)
|
|
|
|
n += proto.SizeVarint(1<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_Echo:
|
|
|
|
s := proto.Size(x.Echo)
|
|
|
|
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_Flush:
|
|
|
|
s := proto.Size(x.Flush)
|
|
|
|
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_Info:
|
|
|
|
s := proto.Size(x.Info)
|
|
|
|
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_SetOption:
|
|
|
|
s := proto.Size(x.SetOption)
|
|
|
|
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-01-12 12:27:08 -08:00
|
|
|
case *Response_DeliverTx:
|
|
|
|
s := proto.Size(x.DeliverTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_CheckTx:
|
|
|
|
s := proto.Size(x.CheckTx)
|
|
|
|
n += proto.SizeVarint(7<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_Commit:
|
|
|
|
s := proto.Size(x.Commit)
|
|
|
|
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_Query:
|
|
|
|
s := proto.Size(x.Query)
|
|
|
|
n += proto.SizeVarint(9<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_InitChain:
|
|
|
|
s := proto.Size(x.InitChain)
|
|
|
|
n += proto.SizeVarint(10<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_BeginBlock:
|
|
|
|
s := proto.Size(x.BeginBlock)
|
|
|
|
n += proto.SizeVarint(11<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Response_EndBlock:
|
|
|
|
s := proto.Size(x.EndBlock)
|
|
|
|
n += proto.SizeVarint(12<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResponseException struct {
|
|
|
|
Error string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseException) Reset() { *m = ResponseException{} }
|
|
|
|
func (m *ResponseException) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseException) ProtoMessage() {}
|
|
|
|
func (*ResponseException) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *ResponseException) GetError() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Error
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseEcho struct {
|
|
|
|
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseEcho) Reset() { *m = ResponseEcho{} }
|
|
|
|
func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseEcho) ProtoMessage() {}
|
|
|
|
func (*ResponseEcho) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *ResponseEcho) GetMessage() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseFlush struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseFlush) Reset() { *m = ResponseFlush{} }
|
|
|
|
func (m *ResponseFlush) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseFlush) ProtoMessage() {}
|
|
|
|
func (*ResponseFlush) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
|
|
|
|
|
|
|
|
type ResponseInfo struct {
|
2016-12-26 17:44:36 -08:00
|
|
|
Data string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
|
|
|
|
Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
|
|
|
|
LastBlockHeight uint64 `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight" json:"last_block_height,omitempty"`
|
|
|
|
LastBlockAppHash []byte `protobuf:"bytes,4,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseInfo) Reset() { *m = ResponseInfo{} }
|
|
|
|
func (m *ResponseInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseInfo) ProtoMessage() {}
|
|
|
|
func (*ResponseInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
|
|
|
|
|
2016-12-26 17:44:36 -08:00
|
|
|
func (m *ResponseInfo) GetData() string {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
2016-12-26 17:44:36 -08:00
|
|
|
return m.Data
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-12-26 17:44:36 -08:00
|
|
|
func (m *ResponseInfo) GetVersion() string {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
2016-12-26 17:44:36 -08:00
|
|
|
return m.Version
|
2016-08-22 11:01:26 -07:00
|
|
|
}
|
2016-12-26 17:44:36 -08:00
|
|
|
return ""
|
2016-08-22 11:01:26 -07:00
|
|
|
}
|
|
|
|
|
2016-12-26 17:44:36 -08:00
|
|
|
func (m *ResponseInfo) GetLastBlockHeight() uint64 {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
2016-12-26 17:44:36 -08:00
|
|
|
return m.LastBlockHeight
|
2016-08-22 11:01:26 -07:00
|
|
|
}
|
2016-12-26 17:44:36 -08:00
|
|
|
return 0
|
2016-08-22 11:01:26 -07:00
|
|
|
}
|
|
|
|
|
2016-12-26 17:44:36 -08:00
|
|
|
func (m *ResponseInfo) GetLastBlockAppHash() []byte {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
2016-12-26 17:44:36 -08:00
|
|
|
return m.LastBlockAppHash
|
2016-08-22 11:01:26 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseSetOption struct {
|
|
|
|
Log string `protobuf:"bytes,1,opt,name=log" json:"log,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseSetOption) Reset() { *m = ResponseSetOption{} }
|
|
|
|
func (m *ResponseSetOption) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseSetOption) ProtoMessage() {}
|
|
|
|
func (*ResponseSetOption) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *ResponseSetOption) GetLog() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
type ResponseDeliverTx struct {
|
2016-05-13 23:22:32 -07:00
|
|
|
Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"`
|
|
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} }
|
|
|
|
func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseDeliverTx) ProtoMessage() {}
|
|
|
|
func (*ResponseDeliverTx) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
func (m *ResponseDeliverTx) GetCode() CodeType {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
|
|
|
return CodeType_OK
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
func (m *ResponseDeliverTx) GetData() []byte {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:27:08 -08:00
|
|
|
func (m *ResponseDeliverTx) GetLog() string {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseCheckTx struct {
|
|
|
|
Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"`
|
|
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} }
|
|
|
|
func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseCheckTx) ProtoMessage() {}
|
|
|
|
func (*ResponseCheckTx) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *ResponseCheckTx) GetCode() CodeType {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
|
|
|
return CodeType_OK
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCheckTx) GetData() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCheckTx) GetLog() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseQuery struct {
|
|
|
|
Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"`
|
|
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseQuery) Reset() { *m = ResponseQuery{} }
|
|
|
|
func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseQuery) ProtoMessage() {}
|
|
|
|
func (*ResponseQuery) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *ResponseQuery) GetCode() CodeType {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
|
|
|
return CodeType_OK
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseQuery) GetData() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseQuery) GetLog() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseCommit struct {
|
|
|
|
Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"`
|
|
|
|
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCommit) Reset() { *m = ResponseCommit{} }
|
|
|
|
func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseCommit) ProtoMessage() {}
|
|
|
|
func (*ResponseCommit) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *ResponseCommit) GetCode() CodeType {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
|
|
|
return CodeType_OK
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCommit) GetData() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCommit) GetLog() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseInitChain struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseInitChain) Reset() { *m = ResponseInitChain{} }
|
|
|
|
func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseInitChain) ProtoMessage() {}
|
|
|
|
func (*ResponseInitChain) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
|
|
|
|
|
|
|
|
type ResponseBeginBlock struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseBeginBlock) Reset() { *m = ResponseBeginBlock{} }
|
|
|
|
func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseBeginBlock) ProtoMessage() {}
|
|
|
|
func (*ResponseBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
|
|
|
|
|
|
|
|
type ResponseEndBlock struct {
|
|
|
|
Diffs []*Validator `protobuf:"bytes,4,rep,name=diffs" json:"diffs,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseEndBlock) Reset() { *m = ResponseEndBlock{} }
|
|
|
|
func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseEndBlock) ProtoMessage() {}
|
|
|
|
func (*ResponseEndBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
|
|
|
|
|
|
|
|
func (m *ResponseEndBlock) GetDiffs() []*Validator {
|
|
|
|
if m != nil {
|
|
|
|
return m.Diffs
|
2016-02-28 18:53:24 -08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-22 11:01:26 -07:00
|
|
|
type Header struct {
|
2016-11-16 13:11:36 -08:00
|
|
|
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"`
|
2016-11-22 10:59:27 -08:00
|
|
|
Height uint64 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
|
2016-11-16 13:11:36 -08:00
|
|
|
Time uint64 `protobuf:"varint,3,opt,name=time" json:"time,omitempty"`
|
|
|
|
NumTxs uint64 `protobuf:"varint,4,opt,name=num_txs,json=numTxs" json:"num_txs,omitempty"`
|
|
|
|
LastBlockId *BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId" json:"last_block_id,omitempty"`
|
|
|
|
LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
|
|
|
|
DataHash []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
|
|
|
|
ValidatorsHash []byte `protobuf:"bytes,8,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"`
|
|
|
|
AppHash []byte `protobuf:"bytes,9,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
|
2016-08-22 11:01:26 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Header) Reset() { *m = Header{} }
|
|
|
|
func (m *Header) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Header) ProtoMessage() {}
|
2016-12-26 17:44:36 -08:00
|
|
|
func (*Header) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
|
2016-08-22 11:01:26 -07:00
|
|
|
|
|
|
|
func (m *Header) GetChainId() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ChainId
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-11-22 10:59:27 -08:00
|
|
|
func (m *Header) GetHeight() uint64 {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
|
|
|
return m.Height
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Header) GetTime() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Time
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Header) GetNumTxs() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumTxs
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-11-16 13:11:36 -08:00
|
|
|
func (m *Header) GetLastBlockId() *BlockID {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
2016-11-16 13:11:36 -08:00
|
|
|
return m.LastBlockId
|
2016-08-22 11:01:26 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Header) GetLastCommitHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.LastCommitHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Header) GetDataHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.DataHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Header) GetValidatorsHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.ValidatorsHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Header) GetAppHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.AppHash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-11-16 13:11:36 -08:00
|
|
|
type BlockID struct {
|
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
Parts *PartSetHeader `protobuf:"bytes,2,opt,name=parts" json:"parts,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockID) Reset() { *m = BlockID{} }
|
|
|
|
func (m *BlockID) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BlockID) ProtoMessage() {}
|
2016-12-26 17:44:36 -08:00
|
|
|
func (*BlockID) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
|
2016-11-16 13:11:36 -08:00
|
|
|
|
|
|
|
func (m *BlockID) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *BlockID) GetParts() *PartSetHeader {
|
|
|
|
if m != nil {
|
|
|
|
return m.Parts
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-08-22 11:01:26 -07:00
|
|
|
type PartSetHeader struct {
|
|
|
|
Total uint64 `protobuf:"varint,1,opt,name=total" json:"total,omitempty"`
|
|
|
|
Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartSetHeader) Reset() { *m = PartSetHeader{} }
|
|
|
|
func (m *PartSetHeader) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*PartSetHeader) ProtoMessage() {}
|
2016-12-26 17:44:36 -08:00
|
|
|
func (*PartSetHeader) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
|
2016-08-22 11:01:26 -07:00
|
|
|
|
|
|
|
func (m *PartSetHeader) GetTotal() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Total
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *PartSetHeader) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-02-28 18:53:24 -08:00
|
|
|
type Validator struct {
|
|
|
|
PubKey []byte `protobuf:"bytes,1,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
|
|
|
|
Power uint64 `protobuf:"varint,2,opt,name=power" json:"power,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Validator) Reset() { *m = Validator{} }
|
|
|
|
func (m *Validator) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Validator) ProtoMessage() {}
|
2016-12-26 17:44:36 -08:00
|
|
|
func (*Validator) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
|
2016-02-28 18:53:24 -08:00
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *Validator) GetPubKey() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.PubKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Validator) GetPower() uint64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Power
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-01-30 19:36:33 -08:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Request)(nil), "types.Request")
|
2016-05-13 23:22:32 -07:00
|
|
|
proto.RegisterType((*RequestEcho)(nil), "types.RequestEcho")
|
|
|
|
proto.RegisterType((*RequestFlush)(nil), "types.RequestFlush")
|
|
|
|
proto.RegisterType((*RequestInfo)(nil), "types.RequestInfo")
|
|
|
|
proto.RegisterType((*RequestSetOption)(nil), "types.RequestSetOption")
|
2017-01-12 12:27:08 -08:00
|
|
|
proto.RegisterType((*RequestDeliverTx)(nil), "types.RequestDeliverTx")
|
2016-05-13 23:22:32 -07:00
|
|
|
proto.RegisterType((*RequestCheckTx)(nil), "types.RequestCheckTx")
|
|
|
|
proto.RegisterType((*RequestQuery)(nil), "types.RequestQuery")
|
|
|
|
proto.RegisterType((*RequestCommit)(nil), "types.RequestCommit")
|
|
|
|
proto.RegisterType((*RequestInitChain)(nil), "types.RequestInitChain")
|
|
|
|
proto.RegisterType((*RequestBeginBlock)(nil), "types.RequestBeginBlock")
|
|
|
|
proto.RegisterType((*RequestEndBlock)(nil), "types.RequestEndBlock")
|
2016-01-30 19:36:33 -08:00
|
|
|
proto.RegisterType((*Response)(nil), "types.Response")
|
2016-05-13 23:22:32 -07:00
|
|
|
proto.RegisterType((*ResponseException)(nil), "types.ResponseException")
|
|
|
|
proto.RegisterType((*ResponseEcho)(nil), "types.ResponseEcho")
|
|
|
|
proto.RegisterType((*ResponseFlush)(nil), "types.ResponseFlush")
|
|
|
|
proto.RegisterType((*ResponseInfo)(nil), "types.ResponseInfo")
|
|
|
|
proto.RegisterType((*ResponseSetOption)(nil), "types.ResponseSetOption")
|
2017-01-12 12:27:08 -08:00
|
|
|
proto.RegisterType((*ResponseDeliverTx)(nil), "types.ResponseDeliverTx")
|
2016-05-13 23:22:32 -07:00
|
|
|
proto.RegisterType((*ResponseCheckTx)(nil), "types.ResponseCheckTx")
|
|
|
|
proto.RegisterType((*ResponseQuery)(nil), "types.ResponseQuery")
|
|
|
|
proto.RegisterType((*ResponseCommit)(nil), "types.ResponseCommit")
|
|
|
|
proto.RegisterType((*ResponseInitChain)(nil), "types.ResponseInitChain")
|
|
|
|
proto.RegisterType((*ResponseBeginBlock)(nil), "types.ResponseBeginBlock")
|
|
|
|
proto.RegisterType((*ResponseEndBlock)(nil), "types.ResponseEndBlock")
|
2016-08-22 11:01:26 -07:00
|
|
|
proto.RegisterType((*Header)(nil), "types.Header")
|
2016-11-16 13:11:36 -08:00
|
|
|
proto.RegisterType((*BlockID)(nil), "types.BlockID")
|
2016-08-22 11:01:26 -07:00
|
|
|
proto.RegisterType((*PartSetHeader)(nil), "types.PartSetHeader")
|
2016-02-28 18:53:24 -08:00
|
|
|
proto.RegisterType((*Validator)(nil), "types.Validator")
|
2016-01-31 19:56:02 -08:00
|
|
|
proto.RegisterEnum("types.MessageType", MessageType_name, MessageType_value)
|
2016-01-31 20:39:43 -08:00
|
|
|
proto.RegisterEnum("types.CodeType", CodeType_name, CodeType_value)
|
2016-01-30 19:36:33 -08:00
|
|
|
}
|
|
|
|
|
2016-05-17 21:54:32 -07:00
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
|
|
|
var _ grpc.ClientConn
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
2016-11-15 11:11:01 -08:00
|
|
|
const _ = grpc.SupportPackageIsVersion4
|
2016-05-17 21:54:32 -07:00
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
// Client API for ABCIApplication service
|
2016-05-17 21:54:32 -07:00
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
type ABCIApplicationClient interface {
|
2016-05-17 21:54:32 -07:00
|
|
|
Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error)
|
|
|
|
Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error)
|
|
|
|
Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error)
|
|
|
|
SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error)
|
2017-01-12 12:27:08 -08:00
|
|
|
DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error)
|
2016-05-17 21:54:32 -07:00
|
|
|
CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
|
|
|
|
Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error)
|
|
|
|
Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error)
|
|
|
|
InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error)
|
|
|
|
BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error)
|
|
|
|
EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error)
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
type aBCIApplicationClient struct {
|
2016-05-17 21:54:32 -07:00
|
|
|
cc *grpc.ClientConn
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func NewABCIApplicationClient(cc *grpc.ClientConn) ABCIApplicationClient {
|
2017-01-13 10:12:38 -08:00
|
|
|
return &aBCIApplicationClient{cc}
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseEcho)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/Echo", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseFlush)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/Flush", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseInfo)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/Info", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseSetOption)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/SetOption", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error) {
|
2017-01-12 12:27:08 -08:00
|
|
|
out := new(ResponseDeliverTx)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/DeliverTx", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseCheckTx)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/CheckTx", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseQuery)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/Query", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseCommit)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/Commit", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseInitChain)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/InitChain", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseBeginBlock)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/BeginBlock", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-13 10:12:38 -08:00
|
|
|
func (c *aBCIApplicationClient) EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
out := new(ResponseEndBlock)
|
2017-01-12 12:47:55 -08:00
|
|
|
err := grpc.Invoke(ctx, "/types.ABCIApplication/EndBlock", in, out, c.cc, opts...)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
// Server API for ABCIApplication service
|
2016-05-17 21:54:32 -07:00
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
type ABCIApplicationServer interface {
|
2016-05-17 21:54:32 -07:00
|
|
|
Echo(context.Context, *RequestEcho) (*ResponseEcho, error)
|
|
|
|
Flush(context.Context, *RequestFlush) (*ResponseFlush, error)
|
|
|
|
Info(context.Context, *RequestInfo) (*ResponseInfo, error)
|
|
|
|
SetOption(context.Context, *RequestSetOption) (*ResponseSetOption, error)
|
2017-01-12 12:27:08 -08:00
|
|
|
DeliverTx(context.Context, *RequestDeliverTx) (*ResponseDeliverTx, error)
|
2016-05-17 21:54:32 -07:00
|
|
|
CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
|
|
|
|
Query(context.Context, *RequestQuery) (*ResponseQuery, error)
|
|
|
|
Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
|
|
|
|
InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
|
|
|
|
BeginBlock(context.Context, *RequestBeginBlock) (*ResponseBeginBlock, error)
|
|
|
|
EndBlock(context.Context, *RequestEndBlock) (*ResponseEndBlock, error)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer) {
|
|
|
|
s.RegisterService(&_ABCIApplication_serviceDesc, srv)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestEcho)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Echo(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/Echo",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Echo(ctx, req.(*RequestEcho))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestFlush)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Flush(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/Flush",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Flush(ctx, req.(*RequestFlush))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestInfo)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Info(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/Info",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Info(ctx, req.(*RequestInfo))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_SetOption_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestSetOption)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).SetOption(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/SetOption",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).SetOption(ctx, req.(*RequestSetOption))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_DeliverTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2017-01-12 12:27:08 -08:00
|
|
|
in := new(RequestDeliverTx)
|
2016-05-17 21:54:32 -07:00
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).DeliverTx(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/DeliverTx",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).DeliverTx(ctx, req.(*RequestDeliverTx))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_CheckTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestCheckTx)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).CheckTx(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/CheckTx",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).CheckTx(ctx, req.(*RequestCheckTx))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestQuery)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Query(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/Query",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Query(ctx, req.(*RequestQuery))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestCommit)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Commit(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/Commit",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).Commit(ctx, req.(*RequestCommit))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_InitChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestInitChain)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).InitChain(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/InitChain",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).InitChain(ctx, req.(*RequestInitChain))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_BeginBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestBeginBlock)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).BeginBlock(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/BeginBlock",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).BeginBlock(ctx, req.(*RequestBeginBlock))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
func _ABCIApplication_EndBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2016-05-17 21:54:32 -07:00
|
|
|
in := new(RequestEndBlock)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).EndBlock(ctx, in)
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2017-01-12 12:47:55 -08:00
|
|
|
FullMethod: "/types.ABCIApplication/EndBlock",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2017-01-12 12:47:55 -08:00
|
|
|
return srv.(ABCIApplicationServer).EndBlock(ctx, req.(*RequestEndBlock))
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2017-01-12 12:47:55 -08:00
|
|
|
var _ABCIApplication_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "types.ABCIApplication",
|
|
|
|
HandlerType: (*ABCIApplicationServer)(nil),
|
2016-05-17 21:54:32 -07:00
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
{
|
|
|
|
MethodName: "Echo",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_Echo_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Flush",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_Flush_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Info",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_Info_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "SetOption",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_SetOption_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
2017-01-12 12:27:08 -08:00
|
|
|
MethodName: "DeliverTx",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_DeliverTx_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "CheckTx",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_CheckTx_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Query",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_Query_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "Commit",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_Commit_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "InitChain",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_InitChain_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "BeginBlock",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_BeginBlock_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
MethodName: "EndBlock",
|
2017-01-12 12:47:55 -08:00
|
|
|
Handler: _ABCIApplication_EndBlock_Handler,
|
2016-05-17 21:54:32 -07:00
|
|
|
},
|
|
|
|
},
|
2016-06-16 16:12:44 -07:00
|
|
|
Streams: []grpc.StreamDesc{},
|
2016-11-15 11:11:01 -08:00
|
|
|
Metadata: "types/types.proto",
|
2016-05-17 21:54:32 -07:00
|
|
|
}
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func init() { proto.RegisterFile("types/types.proto", fileDescriptor0) }
|
2016-06-16 16:12:44 -07:00
|
|
|
|
2016-01-30 19:36:33 -08:00
|
|
|
var fileDescriptor0 = []byte{
|
2017-01-13 10:12:38 -08:00
|
|
|
// 1642 bytes of a gzipped FileDesc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