You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2408 lines
77 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: types/types.proto
/*
Package types is a generated protocol buffer package.
It is generated from these files:
types/types.proto
It has these top-level messages:
Request
RequestEcho
RequestFlush
RequestInfo
RequestSetOption
RequestInitChain
RequestQuery
RequestBeginBlock
RequestCheckTx
RequestDeliverTx
RequestEndBlock
RequestCommit
Response
ResponseException
ResponseEcho
ResponseFlush
ResponseInfo
ResponseSetOption
ResponseInitChain
ResponseQuery
ResponseBeginBlock
ResponseCheckTx
ResponseDeliverTx
ResponseEndBlock
ResponseCommit
ConsensusParams
BlockSize
TxSize
BlockGossip
Header
Validator
SigningValidator
PubKey
Evidence
*/
//nolint: gas
package types
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import common "github.com/tendermint/tmlibs/common"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type Request struct {
// Types that are valid to be assigned to Value:
// *Request_Echo
// *Request_Flush
// *Request_Info
// *Request_SetOption
// *Request_InitChain
// *Request_Query
// *Request_BeginBlock
// *Request_CheckTx
// *Request_DeliverTx
// *Request_EndBlock
// *Request_Commit
Value isRequest_Value `protobuf_oneof:"value"`
}
func (m *Request) Reset() { *m = Request{} }
func (m *Request) String() string { return proto.CompactTextString(m) }
func (*Request) ProtoMessage() {}
func (*Request) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
type isRequest_Value interface {
isRequest_Value()
}
type Request_Echo struct {
Echo *RequestEcho `protobuf:"bytes,2,opt,name=echo,oneof"`
}
type Request_Flush struct {
Flush *RequestFlush `protobuf:"bytes,3,opt,name=flush,oneof"`
}
type Request_Info struct {
Info *RequestInfo `protobuf:"bytes,4,opt,name=info,oneof"`
}
type Request_SetOption struct {
SetOption *RequestSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof"`
}
type Request_InitChain struct {
InitChain *RequestInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,oneof"`
}
type Request_Query struct {
Query *RequestQuery `protobuf:"bytes,7,opt,name=query,oneof"`
}
type Request_BeginBlock struct {
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"`
}
type Request_EndBlock struct {
EndBlock *RequestEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,oneof"`
}
type Request_Commit struct {
Commit *RequestCommit `protobuf:"bytes,12,opt,name=commit,oneof"`
}
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() {}
func (*Request_Query) isRequest_Value() {}
func (*Request_BeginBlock) isRequest_Value() {}
func (*Request_CheckTx) isRequest_Value() {}
func (*Request_DeliverTx) isRequest_Value() {}
func (*Request_EndBlock) isRequest_Value() {}
func (*Request_Commit) isRequest_Value() {}
func (m *Request) GetValue() isRequest_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Request) GetEcho() *RequestEcho {
if x, ok := m.GetValue().(*Request_Echo); ok {
return x.Echo
}
return nil
}
func (m *Request) GetFlush() *RequestFlush {
if x, ok := m.GetValue().(*Request_Flush); ok {
return x.Flush
}
return nil
}
func (m *Request) GetInfo() *RequestInfo {
if x, ok := m.GetValue().(*Request_Info); ok {
return x.Info
}
return nil
}
func (m *Request) GetSetOption() *RequestSetOption {
if x, ok := m.GetValue().(*Request_SetOption); ok {
return x.SetOption
}
return nil
}
func (m *Request) GetInitChain() *RequestInitChain {
if x, ok := m.GetValue().(*Request_InitChain); ok {
return x.InitChain
}
return nil
}
func (m *Request) GetQuery() *RequestQuery {
if x, ok := m.GetValue().(*Request_Query); ok {
return x.Query
}
return nil
}
func (m *Request) GetBeginBlock() *RequestBeginBlock {
if x, ok := m.GetValue().(*Request_BeginBlock); ok {
return x.BeginBlock
}
return nil
}
func (m *Request) GetCheckTx() *RequestCheckTx {
if x, ok := m.GetValue().(*Request_CheckTx); ok {
return x.CheckTx
}
return nil
}
func (m *Request) GetDeliverTx() *RequestDeliverTx {
if x, ok := m.GetValue().(*Request_DeliverTx); ok {
return x.DeliverTx
}
return nil
}
func (m *Request) GetEndBlock() *RequestEndBlock {
if x, ok := m.GetValue().(*Request_EndBlock); ok {
return x.EndBlock
}
return nil
}
func (m *Request) GetCommit() *RequestCommit {
if x, ok := m.GetValue().(*Request_Commit); ok {
return x.Commit
}
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),
(*Request_Query)(nil),
(*Request_BeginBlock)(nil),
(*Request_CheckTx)(nil),
(*Request_DeliverTx)(nil),
(*Request_EndBlock)(nil),
(*Request_Commit)(nil),
}
}
func _Request_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Request)
// value
switch x := m.Value.(type) {
case *Request_Echo:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Echo); err != nil {
return err
}
case *Request_Flush:
b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Flush); err != nil {
return err
}
case *Request_Info:
b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Info); err != nil {
return err
}
case *Request_SetOption:
b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SetOption); err != nil {
return err
}
case *Request_InitChain:
b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.InitChain); err != nil {
return err
}
case *Request_Query:
b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Query); err != nil {
return err
}
case *Request_BeginBlock:
b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BeginBlock); err != nil {
return err
}
case *Request_CheckTx:
b.EncodeVarint(9<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.CheckTx); err != nil {
return err
}
case *Request_DeliverTx:
b.EncodeVarint(19<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.DeliverTx); err != nil {
return err
}
case *Request_EndBlock:
b.EncodeVarint(11<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.EndBlock); err != nil {
return err
}
case *Request_Commit:
b.EncodeVarint(12<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Commit); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Request.Value has unexpected type %T", x)
}
return nil
}
func _Request_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Request)
switch tag {
case 2: // value.echo
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestEcho)
err := b.DecodeMessage(msg)
m.Value = &Request_Echo{msg}
return true, err
case 3: // value.flush
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestFlush)
err := b.DecodeMessage(msg)
m.Value = &Request_Flush{msg}
return true, err
case 4: // value.info
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestInfo)
err := b.DecodeMessage(msg)
m.Value = &Request_Info{msg}
return true, err
case 5: // value.set_option
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestSetOption)
err := b.DecodeMessage(msg)
m.Value = &Request_SetOption{msg}
return true, err
case 6: // value.init_chain
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestInitChain)
err := b.DecodeMessage(msg)
m.Value = &Request_InitChain{msg}
return true, err
case 7: // value.query
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestQuery)
err := b.DecodeMessage(msg)
m.Value = &Request_Query{msg}
return true, err
case 8: // value.begin_block
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestBeginBlock)
err := b.DecodeMessage(msg)
m.Value = &Request_BeginBlock{msg}
return true, err
case 9: // value.check_tx
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestCheckTx)
err := b.DecodeMessage(msg)
m.Value = &Request_CheckTx{msg}
return true, err
case 19: // value.deliver_tx
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestDeliverTx)
err := b.DecodeMessage(msg)
m.Value = &Request_DeliverTx{msg}
return true, err
case 11: // value.end_block
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestEndBlock)
err := b.DecodeMessage(msg)
m.Value = &Request_EndBlock{msg}
return true, err
case 12: // value.commit
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(RequestCommit)
err := b.DecodeMessage(msg)
m.Value = &Request_Commit{msg}
return true, err
default:
return false, nil
}
}
func _Request_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Request)
// value
switch x := m.Value.(type) {
case *Request_Echo:
s := proto.Size(x.Echo)
n += proto.SizeVarint(2<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Request_Flush:
s := proto.Size(x.Flush)
n += proto.SizeVarint(3<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Request_Info:
s := proto.Size(x.Info)
n += proto.SizeVarint(4<<3 | proto.WireBytes)
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
case *Request_InitChain:
s := proto.Size(x.InitChain)
n += proto.SizeVarint(6<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Request_Query:
s := proto.Size(x.Query)
n += proto.SizeVarint(7<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Request_BeginBlock:
s := proto.Size(x.BeginBlock)
n += proto.SizeVarint(8<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Request_CheckTx:
s := proto.Size(x.CheckTx)
n += proto.SizeVarint(9<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Request_DeliverTx:
s := proto.Size(x.DeliverTx)
n += proto.SizeVarint(19<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Request_EndBlock:
s := proto.Size(x.EndBlock)
n += proto.SizeVarint(11<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Request_Commit:
s := proto.Size(x.Commit)
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 RequestEcho struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (m *RequestEcho) Reset() { *m = RequestEcho{} }
func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
func (*RequestEcho) ProtoMessage() {}
func (*RequestEcho) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *RequestEcho) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
type RequestFlush struct {
}
func (m *RequestFlush) Reset() { *m = RequestFlush{} }
func (m *RequestFlush) String() string { return proto.CompactTextString(m) }
func (*RequestFlush) ProtoMessage() {}
func (*RequestFlush) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
type RequestInfo struct {
Version string `protobuf:"bytes,1,opt,name=version" json:"version,omitempty"`
}
func (m *RequestInfo) Reset() { *m = RequestInfo{} }
func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
func (*RequestInfo) ProtoMessage() {}
func (*RequestInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *RequestInfo) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
// nondeterministic
type RequestSetOption struct {
Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}
func (m *RequestSetOption) Reset() { *m = RequestSetOption{} }
func (m *RequestSetOption) String() string { return proto.CompactTextString(m) }
func (*RequestSetOption) ProtoMessage() {}
func (*RequestSetOption) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *RequestSetOption) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *RequestSetOption) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type RequestInitChain struct {
Validators []*Validator `protobuf:"bytes,1,rep,name=validators" json:"validators,omitempty"`
GenesisBytes []byte `protobuf:"bytes,2,opt,name=genesis_bytes,json=genesisBytes,proto3" json:"genesis_bytes,omitempty"`
}
func (m *RequestInitChain) Reset() { *m = RequestInitChain{} }
func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
func (*RequestInitChain) ProtoMessage() {}
func (*RequestInitChain) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *RequestInitChain) GetValidators() []*Validator {
if m != nil {
return m.Validators
}
return nil
}
func (m *RequestInitChain) GetGenesisBytes() []byte {
if m != nil {
return m.GenesisBytes
}
return nil
}
type RequestQuery struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
Height int64 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
Prove bool `protobuf:"varint,4,opt,name=prove" json:"prove,omitempty"`
}
func (m *RequestQuery) Reset() { *m = RequestQuery{} }
func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
func (*RequestQuery) ProtoMessage() {}
func (*RequestQuery) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *RequestQuery) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *RequestQuery) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func (m *RequestQuery) GetHeight() int64 {
if m != nil {
return m.Height
}
return 0
}
func (m *RequestQuery) GetProve() bool {
if m != nil {
return m.Prove
}
return false
}
type RequestBeginBlock struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
Header *Header `protobuf:"bytes,2,opt,name=header" json:"header,omitempty"`
Validators []*SigningValidator `protobuf:"bytes,3,rep,name=validators" json:"validators,omitempty"`
ByzantineValidators []*Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators" json:"byzantine_validators,omitempty"`
}
func (m *RequestBeginBlock) Reset() { *m = RequestBeginBlock{} }
func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) }
func (*RequestBeginBlock) ProtoMessage() {}
func (*RequestBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
func (m *RequestBeginBlock) GetHash() []byte {
if m != nil {
return m.Hash
}
return nil
}
func (m *RequestBeginBlock) GetHeader() *Header {
if m != nil {
return m.Header
}
return nil
}
func (m *RequestBeginBlock) GetValidators() []*SigningValidator {
if m != nil {
return m.Validators
}
return nil
}
func (m *RequestBeginBlock) GetByzantineValidators() []*Evidence {
if m != nil {
return m.ByzantineValidators
}
return nil
}
type RequestCheckTx struct {
Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
}
func (m *RequestCheckTx) Reset() { *m = RequestCheckTx{} }
func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) }
func (*RequestCheckTx) ProtoMessage() {}
func (*RequestCheckTx) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{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 fileDescriptor0, []int{9} }
func (m *RequestDeliverTx) GetTx() []byte {
if m != nil {
return m.Tx
}
return nil
}
type RequestEndBlock struct {
Height int64 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"`
}
func (m *RequestEndBlock) Reset() { *m = RequestEndBlock{} }
func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
func (*RequestEndBlock) ProtoMessage() {}
func (*RequestEndBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
func (m *RequestEndBlock) GetHeight() int64 {
if m != nil {
return m.Height
}
return 0
}
type RequestCommit struct {
}
func (m *RequestCommit) Reset() { *m = RequestCommit{} }
func (m *RequestCommit) String() string { return proto.CompactTextString(m) }
func (*RequestCommit) ProtoMessage() {}
func (*RequestCommit) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
type Response struct {
// Types that are valid to be assigned to Value:
// *Response_Exception
// *Response_Echo
// *Response_Flush
// *Response_Info
// *Response_SetOption
// *Response_InitChain
// *Response_Query
// *Response_BeginBlock
// *Response_CheckTx
// *Response_DeliverTx
// *Response_EndBlock
// *Response_Commit
Value isResponse_Value `protobuf_oneof:"value"`
}
func (m *Response) Reset() { *m = Response{} }
func (m *Response) String() string { return proto.CompactTextString(m) }
func (*Response) ProtoMessage() {}
func (*Response) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{12} }
type isResponse_Value interface {
isResponse_Value()
}
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"`
}
type Response_InitChain struct {
InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,oneof"`
}
type Response_Query struct {
Query *ResponseQuery `protobuf:"bytes,7,opt,name=query,oneof"`
}
type Response_BeginBlock struct {
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"`
}
type Response_EndBlock struct {
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"`
}
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() {}
func (*Response_Query) isResponse_Value() {}
func (*Response_BeginBlock) isResponse_Value() {}
func (*Response_CheckTx) isResponse_Value() {}
func (*Response_DeliverTx) isResponse_Value() {}
func (*Response_EndBlock) isResponse_Value() {}
func (*Response_Commit) isResponse_Value() {}
func (m *Response) GetValue() isResponse_Value {
if m != nil {
return m.Value
}
return nil
}
func (m *Response) GetException() *ResponseException {
if x, ok := m.GetValue().(*Response_Exception); ok {
return x.Exception
}
return nil
}
func (m *Response) GetEcho() *ResponseEcho {
if x, ok := m.GetValue().(*Response_Echo); ok {
return x.Echo
}
return nil
}
func (m *Response) GetFlush() *ResponseFlush {
if x, ok := m.GetValue().(*Response_Flush); ok {
return x.Flush
}
return nil
}
func (m *Response) GetInfo() *ResponseInfo {
if x, ok := m.GetValue().(*Response_Info); ok {
return x.Info
}
return nil
}
func (m *Response) GetSetOption() *ResponseSetOption {
if x, ok := m.GetValue().(*Response_SetOption); ok {
return x.SetOption
}
return nil
}
func (m *Response) GetInitChain() *ResponseInitChain {
if x, ok := m.GetValue().(*Response_InitChain); ok {
return x.InitChain
}
return nil
}
func (m *Response) GetQuery() *ResponseQuery {
if x, ok := m.GetValue().(*Response_Query); ok {
return x.Query
}
return nil
}
func (m *Response) GetBeginBlock() *ResponseBeginBlock {
if x, ok := m.GetValue().(*Response_BeginBlock); ok {
return x.BeginBlock
}
return nil
}
func (m *Response) GetCheckTx() *ResponseCheckTx {
if x, ok := m.GetValue().(*Response_CheckTx); ok {
return x.CheckTx
}
return nil
}
func (m *Response) GetDeliverTx() *ResponseDeliverTx {
if x, ok := m.GetValue().(*Response_DeliverTx); ok {
return x.DeliverTx
}
return nil
}
func (m *Response) GetEndBlock() *ResponseEndBlock {
if x, ok := m.GetValue().(*Response_EndBlock); ok {
return x.EndBlock
}
return nil
}
func (m *Response) GetCommit() *ResponseCommit {
if x, ok := m.GetValue().(*Response_Commit); ok {
return x.Commit
}
return nil
}
// XXX_OneofFuncs is for the internal use of the proto package.
func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return _Response_OneofMarshaler, _Response_OneofUnmarshaler, _Response_OneofSizer, []interface{}{
(*Response_Exception)(nil),
(*Response_Echo)(nil),
(*Response_Flush)(nil),
(*Response_Info)(nil),
(*Response_SetOption)(nil),
(*Response_InitChain)(nil),
(*Response_Query)(nil),
(*Response_BeginBlock)(nil),
(*Response_CheckTx)(nil),
(*Response_DeliverTx)(nil),
(*Response_EndBlock)(nil),
(*Response_Commit)(nil),
}
}
func _Response_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*Response)
// value
switch x := m.Value.(type) {
case *Response_Exception:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Exception); err != nil {
return err
}
case *Response_Echo:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Echo); err != nil {
return err
}
case *Response_Flush:
b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Flush); err != nil {
return err
}
case *Response_Info:
b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Info); err != nil {
return err
}
case *Response_SetOption:
b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.SetOption); err != nil {
return err
}
case *Response_InitChain:
b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.InitChain); err != nil {
return err
}
case *Response_Query:
b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Query); err != nil {
return err
}
case *Response_BeginBlock:
b.EncodeVarint(8<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.BeginBlock); err != nil {
return err
}
case *Response_CheckTx:
b.EncodeVarint(9<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.CheckTx); err != nil {
return err
}
case *Response_DeliverTx:
b.EncodeVarint(10<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.DeliverTx); err != nil {
return err
}
case *Response_EndBlock:
b.EncodeVarint(11<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.EndBlock); err != nil {
return err
}
case *Response_Commit:
b.EncodeVarint(12<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Commit); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("Response.Value has unexpected type %T", x)
}
return nil
}
func _Response_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*Response)
switch tag {
case 1: // value.exception
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseException)
err := b.DecodeMessage(msg)
m.Value = &Response_Exception{msg}
return true, err
case 2: // value.echo
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseEcho)
err := b.DecodeMessage(msg)
m.Value = &Response_Echo{msg}
return true, err
case 3: // value.flush
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseFlush)
err := b.DecodeMessage(msg)
m.Value = &Response_Flush{msg}
return true, err
case 4: // value.info
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseInfo)
err := b.DecodeMessage(msg)
m.Value = &Response_Info{msg}
return true, err
case 5: // value.set_option
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseSetOption)
err := b.DecodeMessage(msg)
m.Value = &Response_SetOption{msg}
return true, err
case 6: // value.init_chain
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseInitChain)
err := b.DecodeMessage(msg)
m.Value = &Response_InitChain{msg}
return true, err
case 7: // value.query
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseQuery)
err := b.DecodeMessage(msg)
m.Value = &Response_Query{msg}
return true, err
case 8: // value.begin_block
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseBeginBlock)
err := b.DecodeMessage(msg)
m.Value = &Response_BeginBlock{msg}
return true, err
case 9: // value.check_tx
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseCheckTx)
err := b.DecodeMessage(msg)
m.Value = &Response_CheckTx{msg}
return true, err
case 10: // value.deliver_tx
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseDeliverTx)
err := b.DecodeMessage(msg)
m.Value = &Response_DeliverTx{msg}
return true, err
case 11: // value.end_block
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseEndBlock)
err := b.DecodeMessage(msg)
m.Value = &Response_EndBlock{msg}
return true, err
case 12: // value.commit
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(ResponseCommit)
err := b.DecodeMessage(msg)
m.Value = &Response_Commit{msg}
return true, err
default:
return false, nil
}
}
func _Response_OneofSizer(msg proto.Message) (n int) {
m := msg.(*Response)
// value
switch x := m.Value.(type) {
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
case *Response_InitChain:
s := proto.Size(x.InitChain)
n += proto.SizeVarint(6<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Response_Query:
s := proto.Size(x.Query)
n += proto.SizeVarint(7<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Response_BeginBlock:
s := proto.Size(x.BeginBlock)
n += proto.SizeVarint(8<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Response_CheckTx:
s := proto.Size(x.CheckTx)
n += proto.SizeVarint(9<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Response_DeliverTx:
s := proto.Size(x.DeliverTx)
n += proto.SizeVarint(10<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Response_EndBlock:
s := proto.Size(x.EndBlock)
n += proto.SizeVarint(11<<3 | proto.WireBytes)
n += proto.SizeVarint(uint64(s))
n += s
case *Response_Commit:
s := proto.Size(x.Commit)
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
}
// nondeterministic
type ResponseException struct {
Error string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
}
func (m *ResponseException) Reset() { *m = ResponseException{} }
func (m *ResponseException) String() string { return proto.CompactTextString(m) }
func (*ResponseException) ProtoMessage() {}
func (*ResponseException) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{13} }
func (m *ResponseException) GetError() string {
if m != nil {
return m.Error
}
return ""
}
type ResponseEcho struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
func (m *ResponseEcho) Reset() { *m = ResponseEcho{} }
func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
func (*ResponseEcho) ProtoMessage() {}
func (*ResponseEcho) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{14} }
func (m *ResponseEcho) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
type ResponseFlush struct {
}
func (m *ResponseFlush) Reset() { *m = ResponseFlush{} }
func (m *ResponseFlush) String() string { return proto.CompactTextString(m) }
func (*ResponseFlush) ProtoMessage() {}
func (*ResponseFlush) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{15} }
type ResponseInfo struct {
Data string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
LastBlockHeight int64 `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight" json:"last_block_height,omitempty"`
LastBlockAppHash []byte `protobuf:"bytes,4,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"`
}
func (m *ResponseInfo) Reset() { *m = ResponseInfo{} }
func (m *ResponseInfo) String() string { return proto.CompactTextString(m) }
func (*ResponseInfo) ProtoMessage() {}
func (*ResponseInfo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{16} }
func (m *ResponseInfo) GetData() string {
if m != nil {
return m.Data
}
return ""
}
func (m *ResponseInfo) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
func (m *ResponseInfo) GetLastBlockHeight() int64 {
if m != nil {
return m.LastBlockHeight
}
return 0
}
func (m *ResponseInfo) GetLastBlockAppHash() []byte {
if m != nil {
return m.LastBlockAppHash
}
return nil
}
// nondeterministic
type ResponseSetOption struct {
Code uint32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
// bytes data = 2;
Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
Info string `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"`
}
func (m *ResponseSetOption) Reset() { *m = ResponseSetOption{} }
func (m *ResponseSetOption) String() string { return proto.CompactTextString(m) }
func (*ResponseSetOption) ProtoMessage() {}
func (*ResponseSetOption) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{17} }
func (m *ResponseSetOption) GetCode() uint32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ResponseSetOption) GetLog() string {
if m != nil {
return m.Log
}
return ""
}
func (m *ResponseSetOption) GetInfo() string {
if m != nil {
return m.Info
}
return ""
}
type ResponseInitChain struct {
Validators []*Validator `protobuf:"bytes,1,rep,name=validators" json:"validators,omitempty"`
}
func (m *ResponseInitChain) Reset() { *m = ResponseInitChain{} }
func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
func (*ResponseInitChain) ProtoMessage() {}
func (*ResponseInitChain) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{18} }
func (m *ResponseInitChain) GetValidators() []*Validator {
if m != nil {
return m.Validators
}
return nil
}
type ResponseQuery struct {
Code uint32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
// bytes data = 2; // use "value" instead.
Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
Info string `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"`
Index int64 `protobuf:"varint,5,opt,name=index" json:"index,omitempty"`
Key []byte `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
Value []byte `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
Proof []byte `protobuf:"bytes,8,opt,name=proof,proto3" json:"proof,omitempty"`
Height int64 `protobuf:"varint,9,opt,name=height" json:"height,omitempty"`
}
func (m *ResponseQuery) Reset() { *m = ResponseQuery{} }
func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
func (*ResponseQuery) ProtoMessage() {}
func (*ResponseQuery) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{19} }
func (m *ResponseQuery) GetCode() uint32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ResponseQuery) GetLog() string {
if m != nil {
return m.Log
}
return ""
}
func (m *ResponseQuery) GetInfo() string {
if m != nil {
return m.Info
}
return ""
}
func (m *ResponseQuery) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
func (m *ResponseQuery) GetKey() []byte {
if m != nil {
return m.Key
}
return nil
}
func (m *ResponseQuery) GetValue() []byte {
if m != nil {
return m.Value
}
return nil
}
func (m *ResponseQuery) GetProof() []byte {
if m != nil {
return m.Proof
}
return nil
}
func (m *ResponseQuery) GetHeight() int64 {
if m != nil {
return m.Height
}
return 0
}
type ResponseBeginBlock struct {
Tags []*common.KVPair `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"`
}
func (m *ResponseBeginBlock) Reset() { *m = ResponseBeginBlock{} }
func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
func (*ResponseBeginBlock) ProtoMessage() {}
func (*ResponseBeginBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{20} }
func (m *ResponseBeginBlock) GetTags() []*common.KVPair {
if m != nil {
return m.Tags
}
return nil
}
type ResponseCheckTx struct {
Code uint32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
Info string `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"`
GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted" json:"gas_wanted,omitempty"`
GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed" json:"gas_used,omitempty"`
Tags []*common.KVPair `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"`
Fee *common.KI64Pair `protobuf:"bytes,8,opt,name=fee" json:"fee,omitempty"`
}
func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} }
func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
func (*ResponseCheckTx) ProtoMessage() {}
func (*ResponseCheckTx) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{21} }
func (m *ResponseCheckTx) GetCode() uint32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ResponseCheckTx) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *ResponseCheckTx) GetLog() string {
if m != nil {
return m.Log
}
return ""
}
func (m *ResponseCheckTx) GetInfo() string {
if m != nil {
return m.Info
}
return ""
}
func (m *ResponseCheckTx) GetGasWanted() int64 {
if m != nil {
return m.GasWanted
}
return 0
}
func (m *ResponseCheckTx) GetGasUsed() int64 {
if m != nil {
return m.GasUsed
}
return 0
}
func (m *ResponseCheckTx) GetTags() []*common.KVPair {
if m != nil {
return m.Tags
}
return nil
}
func (m *ResponseCheckTx) GetFee() *common.KI64Pair {
if m != nil {
return m.Fee
}
return nil
}
type ResponseDeliverTx struct {
Code uint32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"`
Info string `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"`
GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted" json:"gas_wanted,omitempty"`
GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed" json:"gas_used,omitempty"`
Tags []*common.KVPair `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"`
Fee *common.KI64Pair `protobuf:"bytes,8,opt,name=fee" json:"fee,omitempty"`
}
func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} }
func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
func (*ResponseDeliverTx) ProtoMessage() {}
func (*ResponseDeliverTx) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{22} }
func (m *ResponseDeliverTx) GetCode() uint32 {
if m != nil {
return m.Code
}
return 0
}
func (m *ResponseDeliverTx) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
func (m *ResponseDeliverTx) GetLog() string {
if m != nil {
return m.Log
}
return ""
}
func (m *ResponseDeliverTx) GetInfo() string {
if m != nil {
return m.Info
}
return ""
}
func (m *ResponseDeliverTx) GetGasWanted() int64 {
if m != nil {
return m.GasWanted
}
return 0
}
func (m *ResponseDeliverTx) GetGasUsed() int64 {
if m != nil {
return m.GasUsed
}
return 0
}
func (m *ResponseDeliverTx) GetTags() []*common.KVPair {
if m != nil {
return m.Tags
}
return nil
}
func (m *ResponseDeliverTx) GetFee() *common.KI64Pair {
if m != nil {
return m.Fee
}
return nil
}
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"`
Tags []*common.KVPair `protobuf:"bytes,3,rep,name=tags" json:"tags,omitempty"`
}
func (m *ResponseEndBlock) Reset() { *m = ResponseEndBlock{} }
func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
func (*ResponseEndBlock) ProtoMessage() {}
func (*ResponseEndBlock) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{23} }
func (m *ResponseEndBlock) GetValidatorUpdates() []*Validator {
if m != nil {
return m.ValidatorUpdates
}
return nil
}
func (m *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams {
if m != nil {
return m.ConsensusParamUpdates
}
return nil
}
func (m *ResponseEndBlock) GetTags() []*common.KVPair {
if m != nil {
return m.Tags
}
return nil
}
type ResponseCommit struct {
// reserve 1
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *ResponseCommit) Reset() { *m = ResponseCommit{} }
func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
func (*ResponseCommit) ProtoMessage() {}
func (*ResponseCommit) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{24} }
func (m *ResponseCommit) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
// ConsensusParams contains all consensus-relevant parameters
// that can be adjusted by the abci app
type ConsensusParams struct {
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"`
}
func (m *ConsensusParams) Reset() { *m = ConsensusParams{} }
func (m *ConsensusParams) String() string { return proto.CompactTextString(m) }
func (*ConsensusParams) ProtoMessage() {}
func (*ConsensusParams) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{25} }
func (m *ConsensusParams) GetBlockSize() *BlockSize {
if m != nil {
return m.BlockSize
}
return nil
}
func (m *ConsensusParams) GetTxSize() *TxSize {
if m != nil {
return m.TxSize
}
return nil
}
func (m *ConsensusParams) GetBlockGossip() *BlockGossip {
if m != nil {
return m.BlockGossip
}
return nil
}
// BlockSize contain limits on the block size.
type BlockSize struct {
MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes" json:"max_bytes,omitempty"`
MaxTxs int32 `protobuf:"varint,2,opt,name=max_txs,json=maxTxs" json:"max_txs,omitempty"`
MaxGas int64 `protobuf:"varint,3,opt,name=max_gas,json=maxGas" json:"max_gas,omitempty"`
}
func (m *BlockSize) Reset() { *m = BlockSize{} }
func (m *BlockSize) String() string { return proto.CompactTextString(m) }
func (*BlockSize) ProtoMessage() {}
func (*BlockSize) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{26} }
func (m *BlockSize) GetMaxBytes() int32 {
if m != nil {
return m.MaxBytes
}
return 0
}
func (m *BlockSize) GetMaxTxs() int32 {
if m != nil {
return m.MaxTxs
}
return 0
}
func (m *BlockSize) GetMaxGas() int64 {
if m != nil {
return m.MaxGas
}
return 0
}
// TxSize contain limits on the tx size.
type TxSize struct {
MaxBytes int32 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes" json:"max_bytes,omitempty"`
MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas" json:"max_gas,omitempty"`
}
func (m *TxSize) Reset() { *m = TxSize{} }
func (m *TxSize) String() string { return proto.CompactTextString(m) }
func (*TxSize) ProtoMessage() {}
func (*TxSize) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{27} }
func (m *TxSize) GetMaxBytes() int32 {
if m != nil {
return m.MaxBytes
}
return 0
}
func (m *TxSize) GetMaxGas() int64 {
if m != nil {
return m.MaxGas
}
return 0
}
// BlockGossip determine consensus critical
// elements of how blocks are gossiped
type BlockGossip struct {
// Note: must not be 0
BlockPartSizeBytes int32 `protobuf:"varint,1,opt,name=block_part_size_bytes,json=blockPartSizeBytes" json:"block_part_size_bytes,omitempty"`
}
func (m *BlockGossip) Reset() { *m = BlockGossip{} }
func (m *BlockGossip) String() string { return proto.CompactTextString(m) }
func (*BlockGossip) ProtoMessage() {}
func (*BlockGossip) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{28} }
func (m *BlockGossip) GetBlockPartSizeBytes() int32 {
if m != nil {
return m.BlockPartSizeBytes
}
return 0
}
// just the minimum the app might need
type Header struct {
// basics
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"`
Height int64 `protobuf:"varint,2,opt,name=height" json:"height,omitempty"`
Time int64 `protobuf:"varint,3,opt,name=time" json:"time,omitempty"`
// txs
NumTxs int32 `protobuf:"varint,4,opt,name=num_txs,json=numTxs" json:"num_txs,omitempty"`
TotalTxs int64 `protobuf:"varint,5,opt,name=total_txs,json=totalTxs" json:"total_txs,omitempty"`
// hashes
LastBlockHash []byte `protobuf:"bytes,6,opt,name=last_block_hash,json=lastBlockHash,proto3" json:"last_block_hash,omitempty"`
AppHash []byte `protobuf:"bytes,7,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
// consensus
Proposer *Validator `protobuf:"bytes,8,opt,name=proposer" json:"proposer,omitempty"`
}
func (m *Header) Reset() { *m = Header{} }
func (m *Header) String() string { return proto.CompactTextString(m) }
func (*Header) ProtoMessage() {}
func (*Header) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} }
func (m *Header) GetChainId() string {
if m != nil {
return m.ChainId
}
return ""
}
func (m *Header) GetHeight() int64 {
if m != nil {
return m.Height
}
return 0
}
func (m *Header) GetTime() int64 {
if m != nil {
return m.Time
}
return 0
}
func (m *Header) GetNumTxs() int32 {
if m != nil {
return m.NumTxs
}
return 0
}
func (m *Header) GetTotalTxs() int64 {
if m != nil {
return m.TotalTxs
}
return 0
}
func (m *Header) GetLastBlockHash() []byte {
if m != nil {
return m.LastBlockHash
}
return nil
}
func (m *Header) GetAppHash() []byte {
if m != nil {
return m.AppHash
}
return nil
}
func (m *Header) GetProposer() *Validator {
if m != nil {
return m.Proposer
}
return nil
}
// Validator
type Validator struct {
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
PubKey *PubKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey" json:"pub_key,omitempty"`
Power int64 `protobuf:"varint,3,opt,name=power" json:"power,omitempty"`
}
func (m *Validator) Reset() { *m = Validator{} }
func (m *Validator) String() string { return proto.CompactTextString(m) }
func (*Validator) ProtoMessage() {}
func (*Validator) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{30} }
func (m *Validator) GetAddress() []byte {
if m != nil {
return m.Address
}
return nil
}
func (m *Validator) GetPubKey() *PubKey {
if m != nil {
return m.PubKey
}
return nil
}
func (m *Validator) GetPower() int64 {
if m != nil {
return m.Power
}
return 0
}
// Validator with an extra bool
type SigningValidator struct {
Validator *Validator `protobuf:"bytes,1,opt,name=validator" json:"validator,omitempty"`
SignedLastBlock bool `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock" json:"signed_last_block,omitempty"`
}
func (m *SigningValidator) Reset() { *m = SigningValidator{} }
func (m *SigningValidator) String() string { return proto.CompactTextString(m) }
func (*SigningValidator) ProtoMessage() {}
func (*SigningValidator) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{31} }
func (m *SigningValidator) GetValidator() *Validator {
if m != nil {
return m.Validator
}
return nil
}
func (m *SigningValidator) GetSignedLastBlock() bool {
if m != nil {
return m.SignedLastBlock
}
return false
}
type PubKey struct {
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}
func (m *PubKey) Reset() { *m = PubKey{} }
func (m *PubKey) String() string { return proto.CompactTextString(m) }
func (*PubKey) ProtoMessage() {}
func (*PubKey) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{32} }
func (m *PubKey) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *PubKey) GetData() []byte {
if m != nil {
return m.Data
}
return nil
}
type Evidence struct {
Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
Validator *Validator `protobuf:"bytes,2,opt,name=validator" json:"validator,omitempty"`
Height int64 `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
Time int64 `protobuf:"varint,4,opt,name=time" json:"time,omitempty"`
TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower" json:"total_voting_power,omitempty"`
}
func (m *Evidence) Reset() { *m = Evidence{} }
func (m *Evidence) String() string { return proto.CompactTextString(m) }
func (*Evidence) ProtoMessage() {}
func (*Evidence) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{33} }
func (m *Evidence) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *Evidence) GetValidator() *Validator {
if m != nil {
return m.Validator
}
return nil
}
func (m *Evidence) GetHeight() int64 {
if m != nil {
return m.Height
}
return 0
}
func (m *Evidence) GetTime() int64 {
if m != nil {
return m.Time
}
return 0
}
func (m *Evidence) GetTotalVotingPower() int64 {
if m != nil {
return m.TotalVotingPower
}
return 0
}
func init() {
proto.RegisterType((*Request)(nil), "types.Request")
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")
proto.RegisterType((*RequestQuery)(nil), "types.RequestQuery")
proto.RegisterType((*RequestBeginBlock)(nil), "types.RequestBeginBlock")
proto.RegisterType((*RequestCheckTx)(nil), "types.RequestCheckTx")
proto.RegisterType((*RequestDeliverTx)(nil), "types.RequestDeliverTx")
proto.RegisterType((*RequestEndBlock)(nil), "types.RequestEndBlock")
proto.RegisterType((*RequestCommit)(nil), "types.RequestCommit")
proto.RegisterType((*Response)(nil), "types.Response")
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")
proto.RegisterType((*ResponseQuery)(nil), "types.ResponseQuery")
proto.RegisterType((*ResponseBeginBlock)(nil), "types.ResponseBeginBlock")
proto.RegisterType((*ResponseCheckTx)(nil), "types.ResponseCheckTx")
proto.RegisterType((*ResponseDeliverTx)(nil), "types.ResponseDeliverTx")
proto.RegisterType((*ResponseEndBlock)(nil), "types.ResponseEndBlock")
proto.RegisterType((*ResponseCommit)(nil), "types.ResponseCommit")
proto.RegisterType((*ConsensusParams)(nil), "types.ConsensusParams")
proto.RegisterType((*BlockSize)(nil), "types.BlockSize")
proto.RegisterType((*TxSize)(nil), "types.TxSize")
proto.RegisterType((*BlockGossip)(nil), "types.BlockGossip")
proto.RegisterType((*Header)(nil), "types.Header")
proto.RegisterType((*Validator)(nil), "types.Validator")
proto.RegisterType((*SigningValidator)(nil), "types.SigningValidator")
proto.RegisterType((*PubKey)(nil), "types.PubKey")
proto.RegisterType((*Evidence)(nil), "types.Evidence")
}
// 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.
const _ = grpc.SupportPackageIsVersion4
// Client API for ABCIApplication service
type ABCIApplicationClient interface {
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)
DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error)
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)
}
type aBCIApplicationClient struct {
cc *grpc.ClientConn
}
func NewABCIApplicationClient(cc *grpc.ClientConn) ABCIApplicationClient {
return &aBCIApplicationClient{cc}
}
func (c *aBCIApplicationClient) Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error) {
out := new(ResponseEcho)
err := grpc.Invoke(ctx, "/types.ABCIApplication/Echo", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error) {
out := new(ResponseFlush)
err := grpc.Invoke(ctx, "/types.ABCIApplication/Flush", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error) {
out := new(ResponseInfo)
err := grpc.Invoke(ctx, "/types.ABCIApplication/Info", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, error) {
out := new(ResponseSetOption)
err := grpc.Invoke(ctx, "/types.ABCIApplication/SetOption", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error) {
out := new(ResponseDeliverTx)
err := grpc.Invoke(ctx, "/types.ABCIApplication/DeliverTx", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) {
out := new(ResponseCheckTx)
err := grpc.Invoke(ctx, "/types.ABCIApplication/CheckTx", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error) {
out := new(ResponseQuery)
err := grpc.Invoke(ctx, "/types.ABCIApplication/Query", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error) {
out := new(ResponseCommit)
err := grpc.Invoke(ctx, "/types.ABCIApplication/Commit", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error) {
out := new(ResponseInitChain)
err := grpc.Invoke(ctx, "/types.ABCIApplication/InitChain", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error) {
out := new(ResponseBeginBlock)
err := grpc.Invoke(ctx, "/types.ABCIApplication/BeginBlock", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *aBCIApplicationClient) EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error) {
out := new(ResponseEndBlock)
err := grpc.Invoke(ctx, "/types.ABCIApplication/EndBlock", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for ABCIApplication service
type ABCIApplicationServer interface {
Echo(context.Context, *RequestEcho) (*ResponseEcho, error)
Flush(context.Context, *RequestFlush) (*ResponseFlush, error)
Info(context.Context, *RequestInfo) (*ResponseInfo, error)
SetOption(context.Context, *RequestSetOption) (*ResponseSetOption, error)
DeliverTx(context.Context, *RequestDeliverTx) (*ResponseDeliverTx, error)
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)
}
func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer) {
s.RegisterService(&_ABCIApplication_serviceDesc, srv)
}
func _ABCIApplication_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestEcho)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).Echo(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/Echo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).Echo(ctx, req.(*RequestEcho))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestFlush)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).Flush(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/Flush",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).Flush(ctx, req.(*RequestFlush))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestInfo)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).Info(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/Info",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).Info(ctx, req.(*RequestInfo))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_SetOption_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestSetOption)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).SetOption(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/SetOption",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).SetOption(ctx, req.(*RequestSetOption))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_DeliverTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestDeliverTx)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).DeliverTx(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/DeliverTx",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).DeliverTx(ctx, req.(*RequestDeliverTx))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_CheckTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestCheckTx)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).CheckTx(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/CheckTx",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).CheckTx(ctx, req.(*RequestCheckTx))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestQuery)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).Query(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/Query",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).Query(ctx, req.(*RequestQuery))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestCommit)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).Commit(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/Commit",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).Commit(ctx, req.(*RequestCommit))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_InitChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestInitChain)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).InitChain(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/InitChain",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).InitChain(ctx, req.(*RequestInitChain))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_BeginBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestBeginBlock)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).BeginBlock(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/BeginBlock",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).BeginBlock(ctx, req.(*RequestBeginBlock))
}
return interceptor(ctx, in, info, handler)
}
func _ABCIApplication_EndBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RequestEndBlock)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ABCIApplicationServer).EndBlock(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/types.ABCIApplication/EndBlock",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ABCIApplicationServer).EndBlock(ctx, req.(*RequestEndBlock))
}
return interceptor(ctx, in, info, handler)
}
var _ABCIApplication_serviceDesc = grpc.ServiceDesc{
ServiceName: "types.ABCIApplication",
HandlerType: (*ABCIApplicationServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Echo",
Handler: _ABCIApplication_Echo_Handler,
},
{
MethodName: "Flush",
Handler: _ABCIApplication_Flush_Handler,
},
{
MethodName: "Info",
Handler: _ABCIApplication_Info_Handler,
},
{
MethodName: "SetOption",
Handler: _ABCIApplication_SetOption_Handler,
},
{
MethodName: "DeliverTx",
Handler: _ABCIApplication_DeliverTx_Handler,
},
{
MethodName: "CheckTx",
Handler: _ABCIApplication_CheckTx_Handler,
},
{
MethodName: "Query",
Handler: _ABCIApplication_Query_Handler,
},
{
MethodName: "Commit",
Handler: _ABCIApplication_Commit_Handler,
},
{
MethodName: "InitChain",
Handler: _ABCIApplication_InitChain_Handler,
},
{
MethodName: "BeginBlock",
Handler: _ABCIApplication_BeginBlock_Handler,
},
{
MethodName: "EndBlock",
Handler: _ABCIApplication_EndBlock_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "types/types.proto",
}
func init() { proto.RegisterFile("types/types.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 1716 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0x4b, 0x73, 0x1b, 0xc7,
0x11, 0x26, 0xde, 0xd8, 0xe6, 0x03, 0xe0, 0x90, 0x14, 0x21, 0xa8, 0x52, 0xc5, 0xda, 0x24, 0x0a,
0x99, 0x30, 0x84, 0x42, 0x45, 0x0a, 0x15, 0x25, 0xaa, 0x90, 0x0c, 0x23, 0xb0, 0x94, 0x07, 0xb3,
0x7a, 0xb8, 0xca, 0x17, 0xd4, 0x60, 0x77, 0xb8, 0xd8, 0x12, 0xb0, 0xbb, 0xda, 0x19, 0x50, 0xa0,
0x7e, 0x83, 0xee, 0x3e, 0xfb, 0xe6, 0x3f, 0xe0, 0x9f, 0x60, 0x5f, 0xfc, 0x2b, 0x5c, 0xfe, 0x0f,
0x3e, 0xbb, 0xa6, 0x67, 0xdf, 0xdc, 0x95, 0x55, 0xf6, 0xcd, 0x17, 0x60, 0x66, 0xfa, 0xb1, 0xdd,
0xbd, 0xdd, 0x5f, 0xf7, 0x0e, 0xac, 0x8b, 0x6b, 0x9f, 0xf1, 0x01, 0xfe, 0x1e, 0xf8, 0x81, 0x27,
0x3c, 0xd2, 0xc0, 0x4d, 0x7f, 0x60, 0x3b, 0x62, 0x32, 0x1f, 0x1f, 0x98, 0xde, 0x6c, 0x20, 0x98,
0x6b, 0xb1, 0x60, 0xe6, 0xb8, 0x62, 0x20, 0x66, 0x53, 0x67, 0xcc, 0x07, 0xa6, 0x37, 0x9b, 0x79,
0x6e, 0x5a, 0x4e, 0xff, 0xba, 0x0e, 0x2d, 0x83, 0xbd, 0x99, 0x33, 0x2e, 0xc8, 0x2e, 0xd4, 0x99,
0x39, 0xf1, 0x7a, 0xd5, 0x9d, 0xca, 0xee, 0xf2, 0x21, 0x39, 0x50, 0x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