2017-11-30 11:30:21 -08:00
|
|
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
2016-11-15 11:11:01 -08:00
|
|
|
// source: types/types.proto
|
2016-01-30 19:36:33 -08:00
|
|
|
|
|
|
|
/*
|
|
|
|
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
|
|
|
|
RequestInitChain
|
2017-12-20 00:02:41 -08:00
|
|
|
RequestQuery
|
2016-05-13 23:22:32 -07:00
|
|
|
RequestBeginBlock
|
2017-12-20 00:02:41 -08:00
|
|
|
RequestCheckTx
|
|
|
|
RequestDeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
RequestEndBlock
|
2017-12-20 00:02:41 -08:00
|
|
|
RequestCommit
|
2016-01-30 19:36:33 -08:00
|
|
|
Response
|
2016-05-13 23:22:32 -07:00
|
|
|
ResponseException
|
|
|
|
ResponseEcho
|
|
|
|
ResponseFlush
|
|
|
|
ResponseInfo
|
|
|
|
ResponseSetOption
|
|
|
|
ResponseInitChain
|
2017-12-20 00:02:41 -08:00
|
|
|
ResponseQuery
|
2016-05-13 23:22:32 -07:00
|
|
|
ResponseBeginBlock
|
2017-12-20 00:02:41 -08:00
|
|
|
ResponseCheckTx
|
|
|
|
ResponseDeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
ResponseEndBlock
|
2017-12-20 00:02:41 -08:00
|
|
|
ResponseCommit
|
2017-12-13 08:50:24 -08:00
|
|
|
ConsensusParams
|
2017-12-14 00:27:20 -08:00
|
|
|
BlockSize
|
|
|
|
TxSize
|
|
|
|
BlockGossip
|
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
|
2017-11-30 22:09:16 -08:00
|
|
|
Evidence
|
2017-11-09 13:52:52 -08:00
|
|
|
KVPair
|
2016-01-30 19:36:33 -08:00
|
|
|
*/
|
2017-12-19 10:29:59 -08:00
|
|
|
//nolint: gas
|
2016-01-30 19:36:33 -08:00
|
|
|
package types
|
|
|
|
|
2017-11-30 11:30:21 -08:00
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
2016-01-30 19:36:33 -08:00
|
|
|
import fmt "fmt"
|
|
|
|
import math "math"
|
2017-11-30 12:31:10 -08:00
|
|
|
import _ "github.com/gogo/protobuf/gogoproto"
|
|
|
|
|
|
|
|
import github_com_tendermint_go_wire_data "github.com/tendermint/go-wire/data"
|
2016-01-30 19:36:33 -08:00
|
|
|
|
2017-11-30 11:30:21 -08:00
|
|
|
import context "golang.org/x/net/context"
|
|
|
|
import grpc "google.golang.org/grpc"
|
2016-05-17 21:54:32 -07:00
|
|
|
|
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.
|
2017-11-30 11:30:21 -08:00
|
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-11-20 16:21:59 -08:00
|
|
|
type KVPair_Type int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
KVPair_STRING KVPair_Type = 0
|
|
|
|
KVPair_INT KVPair_Type = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
var KVPair_Type_name = map[int32]string{
|
|
|
|
0: "STRING",
|
|
|
|
1: "INT",
|
|
|
|
}
|
|
|
|
var KVPair_Type_value = map[string]int32{
|
|
|
|
"STRING": 0,
|
|
|
|
"INT": 1,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x KVPair_Type) String() string {
|
|
|
|
return proto.EnumName(KVPair_Type_name, int32(x))
|
|
|
|
}
|
2017-12-13 08:50:24 -08:00
|
|
|
func (KVPair_Type) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{34, 0} }
|
2017-11-20 16:21:59 -08:00
|
|
|
|
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
|
|
|
|
// *Request_InitChain
|
2017-12-20 00:02:41 -08:00
|
|
|
// *Request_Query
|
2016-05-13 23:22:32 -07:00
|
|
|
// *Request_BeginBlock
|
2017-12-20 00:02:41 -08:00
|
|
|
// *Request_CheckTx
|
|
|
|
// *Request_DeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
// *Request_EndBlock
|
2017-12-20 00:02:41 -08:00
|
|
|
// *Request_Commit
|
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() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} }
|
2016-01-30 19:36:33 -08:00
|
|
|
|
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 {
|
2017-12-20 00:02:41 -08:00
|
|
|
Echo *RequestEcho `protobuf:"bytes,2,opt,name=echo,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Request_Flush struct {
|
2017-12-20 00:02:41 -08:00
|
|
|
Flush *RequestFlush `protobuf:"bytes,3,opt,name=flush,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Request_Info struct {
|
2017-12-20 00:02:41 -08:00
|
|
|
Info *RequestInfo `protobuf:"bytes,4,opt,name=info,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Request_SetOption struct {
|
2017-12-20 00:02:41 -08:00
|
|
|
SetOption *RequestSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
type Request_InitChain struct {
|
|
|
|
InitChain *RequestInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Request_Query struct {
|
2017-12-20 00:02:41 -08:00
|
|
|
Query *RequestQuery `protobuf:"bytes,7,opt,name=query,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Request_BeginBlock struct {
|
2017-12-20 00:02:41 -08:00
|
|
|
BeginBlock *RequestBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,oneof"`
|
|
|
|
}
|
|
|
|
type Request_CheckTx struct {
|
|
|
|
CheckTx *RequestCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,oneof"`
|
|
|
|
}
|
|
|
|
type Request_DeliverTx struct {
|
|
|
|
DeliverTx *RequestDeliverTx `protobuf:"bytes,19,opt,name=deliver_tx,json=deliverTx,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Request_EndBlock struct {
|
|
|
|
EndBlock *RequestEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,oneof"`
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
type Request_Commit struct {
|
|
|
|
Commit *RequestCommit `protobuf:"bytes,12,opt,name=commit,oneof"`
|
|
|
|
}
|
2016-05-13 23:22:32 -07:00
|
|
|
|
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() {}
|
|
|
|
func (*Request_InitChain) isRequest_Value() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*Request_Query) isRequest_Value() {}
|
2016-05-17 17:06:24 -07:00
|
|
|
func (*Request_BeginBlock) isRequest_Value() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*Request_CheckTx) isRequest_Value() {}
|
|
|
|
func (*Request_DeliverTx) isRequest_Value() {}
|
2016-05-17 17:06:24 -07:00
|
|
|
func (*Request_EndBlock) isRequest_Value() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*Request_Commit) 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-12-20 00:02:41 -08:00
|
|
|
func (m *Request) GetInitChain() *RequestInitChain {
|
|
|
|
if x, ok := m.GetValue().(*Request_InitChain); ok {
|
|
|
|
return x.InitChain
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Request) GetQuery() *RequestQuery {
|
|
|
|
if x, ok := m.GetValue().(*Request_Query); ok {
|
|
|
|
return x.Query
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Request) GetBeginBlock() *RequestBeginBlock {
|
|
|
|
if x, ok := m.GetValue().(*Request_BeginBlock); ok {
|
|
|
|
return x.BeginBlock
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Request) GetCheckTx() *RequestCheckTx {
|
|
|
|
if x, ok := m.GetValue().(*Request_CheckTx); ok {
|
|
|
|
return x.CheckTx
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -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
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Request) GetEndBlock() *RequestEndBlock {
|
|
|
|
if x, ok := m.GetValue().(*Request_EndBlock); ok {
|
|
|
|
return x.EndBlock
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Request) GetCommit() *RequestCommit {
|
|
|
|
if x, ok := m.GetValue().(*Request_Commit); ok {
|
|
|
|
return x.Commit
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
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),
|
|
|
|
(*Request_InitChain)(nil),
|
2017-12-20 00:02:41 -08:00
|
|
|
(*Request_Query)(nil),
|
2016-05-13 23:22:32 -07:00
|
|
|
(*Request_BeginBlock)(nil),
|
2017-12-20 00:02:41 -08:00
|
|
|
(*Request_CheckTx)(nil),
|
|
|
|
(*Request_DeliverTx)(nil),
|
2016-05-13 23:22:32 -07:00
|
|
|
(*Request_EndBlock)(nil),
|
2017-12-20 00:02:41 -08:00
|
|
|
(*Request_Commit)(nil),
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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:
|
2017-12-20 00:02:41 -08:00
|
|
|
_ = b.EncodeVarint(2<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.Echo); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_Flush:
|
2017-12-20 00:02:41 -08:00
|
|
|
_ = b.EncodeVarint(3<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.Flush); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_Info:
|
2017-12-20 00:02:41 -08:00
|
|
|
_ = b.EncodeVarint(4<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.Info); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_SetOption:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(5<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.SetOption); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_InitChain:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(6<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.InitChain); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_Query:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(7<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.Query); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_BeginBlock:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(8<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.BeginBlock); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_CheckTx:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(9<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.CheckTx); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_DeliverTx:
|
|
|
|
_ = b.EncodeVarint(19<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.DeliverTx); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Request_EndBlock:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(11<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.EndBlock); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_Commit:
|
|
|
|
_ = b.EncodeVarint(12<<3 | proto.WireBytes)
|
|
|
|
if err := b.EncodeMessage(x.Commit); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2016-05-13 23:22:32 -07:00
|
|
|
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 {
|
2017-12-20 00:02:41 -08:00
|
|
|
case 2: // 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
|
2017-12-20 00:02:41 -08:00
|
|
|
case 3: // 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
|
2017-12-20 00:02:41 -08:00
|
|
|
case 4: // 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
|
2017-12-20 00:02:41 -08:00
|
|
|
case 5: // 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-12-20 00:02:41 -08:00
|
|
|
case 6: // value.init_chain
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(RequestInitChain)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Request_InitChain{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 7: // value.query
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(RequestQuery)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Request_Query{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 8: // value.begin_block
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(RequestBeginBlock)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Request_BeginBlock{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 9: // value.check_tx
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(RequestCheckTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Request_CheckTx{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 19: // value.deliver_tx
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(RequestDeliverTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Request_DeliverTx{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 11: // value.end_block
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(RequestEndBlock)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Request_EndBlock{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 12: // value.commit
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(RequestCommit)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Request_Commit{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)
|
2017-12-20 00:02:41 -08:00
|
|
|
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_Flush:
|
|
|
|
s := proto.Size(x.Flush)
|
2017-12-20 00:02:41 -08:00
|
|
|
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_Info:
|
|
|
|
s := proto.Size(x.Info)
|
2017-12-20 00:02:41 -08:00
|
|
|
n += proto.SizeVarint(4<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
|
|
|
case *Request_SetOption:
|
|
|
|
s := proto.Size(x.SetOption)
|
|
|
|
n += proto.SizeVarint(5<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_InitChain:
|
|
|
|
s := proto.Size(x.InitChain)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_Query:
|
|
|
|
s := proto.Size(x.Query)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(7<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_BeginBlock:
|
|
|
|
s := proto.Size(x.BeginBlock)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_CheckTx:
|
|
|
|
s := proto.Size(x.CheckTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(9<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_DeliverTx:
|
|
|
|
s := proto.Size(x.DeliverTx)
|
|
|
|
n += proto.SizeVarint(19<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
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
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Request_Commit:
|
|
|
|
s := proto.Size(x.Commit)
|
|
|
|
n += proto.SizeVarint(12<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2016-05-13 23:22:32 -07:00
|
|
|
case nil:
|
|
|
|
default:
|
|
|
|
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
|
|
|
}
|
|
|
|
return n
|
|
|
|
}
|
|
|
|
|
|
|
|
type RequestEcho struct {
|
2017-11-30 11:30:21 -08:00
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestEcho) Reset() { *m = RequestEcho{} }
|
|
|
|
func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestEcho) ProtoMessage() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*RequestEcho) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
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() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*RequestFlush) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{2} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
|
|
|
type RequestInfo struct {
|
2017-11-30 11:30:21 -08:00
|
|
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestInfo) Reset() { *m = RequestInfo{} }
|
|
|
|
func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestInfo) ProtoMessage() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*RequestInfo) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{3} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-09-22 08:10:39 -07:00
|
|
|
func (m *RequestInfo) GetVersion() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Version
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestSetOption struct {
|
2017-11-30 11:30:21 -08:00
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestSetOption) Reset() { *m = RequestSetOption{} }
|
|
|
|
func (m *RequestSetOption) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestSetOption) ProtoMessage() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*RequestSetOption) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{4} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
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-12-20 00:02:41 -08:00
|
|
|
type RequestInitChain struct {
|
|
|
|
Validators []*Validator `protobuf:"bytes,1,rep,name=validators" json:"validators,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *RequestInitChain) Reset() { *m = RequestInitChain{} }
|
|
|
|
func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestInitChain) ProtoMessage() {}
|
|
|
|
func (*RequestInitChain) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{5} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *RequestInitChain) GetValidators() []*Validator {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
2017-12-20 00:02:41 -08:00
|
|
|
return m.Validators
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestQuery struct {
|
2017-02-14 13:53:21 -08:00
|
|
|
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
2017-11-30 11:30:21 -08:00
|
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
2017-11-30 21:41:07 -08:00
|
|
|
Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
|
2017-11-30 11:30:21 -08:00
|
|
|
Prove bool `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestQuery) Reset() { *m = RequestQuery{} }
|
|
|
|
func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestQuery) ProtoMessage() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*RequestQuery) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{6} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-01-23 23:42:09 -08:00
|
|
|
func (m *RequestQuery) GetData() []byte {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
2017-01-23 23:42:09 -08:00
|
|
|
return m.Data
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-01-23 23:42:09 -08:00
|
|
|
func (m *RequestQuery) GetPath() string {
|
2017-01-10 06:59:29 -08:00
|
|
|
if m != nil {
|
2017-01-23 23:42:09 -08:00
|
|
|
return m.Path
|
2017-01-10 06:59:29 -08:00
|
|
|
}
|
2017-01-23 23:42:09 -08:00
|
|
|
return ""
|
2017-01-10 06:59:29 -08:00
|
|
|
}
|
|
|
|
|
2017-11-30 21:41:07 -08:00
|
|
|
func (m *RequestQuery) GetHeight() int64 {
|
2017-01-10 06:59:29 -08:00
|
|
|
if m != nil {
|
2017-02-14 13:53:21 -08:00
|
|
|
return m.Height
|
2017-01-10 06:59:29 -08:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-01-23 23:42:09 -08:00
|
|
|
func (m *RequestQuery) GetProve() bool {
|
|
|
|
if m != nil {
|
|
|
|
return m.Prove
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestBeginBlock struct {
|
2017-11-30 22:09:16 -08:00
|
|
|
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
|
|
Header *Header `protobuf:"bytes,2,opt,name=header" json:"header,omitempty"`
|
2017-12-02 08:47:02 -08:00
|
|
|
AbsentValidators []int32 `protobuf:"varint,3,rep,packed,name=absent_validators,json=absentValidators" json:"absent_validators,omitempty"`
|
2017-11-30 22:09:16 -08:00
|
|
|
ByzantineValidators []*Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators" json:"byzantine_validators,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() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*RequestBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{7} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-12-02 08:47:02 -08:00
|
|
|
func (m *RequestBeginBlock) GetAbsentValidators() []int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.AbsentValidators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-30 22:09:16 -08:00
|
|
|
func (m *RequestBeginBlock) GetByzantineValidators() []*Evidence {
|
|
|
|
if m != nil {
|
|
|
|
return m.ByzantineValidators
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08: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 fileDescriptorTypes, []int{8} }
|
|
|
|
|
|
|
|
func (m *RequestCheckTx) GetTx() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Tx
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type RequestDeliverTx struct {
|
|
|
|
Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestDeliverTx) Reset() { *m = RequestDeliverTx{} }
|
|
|
|
func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestDeliverTx) ProtoMessage() {}
|
|
|
|
func (*RequestDeliverTx) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{9} }
|
|
|
|
|
|
|
|
func (m *RequestDeliverTx) GetTx() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Tx
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type RequestEndBlock struct {
|
2017-11-30 21:41:07 -08:00
|
|
|
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *RequestEndBlock) Reset() { *m = RequestEndBlock{} }
|
|
|
|
func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*RequestEndBlock) ProtoMessage() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*RequestEndBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{10} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-11-30 21:41:07 -08:00
|
|
|
func (m *RequestEndBlock) GetHeight() int64 {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Height
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08: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 fileDescriptorTypes, []int{11} }
|
|
|
|
|
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
|
|
|
|
// *Response_InitChain
|
2017-12-20 00:02:41 -08:00
|
|
|
// *Response_Query
|
2016-05-13 23:22:32 -07:00
|
|
|
// *Response_BeginBlock
|
2017-12-20 00:02:41 -08:00
|
|
|
// *Response_CheckTx
|
|
|
|
// *Response_DeliverTx
|
2016-05-13 23:22:32 -07:00
|
|
|
// *Response_EndBlock
|
2017-12-20 00:02:41 -08:00
|
|
|
// *Response_Commit
|
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() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*Response) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{12} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
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-12-20 00:02:41 -08:00
|
|
|
type Response_InitChain struct {
|
|
|
|
InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Response_Query struct {
|
2017-12-20 00:02:41 -08:00
|
|
|
Query *ResponseQuery `protobuf:"bytes,7,opt,name=query,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Response_BeginBlock struct {
|
2017-12-20 00:02:41 -08:00
|
|
|
BeginBlock *ResponseBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,oneof"`
|
|
|
|
}
|
|
|
|
type Response_CheckTx struct {
|
|
|
|
CheckTx *ResponseCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,oneof"`
|
|
|
|
}
|
|
|
|
type Response_DeliverTx struct {
|
|
|
|
DeliverTx *ResponseDeliverTx `protobuf:"bytes,10,opt,name=deliver_tx,json=deliverTx,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
type Response_EndBlock struct {
|
2017-12-20 00:02:41 -08:00
|
|
|
EndBlock *ResponseEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,oneof"`
|
|
|
|
}
|
|
|
|
type Response_Commit struct {
|
|
|
|
Commit *ResponseCommit `protobuf:"bytes,12,opt,name=commit,oneof"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
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() {}
|
|
|
|
func (*Response_InitChain) isResponse_Value() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*Response_Query) isResponse_Value() {}
|
2016-05-17 17:06:24 -07:00
|
|
|
func (*Response_BeginBlock) isResponse_Value() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*Response_CheckTx) isResponse_Value() {}
|
|
|
|
func (*Response_DeliverTx) isResponse_Value() {}
|
2016-05-17 17:06:24 -07:00
|
|
|
func (*Response_EndBlock) isResponse_Value() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*Response_Commit) isResponse_Value() {}
|
2016-05-17 17:06:24 -07:00
|
|
|
|
|
|
|
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-12-20 00:02:41 -08:00
|
|
|
func (m *Response) GetInitChain() *ResponseInitChain {
|
|
|
|
if x, ok := m.GetValue().(*Response_InitChain); ok {
|
|
|
|
return x.InitChain
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Response) GetQuery() *ResponseQuery {
|
|
|
|
if x, ok := m.GetValue().(*Response_Query); ok {
|
|
|
|
return x.Query
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Response) GetBeginBlock() *ResponseBeginBlock {
|
|
|
|
if x, ok := m.GetValue().(*Response_BeginBlock); ok {
|
|
|
|
return x.BeginBlock
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Response) GetCheckTx() *ResponseCheckTx {
|
|
|
|
if x, ok := m.GetValue().(*Response_CheckTx); ok {
|
|
|
|
return x.CheckTx
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -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) 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
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *Response) GetCommit() *ResponseCommit {
|
|
|
|
if x, ok := m.GetValue().(*Response_Commit); ok {
|
|
|
|
return x.Commit
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
// 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),
|
|
|
|
(*Response_InitChain)(nil),
|
2017-12-20 00:02:41 -08:00
|
|
|
(*Response_Query)(nil),
|
2016-05-13 23:22:32 -07:00
|
|
|
(*Response_BeginBlock)(nil),
|
2017-12-20 00:02:41 -08:00
|
|
|
(*Response_CheckTx)(nil),
|
|
|
|
(*Response_DeliverTx)(nil),
|
2016-05-13 23:22:32 -07:00
|
|
|
(*Response_EndBlock)(nil),
|
2017-12-20 00:02:41 -08:00
|
|
|
(*Response_Commit)(nil),
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(1<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.Exception); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_Echo:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(2<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.Echo); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_Flush:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(3<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.Flush); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_Info:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(4<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.Info); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
case *Response_SetOption:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(5<<3 | proto.WireBytes)
|
2016-05-13 23:22:32 -07:00
|
|
|
if err := b.EncodeMessage(x.SetOption); err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_InitChain:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(6<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.InitChain); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_Query:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(7<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.Query); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_BeginBlock:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(8<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.BeginBlock); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_CheckTx:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(9<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.CheckTx); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_DeliverTx:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(10<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.DeliverTx); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_EndBlock:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(11<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.EndBlock); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
return err
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_Commit:
|
2017-11-30 11:30:21 -08:00
|
|
|
_ = b.EncodeVarint(12<<3 | proto.WireBytes)
|
2017-12-20 00:02:41 -08:00
|
|
|
if err := b.EncodeMessage(x.Commit); err != nil {
|
2016-05-13 23:22:32 -07:00
|
|
|
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-12-20 00:02:41 -08:00
|
|
|
case 6: // value.init_chain
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(ResponseInitChain)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Response_InitChain{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 7: // value.query
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(ResponseQuery)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Response_Query{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 8: // value.begin_block
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(ResponseBeginBlock)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Response_BeginBlock{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 9: // value.check_tx
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(ResponseCheckTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Response_CheckTx{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 10: // value.deliver_tx
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(ResponseDeliverTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Response_DeliverTx{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 11: // value.end_block
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(ResponseEndBlock)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Response_EndBlock{msg}
|
2016-05-13 23:22:32 -07:00
|
|
|
return true, err
|
2017-12-20 00:02:41 -08:00
|
|
|
case 12: // value.commit
|
2016-05-13 23:22:32 -07:00
|
|
|
if wire != proto.WireBytes {
|
|
|
|
return true, proto.ErrInternalBadWireType
|
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
msg := new(ResponseCommit)
|
2016-05-13 23:22:32 -07:00
|
|
|
err := b.DecodeMessage(msg)
|
2017-12-20 00:02:41 -08:00
|
|
|
m.Value = &Response_Commit{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-12-20 00:02:41 -08:00
|
|
|
case *Response_InitChain:
|
|
|
|
s := proto.Size(x.InitChain)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(6<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_Query:
|
|
|
|
s := proto.Size(x.Query)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(7<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_BeginBlock:
|
|
|
|
s := proto.Size(x.BeginBlock)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(8<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_CheckTx:
|
|
|
|
s := proto.Size(x.CheckTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(9<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_DeliverTx:
|
|
|
|
s := proto.Size(x.DeliverTx)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(10<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_EndBlock:
|
|
|
|
s := proto.Size(x.EndBlock)
|
2016-05-13 23:22:32 -07:00
|
|
|
n += proto.SizeVarint(11<<3 | proto.WireBytes)
|
|
|
|
n += proto.SizeVarint(uint64(s))
|
|
|
|
n += s
|
2017-12-20 00:02:41 -08:00
|
|
|
case *Response_Commit:
|
|
|
|
s := proto.Size(x.Commit)
|
2016-05-13 23:22:32 -07:00
|
|
|
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 {
|
2017-11-30 11:30:21 -08:00
|
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseException) Reset() { *m = ResponseException{} }
|
|
|
|
func (m *ResponseException) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseException) ProtoMessage() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*ResponseException) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{13} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
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 {
|
2017-11-30 11:30:21 -08:00
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseEcho) Reset() { *m = ResponseEcho{} }
|
|
|
|
func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseEcho) ProtoMessage() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*ResponseEcho) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{14} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
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() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*ResponseFlush) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{15} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
|
|
|
type ResponseInfo struct {
|
2017-11-30 11:30:21 -08:00
|
|
|
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
2017-11-30 21:41:07 -08:00
|
|
|
LastBlockHeight int64 `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
|
2016-12-26 17:44:36 -08:00
|
|
|
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() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*ResponseInfo) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2017-11-30 21:41:07 -08:00
|
|
|
func (m *ResponseInfo) GetLastBlockHeight() int64 {
|
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 {
|
2017-12-05 15:41:48 -08:00
|
|
|
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
Log string `protobuf:"bytes,2,opt,name=log,proto3" json:"log,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseSetOption) Reset() { *m = ResponseSetOption{} }
|
|
|
|
func (m *ResponseSetOption) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseSetOption) ProtoMessage() {}
|
2017-11-30 11:30:21 -08:00
|
|
|
func (*ResponseSetOption) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{17} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-12-05 15:41:48 -08:00
|
|
|
func (m *ResponseSetOption) GetCode() uint32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-11-15 11:11:01 -08:00
|
|
|
func (m *ResponseSetOption) GetLog() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
type ResponseInitChain struct {
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *ResponseInitChain) Reset() { *m = ResponseInitChain{} }
|
|
|
|
func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseInitChain) ProtoMessage() {}
|
|
|
|
func (*ResponseInitChain) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{18} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
type ResponseQuery struct {
|
|
|
|
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
|
|
|
Key github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,3,opt,name=key,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"key"`
|
|
|
|
Value github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,4,opt,name=value,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"value"`
|
|
|
|
Proof github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,5,opt,name=proof,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"proof"`
|
|
|
|
Height int64 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
|
|
|
|
Log string `protobuf:"bytes,7,opt,name=log,proto3" 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 fileDescriptorTypes, []int{19} }
|
|
|
|
|
|
|
|
func (m *ResponseQuery) GetCode() uint32 {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
2017-11-30 11:29:12 -08:00
|
|
|
return 0
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *ResponseQuery) GetIndex() int64 {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
2017-12-20 00:02:41 -08:00
|
|
|
return m.Index
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
return 0
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *ResponseQuery) GetHeight() int64 {
|
2017-11-09 13:52:52 -08:00
|
|
|
if m != nil {
|
2017-12-20 00:02:41 -08:00
|
|
|
return m.Height
|
2017-11-09 13:52:52 -08:00
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseQuery) GetLog() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResponseBeginBlock struct {
|
2017-11-09 13:52:52 -08:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *ResponseBeginBlock) Reset() { *m = ResponseBeginBlock{} }
|
|
|
|
func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseBeginBlock) ProtoMessage() {}
|
|
|
|
func (*ResponseBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{20} }
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseCheckTx struct {
|
2017-11-30 12:31:10 -08:00
|
|
|
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
Data github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,2,opt,name=data,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"data"`
|
|
|
|
Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
|
2017-11-30 21:41:07 -08:00
|
|
|
Gas int64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"`
|
|
|
|
Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} }
|
|
|
|
func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseCheckTx) ProtoMessage() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*ResponseCheckTx) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{21} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-11-30 11:29:12 -08:00
|
|
|
func (m *ResponseCheckTx) GetCode() uint32 {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
2017-11-30 11:29:12 -08:00
|
|
|
return 0
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCheckTx) GetLog() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-11-30 21:41:07 -08:00
|
|
|
func (m *ResponseCheckTx) GetGas() int64 {
|
2017-11-27 12:10:11 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Gas
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-11-30 21:41:07 -08:00
|
|
|
func (m *ResponseCheckTx) GetFee() int64 {
|
2017-11-27 12:10:11 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Fee
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
type ResponseDeliverTx struct {
|
|
|
|
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
Data github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,2,opt,name=data,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"data"`
|
|
|
|
Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
|
|
|
|
Tags []*KVPair `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -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 fileDescriptorTypes, []int{22} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *ResponseDeliverTx) GetCode() uint32 {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
2017-11-30 11:29:12 -08:00
|
|
|
return 0
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *ResponseDeliverTx) GetLog() string {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
2017-12-20 00:02:41 -08:00
|
|
|
return m.Log
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
return ""
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
func (m *ResponseDeliverTx) GetTags() []*KVPair {
|
2017-01-10 06:59:29 -08:00
|
|
|
if m != nil {
|
2017-12-20 00:02:41 -08:00
|
|
|
return m.Tags
|
2017-01-10 06:59:29 -08:00
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
return nil
|
2017-01-10 06:59:29 -08:00
|
|
|
}
|
|
|
|
|
2017-12-20 00:02:41 -08:00
|
|
|
type ResponseEndBlock struct {
|
|
|
|
ValidatorUpdates []*Validator `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates" json:"validator_updates,omitempty"`
|
|
|
|
ConsensusParamUpdates *ConsensusParams `protobuf:"bytes,2,opt,name=consensus_param_updates,json=consensusParamUpdates" json:"consensus_param_updates,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 fileDescriptorTypes, []int{23} }
|
|
|
|
|
|
|
|
func (m *ResponseEndBlock) GetValidatorUpdates() []*Validator {
|
2017-01-10 06:59:29 -08:00
|
|
|
if m != nil {
|
2017-12-20 00:02:41 -08:00
|
|
|
return m.ValidatorUpdates
|
2017-01-10 06:59:29 -08:00
|
|
|
}
|
2017-12-20 00:02:41 -08:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams {
|
|
|
|
if m != nil {
|
|
|
|
return m.ConsensusParamUpdates
|
|
|
|
}
|
|
|
|
return nil
|
2017-01-10 06:59:29 -08:00
|
|
|
}
|
|
|
|
|
2016-05-13 23:22:32 -07:00
|
|
|
type ResponseCommit struct {
|
2017-11-30 12:31:10 -08:00
|
|
|
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
Data github_com_tendermint_go_wire_data.Bytes `protobuf:"bytes,2,opt,name=data,proto3,customtype=github.com/tendermint/go-wire/data.Bytes" json:"data"`
|
|
|
|
Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
|
2016-05-13 23:22:32 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCommit) Reset() { *m = ResponseCommit{} }
|
|
|
|
func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ResponseCommit) ProtoMessage() {}
|
2017-12-20 00:02:41 -08:00
|
|
|
func (*ResponseCommit) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{24} }
|
2016-05-13 23:22:32 -07:00
|
|
|
|
2017-11-30 11:29:12 -08:00
|
|
|
func (m *ResponseCommit) GetCode() uint32 {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Code
|
|
|
|
}
|
2017-11-30 11:29:12 -08:00
|
|
|
return 0
|
2016-11-15 11:11:01 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ResponseCommit) GetLog() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Log
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
// ConsensusParams contains all consensus-relevant parameters
|
|
|
|
// that can be adjusted by the abci app
|
2017-12-13 08:50:24 -08:00
|
|
|
type ConsensusParams struct {
|
2017-12-14 00:27:20 -08:00
|
|
|
BlockSize *BlockSize `protobuf:"bytes,1,opt,name=block_size,json=blockSize" json:"block_size,omitempty"`
|
|
|
|
TxSize *TxSize `protobuf:"bytes,2,opt,name=tx_size,json=txSize" json:"tx_size,omitempty"`
|
|
|
|
BlockGossip *BlockGossip `protobuf:"bytes,3,opt,name=block_gossip,json=blockGossip" json:"block_gossip,omitempty"`
|
2017-12-13 08:50:24 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ConsensusParams) Reset() { *m = ConsensusParams{} }
|
|
|
|
func (m *ConsensusParams) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*ConsensusParams) ProtoMessage() {}
|
|
|
|
func (*ConsensusParams) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{25} }
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *ConsensusParams) GetBlockSize() *BlockSize {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
2017-12-14 00:27:20 -08:00
|
|
|
return m.BlockSize
|
2017-12-13 08:50:24 -08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *ConsensusParams) GetTxSize() *TxSize {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
2017-12-14 00:27:20 -08:00
|
|
|
return m.TxSize
|
2017-12-13 08:50:24 -08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *ConsensusParams) GetBlockGossip() *BlockGossip {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
2017-12-14 00:27:20 -08:00
|
|
|
return m.BlockGossip
|
2017-12-13 08:50:24 -08:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
// BlockSize contain limits on the block size.
|
|
|
|
type BlockSize struct {
|
2017-12-13 08:50:24 -08:00
|
|
|
MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
|
|
|
|
MaxTxs int32 `protobuf:"varint,2,opt,name=max_txs,json=maxTxs,proto3" json:"max_txs,omitempty"`
|
|
|
|
MaxGas int64 `protobuf:"varint,3,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *BlockSize) Reset() { *m = BlockSize{} }
|
|
|
|
func (m *BlockSize) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BlockSize) ProtoMessage() {}
|
|
|
|
func (*BlockSize) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{26} }
|
2017-12-13 08:50:24 -08:00
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *BlockSize) GetMaxBytes() int32 {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.MaxBytes
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *BlockSize) GetMaxTxs() int32 {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.MaxTxs
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *BlockSize) GetMaxGas() int64 {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.MaxGas
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
// TxSize contain limits on the tx size.
|
|
|
|
type TxSize struct {
|
2017-12-13 08:50:24 -08:00
|
|
|
MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
|
|
|
|
MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *TxSize) Reset() { *m = TxSize{} }
|
|
|
|
func (m *TxSize) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*TxSize) ProtoMessage() {}
|
|
|
|
func (*TxSize) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{27} }
|
2017-12-13 08:50:24 -08:00
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *TxSize) GetMaxBytes() int32 {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.MaxBytes
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *TxSize) GetMaxGas() int64 {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.MaxGas
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
// BlockGossip determine consensus critical
|
2017-12-13 08:50:24 -08:00
|
|
|
// elements of how blocks are gossiped
|
2017-12-14 00:27:20 -08:00
|
|
|
type BlockGossip struct {
|
2017-12-13 08:50:24 -08:00
|
|
|
// Note: must not be 0
|
|
|
|
BlockPartSizeBytes int32 `protobuf:"varint,1,opt,name=block_part_size_bytes,json=blockPartSizeBytes,proto3" json:"block_part_size_bytes,omitempty"`
|
|
|
|
}
|
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *BlockGossip) Reset() { *m = BlockGossip{} }
|
|
|
|
func (m *BlockGossip) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*BlockGossip) ProtoMessage() {}
|
|
|
|
func (*BlockGossip) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{28} }
|
2017-12-13 08:50:24 -08:00
|
|
|
|
2017-12-14 00:27:20 -08:00
|
|
|
func (m *BlockGossip) GetBlockPartSizeBytes() int32 {
|
2017-12-13 08:50:24 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.BlockPartSizeBytes
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-08-22 11:01:26 -07:00
|
|
|
type Header struct {
|
2017-12-20 17:32:32 -08:00
|
|
|
ChainID string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
|
2017-11-30 21:41:07 -08:00
|
|
|
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
|
|
|
|
Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
|
2017-12-02 08:47:02 -08:00
|
|
|
NumTxs int32 `protobuf:"varint,4,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"`
|
2017-12-20 17:32:32 -08:00
|
|
|
LastBlockID *BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId" json:"last_block_id,omitempty"`
|
2016-11-16 13:11:36 -08:00
|
|
|
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() {}
|
2017-12-13 08:50:24 -08:00
|
|
|
func (*Header) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{29} }
|
2016-08-22 11:01:26 -07:00
|
|
|
|
2017-12-20 17:32:32 -08:00
|
|
|
func (m *Header) GetChainID() string {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
2017-12-20 17:32:32 -08:00
|
|
|
return m.ChainID
|
2016-08-22 11:01:26 -07:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-11-30 21:41:07 -08:00
|
|
|
func (m *Header) GetHeight() int64 {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
|
|
|
return m.Height
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-11-30 21:41:07 -08:00
|
|
|
func (m *Header) GetTime() int64 {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
|
|
|
return m.Time
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-02 08:47:02 -08:00
|
|
|
func (m *Header) GetNumTxs() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.NumTxs
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-12-20 17:32:32 -08:00
|
|
|
func (m *Header) GetLastBlockID() *BlockID {
|
2016-08-22 11:01:26 -07:00
|
|
|
if m != nil {
|
2017-12-20 17:32:32 -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() {}
|
2017-12-13 08:50:24 -08:00
|
|
|
func (*BlockID) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{30} }
|
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 {
|
2017-12-02 08:47:02 -08:00
|
|
|
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
2016-08-22 11:01:26 -07:00
|
|
|
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() {}
|
2017-12-13 08:50:24 -08:00
|
|
|
func (*PartSetHeader) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{31} }
|
2016-08-22 11:01:26 -07:00
|
|
|
|
2017-12-02 08:47:02 -08:00
|
|
|
func (m *PartSetHeader) GetTotal() int32 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Total
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2016-08-22 11:01:26 -07:00
|
|
|
func (m *PartSetHeader) GetHash() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Hash
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-02-28 18:53:24 -08:00
|
|
|
type Validator struct {
|
2017-11-30 21:41:07 -08:00
|
|
|
PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
|
|
Power int64 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
|
2016-02-28 18:53:24 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Validator) Reset() { *m = Validator{} }
|
|
|
|
func (m *Validator) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Validator) ProtoMessage() {}
|
2017-12-13 08:50:24 -08:00
|
|
|
func (*Validator) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{32} }
|
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
|
|
|
|
}
|
|
|
|
|
2017-11-30 21:41:07 -08:00
|
|
|
func (m *Validator) GetPower() int64 {
|
2016-11-15 11:11:01 -08:00
|
|
|
if m != nil {
|
|
|
|
return m.Power
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-11-30 22:09:16 -08:00
|
|
|
type Evidence struct {
|
|
|
|
PubKey []byte `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
|
|
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Evidence) Reset() { *m = Evidence{} }
|
|
|
|
func (m *Evidence) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Evidence) ProtoMessage() {}
|
2017-12-13 08:50:24 -08:00
|
|
|
func (*Evidence) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{33} }
|
2017-11-30 22:09:16 -08:00
|
|
|
|
|
|
|
func (m *Evidence) GetPubKey() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.PubKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *Evidence) GetHeight() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.Height
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2017-11-09 13:52:52 -08:00
|
|
|
type KVPair struct {
|
2017-11-30 11:30:21 -08:00
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
ValueType KVPair_Type `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=types.KVPair_Type" json:"value_type,omitempty"`
|
|
|
|
ValueString string `protobuf:"bytes,3,opt,name=value_string,json=valueString,proto3" json:"value_string,omitempty"`
|
|
|
|
ValueInt int64 `protobuf:"varint,4,opt,name=value_int,json=valueInt,proto3" json:"value_int,omitempty"`
|
2017-11-09 13:52:52 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *KVPair) Reset() { *m = KVPair{} }
|
|
|
|
func (m *KVPair) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*KVPair) ProtoMessage() {}
|
2017-12-13 08:50:24 -08:00
|
|
|
func (*KVPair) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{34} }
|
2017-11-09 13:52:52 -08:00
|
|
|
|
|
|
|
func (m *KVPair) GetKey() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Key
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2017-11-20 16:21:59 -08:00
|
|
|
func (m *KVPair) GetValueType() KVPair_Type {
|
|
|
|
if m != nil {
|
|
|
|
return m.ValueType
|
|
|
|
}
|
|
|
|
return KVPair_STRING
|
|
|
|
}
|
|
|
|
|
2017-11-09 13:52:52 -08:00
|
|
|
func (m *KVPair) GetValueString() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.ValueString
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *KVPair) GetValueInt() int64 {
|
|
|
|
if m != nil {
|
|
|
|
return m.ValueInt
|
|
|
|
}
|
|
|
|
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")
|
|
|
|
proto.RegisterType((*RequestInitChain)(nil), "types.RequestInitChain")
|
2017-12-20 00:02:41 -08:00
|
|
|
proto.RegisterType((*RequestQuery)(nil), "types.RequestQuery")
|
2016-05-13 23:22:32 -07:00
|
|
|
proto.RegisterType((*RequestBeginBlock)(nil), "types.RequestBeginBlock")
|
2017-12-20 00:02:41 -08:00
|
|
|
proto.RegisterType((*RequestCheckTx)(nil), "types.RequestCheckTx")
|
|
|
|
proto.RegisterType((*RequestDeliverTx)(nil), "types.RequestDeliverTx")
|
2016-05-13 23:22:32 -07:00
|
|
|
proto.RegisterType((*RequestEndBlock)(nil), "types.RequestEndBlock")
|
2017-12-20 00:02:41 -08:00
|
|
|
proto.RegisterType((*RequestCommit)(nil), "types.RequestCommit")
|
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")
|
|
|
|
proto.RegisterType((*ResponseInitChain)(nil), "types.ResponseInitChain")
|
2017-12-20 00:02:41 -08:00
|
|
|
proto.RegisterType((*ResponseQuery)(nil), "types.ResponseQuery")
|
2016-05-13 23:22:32 -07:00
|
|
|
proto.RegisterType((*ResponseBeginBlock)(nil), "types.ResponseBeginBlock")
|
2017-12-20 00:02:41 -08:00
|
|
|
proto.RegisterType((*ResponseCheckTx)(nil), "types.ResponseCheckTx")
|
|
|
|
proto.RegisterType((*ResponseDeliverTx)(nil), "types.ResponseDeliverTx")
|
2016-05-13 23:22:32 -07:00
|
|
|
proto.RegisterType((*ResponseEndBlock)(nil), "types.ResponseEndBlock")
|
2017-12-20 00:02:41 -08:00
|
|
|
proto.RegisterType((*ResponseCommit)(nil), "types.ResponseCommit")
|
2017-12-13 08:50:24 -08:00
|
|
|
proto.RegisterType((*ConsensusParams)(nil), "types.ConsensusParams")
|
2017-12-14 00:27:20 -08:00
|
|
|
proto.RegisterType((*BlockSize)(nil), "types.BlockSize")
|
|
|
|
proto.RegisterType((*TxSize)(nil), "types.TxSize")
|
|
|
|
proto.RegisterType((*BlockGossip)(nil), "types.BlockGossip")
|
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")
|
2017-11-30 22:09:16 -08:00
|
|
|
proto.RegisterType((*Evidence)(nil), "types.Evidence")
|
2017-11-09 13:52:52 -08:00
|
|
|
proto.RegisterType((*KVPair)(nil), "types.KVPair")
|
2017-11-20 16:21:59 -08:00
|
|
|
proto.RegisterEnum("types.KVPair_Type", KVPair_Type_name, KVPair_Type_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
|
|
|
}
|
|
|
|
|
2017-11-30 11:30:21 -08:00
|
|
|
func init() { proto.RegisterFile("types/types.proto", fileDescriptorTypes) }
|
2016-06-16 16:12:44 -07:00
|
|
|
|
2017-11-30 11:30:21 -08:00
|
|
|
var fileDescriptorTypes = []byte{
|
2017-12-20 17:32:32 -08:00
|
|
|
// 1766 bytes of a gzipped FileDescriptorProto
|
2017-12-20 00:02:41 -08:00
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x72, 0x1b, 0xc7,
|
2017-12-20 17:32:32 -08:00
|
|
|
0x11, 0x26, 0xfe, 0xb1, 0x0d, 0xfe, 0x80, 0x43, 0x4a, 0x82, 0xa1, 0x83, 0xe8, 0xad, 0x8a, 0x0d,
|
|
|
|
0xd9, 0x16, 0x69, 0xd3, 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