@ -14,7 +14,7 @@ It has these top-level messages:
RequestFlush
RequestFlush
RequestInfo
RequestInfo
RequestSetOption
RequestSetOption
RequestAppend Tx
RequestDeliver Tx
RequestCheckTx
RequestCheckTx
RequestQuery
RequestQuery
RequestCommit
RequestCommit
@ -27,7 +27,7 @@ It has these top-level messages:
ResponseFlush
ResponseFlush
ResponseInfo
ResponseInfo
ResponseSetOption
ResponseSetOption
ResponseAppend Tx
ResponseDeliver Tx
ResponseCheckTx
ResponseCheckTx
ResponseQuery
ResponseQuery
ResponseCommit
ResponseCommit
@ -74,7 +74,7 @@ const (
MessageType_Info MessageType = 3
MessageType_Info MessageType = 3
MessageType_SetOption MessageType = 4
MessageType_SetOption MessageType = 4
MessageType_Exception MessageType = 5
MessageType_Exception MessageType = 5
MessageType_Append Tx MessageType = 17
MessageType_Deliver Tx MessageType = 17
MessageType_CheckTx MessageType = 18
MessageType_CheckTx MessageType = 18
MessageType_Commit MessageType = 19
MessageType_Commit MessageType = 19
MessageType_Query MessageType = 20
MessageType_Query MessageType = 20
@ -90,7 +90,7 @@ var MessageType_name = map[int32]string{
3 : "Info" ,
3 : "Info" ,
4 : "SetOption" ,
4 : "SetOption" ,
5 : "Exception" ,
5 : "Exception" ,
17 : "Append Tx" ,
17 : "Deliver Tx" ,
18 : "CheckTx" ,
18 : "CheckTx" ,
19 : "Commit" ,
19 : "Commit" ,
20 : "Query" ,
20 : "Query" ,
@ -105,7 +105,7 @@ var MessageType_value = map[string]int32{
"Info" : 3 ,
"Info" : 3 ,
"SetOption" : 4 ,
"SetOption" : 4 ,
"Exception" : 5 ,
"Exception" : 5 ,
"Append Tx" : 17 ,
"Deliver Tx" : 17 ,
"CheckTx" : 18 ,
"CheckTx" : 18 ,
"Commit" : 19 ,
"Commit" : 19 ,
"Query" : 20 ,
"Query" : 20 ,
@ -233,7 +233,7 @@ type Request struct {
// *Request_Flush
// *Request_Flush
// *Request_Info
// *Request_Info
// *Request_SetOption
// *Request_SetOption
// *Request_Append Tx
// *Request_Deliver Tx
// *Request_CheckTx
// *Request_CheckTx
// *Request_Commit
// *Request_Commit
// *Request_Query
// *Request_Query
@ -264,8 +264,8 @@ type Request_Info struct {
type Request_SetOption struct {
type Request_SetOption struct {
SetOption * RequestSetOption ` protobuf:"bytes,4,opt,name=set_option,json=setOption,oneof" `
SetOption * RequestSetOption ` protobuf:"bytes,4,opt,name=set_option,json=setOption,oneof" `
}
}
type Request_Append Tx struct {
AppendTx * RequestAppendTx ` protobuf:"bytes,5,opt,name=append_tx,json=append Tx,oneof"`
type Request_Deliver Tx struct {
DeliverTx * RequestDeliverTx ` protobuf:"bytes,5,opt,name=deliver_tx,json=deliver Tx,oneof"`
}
}
type Request_CheckTx struct {
type Request_CheckTx struct {
CheckTx * RequestCheckTx ` protobuf:"bytes,6,opt,name=check_tx,json=checkTx,oneof" `
CheckTx * RequestCheckTx ` protobuf:"bytes,6,opt,name=check_tx,json=checkTx,oneof" `
@ -290,7 +290,7 @@ func (*Request_Echo) isRequest_Value() {}
func ( * Request_Flush ) isRequest_Value ( ) { }
func ( * Request_Flush ) isRequest_Value ( ) { }
func ( * Request_Info ) isRequest_Value ( ) { }
func ( * Request_Info ) isRequest_Value ( ) { }
func ( * Request_SetOption ) isRequest_Value ( ) { }
func ( * Request_SetOption ) isRequest_Value ( ) { }
func ( * Request_Append Tx ) isRequest_Value ( ) { }
func ( * Request_Deliver Tx ) isRequest_Value ( ) { }
func ( * Request_CheckTx ) isRequest_Value ( ) { }
func ( * Request_CheckTx ) isRequest_Value ( ) { }
func ( * Request_Commit ) isRequest_Value ( ) { }
func ( * Request_Commit ) isRequest_Value ( ) { }
func ( * Request_Query ) isRequest_Value ( ) { }
func ( * Request_Query ) isRequest_Value ( ) { }
@ -333,9 +333,9 @@ func (m *Request) GetSetOption() *RequestSetOption {
return nil
return nil
}
}
func ( m * Request ) GetAppend Tx ( ) * RequestAppend Tx {
if x , ok := m . GetValue ( ) . ( * Request_Append Tx ) ; ok {
return x . Append Tx
func ( m * Request ) GetDeliver Tx ( ) * RequestDeliver Tx {
if x , ok := m . GetValue ( ) . ( * Request_Deliver Tx ) ; ok {
return x . Deliver Tx
}
}
return nil
return nil
}
}
@ -389,7 +389,7 @@ func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error
( * Request_Flush ) ( nil ) ,
( * Request_Flush ) ( nil ) ,
( * Request_Info ) ( nil ) ,
( * Request_Info ) ( nil ) ,
( * Request_SetOption ) ( nil ) ,
( * Request_SetOption ) ( nil ) ,
( * Request_Append Tx ) ( nil ) ,
( * Request_Deliver Tx ) ( nil ) ,
( * Request_CheckTx ) ( nil ) ,
( * Request_CheckTx ) ( nil ) ,
( * Request_Commit ) ( nil ) ,
( * Request_Commit ) ( nil ) ,
( * Request_Query ) ( nil ) ,
( * Request_Query ) ( nil ) ,
@ -423,9 +423,9 @@ func _Request_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
if err := b . EncodeMessage ( x . SetOption ) ; err != nil {
if err := b . EncodeMessage ( x . SetOption ) ; err != nil {
return err
return err
}
}
case * Request_Append Tx :
case * Request_Deliver Tx :
b . EncodeVarint ( 5 << 3 | proto . WireBytes )
b . EncodeVarint ( 5 << 3 | proto . WireBytes )
if err := b . EncodeMessage ( x . Append Tx) ; err != nil {
if err := b . EncodeMessage ( x . Deliver Tx) ; err != nil {
return err
return err
}
}
case * Request_CheckTx :
case * Request_CheckTx :
@ -500,13 +500,13 @@ func _Request_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer
err := b . DecodeMessage ( msg )
err := b . DecodeMessage ( msg )
m . Value = & Request_SetOption { msg }
m . Value = & Request_SetOption { msg }
return true , err
return true , err
case 5 : // value.append _tx
case 5 : // value.deliver _tx
if wire != proto . WireBytes {
if wire != proto . WireBytes {
return true , proto . ErrInternalBadWireType
return true , proto . ErrInternalBadWireType
}
}
msg := new ( RequestAppend Tx )
msg := new ( RequestDeliver Tx )
err := b . DecodeMessage ( msg )
err := b . DecodeMessage ( msg )
m . Value = & Request_Append Tx { msg }
m . Value = & Request_Deliver Tx { msg }
return true , err
return true , err
case 6 : // value.check_tx
case 6 : // value.check_tx
if wire != proto . WireBytes {
if wire != proto . WireBytes {
@ -585,8 +585,8 @@ func _Request_OneofSizer(msg proto.Message) (n int) {
n += proto . SizeVarint ( 4 << 3 | proto . WireBytes )
n += proto . SizeVarint ( 4 << 3 | proto . WireBytes )
n += proto . SizeVarint ( uint64 ( s ) )
n += proto . SizeVarint ( uint64 ( s ) )
n += s
n += s
case * Request_Append Tx :
s := proto . Size ( x . Append Tx)
case * Request_Deliver Tx :
s := proto . Size ( x . Deliver Tx)
n += proto . SizeVarint ( 5 << 3 | proto . WireBytes )
n += proto . SizeVarint ( 5 << 3 | proto . WireBytes )
n += proto . SizeVarint ( uint64 ( s ) )
n += proto . SizeVarint ( uint64 ( s ) )
n += s
n += s
@ -683,16 +683,16 @@ func (m *RequestSetOption) GetValue() string {
return ""
return ""
}
}
type RequestAppend Tx struct {
type RequestDeliver Tx struct {
Tx [ ] byte ` protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty" `
Tx [ ] byte ` protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty" `
}
}
func ( m * RequestAppend Tx ) Reset ( ) { * m = RequestAppend Tx { } }
func ( m * RequestAppend Tx ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * RequestAppend Tx ) ProtoMessage ( ) { }
func ( * RequestAppend Tx ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 5 } }
func ( m * RequestDeliver Tx ) Reset ( ) { * m = RequestDeliver Tx { } }
func ( m * RequestDeliver Tx ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * RequestDeliver Tx ) ProtoMessage ( ) { }
func ( * RequestDeliver Tx ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 5 } }
func ( m * RequestAppend Tx ) GetTx ( ) [ ] byte {
func ( m * RequestDeliver Tx ) GetTx ( ) [ ] byte {
if m != nil {
if m != nil {
return m . Tx
return m . Tx
}
}
@ -802,7 +802,7 @@ type Response struct {
// *Response_Flush
// *Response_Flush
// *Response_Info
// *Response_Info
// *Response_SetOption
// *Response_SetOption
// *Response_Append Tx
// *Response_Deliver Tx
// *Response_CheckTx
// *Response_CheckTx
// *Response_Commit
// *Response_Commit
// *Response_Query
// *Response_Query
@ -836,8 +836,8 @@ type Response_Info struct {
type Response_SetOption struct {
type Response_SetOption struct {
SetOption * ResponseSetOption ` protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof" `
SetOption * ResponseSetOption ` protobuf:"bytes,5,opt,name=set_option,json=setOption,oneof" `
}
}
type Response_Append Tx struct {
AppendTx * ResponseAppendTx ` protobuf:"bytes,6,opt,name=append_tx,json=append Tx,oneof"`
type Response_Deliver Tx struct {
DeliverTx * ResponseDeliverTx ` protobuf:"bytes,6,opt,name=deliver_tx,json=deliver Tx,oneof"`
}
}
type Response_CheckTx struct {
type Response_CheckTx struct {
CheckTx * ResponseCheckTx ` protobuf:"bytes,7,opt,name=check_tx,json=checkTx,oneof" `
CheckTx * ResponseCheckTx ` protobuf:"bytes,7,opt,name=check_tx,json=checkTx,oneof" `
@ -863,7 +863,7 @@ func (*Response_Echo) isResponse_Value() {}
func ( * Response_Flush ) isResponse_Value ( ) { }
func ( * Response_Flush ) isResponse_Value ( ) { }
func ( * Response_Info ) isResponse_Value ( ) { }
func ( * Response_Info ) isResponse_Value ( ) { }
func ( * Response_SetOption ) isResponse_Value ( ) { }
func ( * Response_SetOption ) isResponse_Value ( ) { }
func ( * Response_Append Tx ) isResponse_Value ( ) { }
func ( * Response_Deliver Tx ) isResponse_Value ( ) { }
func ( * Response_CheckTx ) isResponse_Value ( ) { }
func ( * Response_CheckTx ) isResponse_Value ( ) { }
func ( * Response_Commit ) isResponse_Value ( ) { }
func ( * Response_Commit ) isResponse_Value ( ) { }
func ( * Response_Query ) isResponse_Value ( ) { }
func ( * Response_Query ) isResponse_Value ( ) { }
@ -913,9 +913,9 @@ func (m *Response) GetSetOption() *ResponseSetOption {
return nil
return nil
}
}
func ( m * Response ) GetAppend Tx ( ) * ResponseAppend Tx {
if x , ok := m . GetValue ( ) . ( * Response_Append Tx ) ; ok {
return x . Append Tx
func ( m * Response ) GetDeliver Tx ( ) * ResponseDeliver Tx {
if x , ok := m . GetValue ( ) . ( * Response_Deliver Tx ) ; ok {
return x . Deliver Tx
}
}
return nil
return nil
}
}
@ -970,7 +970,7 @@ func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) erro
( * Response_Flush ) ( nil ) ,
( * Response_Flush ) ( nil ) ,
( * Response_Info ) ( nil ) ,
( * Response_Info ) ( nil ) ,
( * Response_SetOption ) ( nil ) ,
( * Response_SetOption ) ( nil ) ,
( * Response_Append Tx ) ( nil ) ,
( * Response_Deliver Tx ) ( nil ) ,
( * Response_CheckTx ) ( nil ) ,
( * Response_CheckTx ) ( nil ) ,
( * Response_Commit ) ( nil ) ,
( * Response_Commit ) ( nil ) ,
( * Response_Query ) ( nil ) ,
( * Response_Query ) ( nil ) ,
@ -1009,9 +1009,9 @@ func _Response_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
if err := b . EncodeMessage ( x . SetOption ) ; err != nil {
if err := b . EncodeMessage ( x . SetOption ) ; err != nil {
return err
return err
}
}
case * Response_Append Tx :
case * Response_Deliver Tx :
b . EncodeVarint ( 6 << 3 | proto . WireBytes )
b . EncodeVarint ( 6 << 3 | proto . WireBytes )
if err := b . EncodeMessage ( x . Append Tx) ; err != nil {
if err := b . EncodeMessage ( x . Deliver Tx) ; err != nil {
return err
return err
}
}
case * Response_CheckTx :
case * Response_CheckTx :
@ -1094,13 +1094,13 @@ func _Response_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffe
err := b . DecodeMessage ( msg )
err := b . DecodeMessage ( msg )
m . Value = & Response_SetOption { msg }
m . Value = & Response_SetOption { msg }
return true , err
return true , err
case 6 : // value.append _tx
case 6 : // value.deliver _tx
if wire != proto . WireBytes {
if wire != proto . WireBytes {
return true , proto . ErrInternalBadWireType
return true , proto . ErrInternalBadWireType
}
}
msg := new ( ResponseAppend Tx )
msg := new ( ResponseDeliver Tx )
err := b . DecodeMessage ( msg )
err := b . DecodeMessage ( msg )
m . Value = & Response_Append Tx { msg }
m . Value = & Response_Deliver Tx { msg }
return true , err
return true , err
case 7 : // value.check_tx
case 7 : // value.check_tx
if wire != proto . WireBytes {
if wire != proto . WireBytes {
@ -1184,8 +1184,8 @@ func _Response_OneofSizer(msg proto.Message) (n int) {
n += proto . SizeVarint ( 5 << 3 | proto . WireBytes )
n += proto . SizeVarint ( 5 << 3 | proto . WireBytes )
n += proto . SizeVarint ( uint64 ( s ) )
n += proto . SizeVarint ( uint64 ( s ) )
n += s
n += s
case * Response_Append Tx :
s := proto . Size ( x . Append Tx)
case * Response_Deliver Tx :
s := proto . Size ( x . Deliver Tx)
n += proto . SizeVarint ( 6 << 3 | proto . WireBytes )
n += proto . SizeVarint ( 6 << 3 | proto . WireBytes )
n += proto . SizeVarint ( uint64 ( s ) )
n += proto . SizeVarint ( uint64 ( s ) )
n += s
n += s
@ -1322,32 +1322,32 @@ func (m *ResponseSetOption) GetLog() string {
return ""
return ""
}
}
type ResponseAppend Tx struct {
type ResponseDeliver Tx struct {
Code CodeType ` protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty" `
Code CodeType ` protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty" `
Data [ ] byte ` protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" `
Data [ ] byte ` protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" `
Log string ` protobuf:"bytes,3,opt,name=log" json:"log,omitempty" `
Log string ` protobuf:"bytes,3,opt,name=log" json:"log,omitempty" `
}
}
func ( m * ResponseAppend Tx ) Reset ( ) { * m = ResponseAppend Tx { } }
func ( m * ResponseAppend Tx ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ResponseAppend Tx ) ProtoMessage ( ) { }
func ( * ResponseAppend Tx ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 18 } }
func ( m * ResponseDeliver Tx ) Reset ( ) { * m = ResponseDeliver Tx { } }
func ( m * ResponseDeliver Tx ) String ( ) string { return proto . CompactTextString ( m ) }
func ( * ResponseDeliver Tx ) ProtoMessage ( ) { }
func ( * ResponseDeliver Tx ) Descriptor ( ) ( [ ] byte , [ ] int ) { return fileDescriptor0 , [ ] int { 18 } }
func ( m * ResponseAppend Tx ) GetCode ( ) CodeType {
func ( m * ResponseDeliver Tx ) GetCode ( ) CodeType {
if m != nil {
if m != nil {
return m . Code
return m . Code
}
}
return CodeType_OK
return CodeType_OK
}
}
func ( m * ResponseAppend Tx ) GetData ( ) [ ] byte {
func ( m * ResponseDeliver Tx ) GetData ( ) [ ] byte {
if m != nil {
if m != nil {
return m . Data
return m . Data
}
}
return nil
return nil
}
}
func ( m * ResponseAppend Tx ) GetLog ( ) string {
func ( m * ResponseDeliver Tx ) GetLog ( ) string {
if m != nil {
if m != nil {
return m . Log
return m . Log
}
}
@ -1640,7 +1640,7 @@ func init() {
proto . RegisterType ( ( * RequestFlush ) ( nil ) , "types.RequestFlush" )
proto . RegisterType ( ( * RequestFlush ) ( nil ) , "types.RequestFlush" )
proto . RegisterType ( ( * RequestInfo ) ( nil ) , "types.RequestInfo" )
proto . RegisterType ( ( * RequestInfo ) ( nil ) , "types.RequestInfo" )
proto . RegisterType ( ( * RequestSetOption ) ( nil ) , "types.RequestSetOption" )
proto . RegisterType ( ( * RequestSetOption ) ( nil ) , "types.RequestSetOption" )
proto . RegisterType ( ( * RequestAppend Tx ) ( nil ) , "types.RequestAppend Tx" )
proto . RegisterType ( ( * RequestDeliver Tx ) ( nil ) , "types.RequestDeliver Tx" )
proto . RegisterType ( ( * RequestCheckTx ) ( nil ) , "types.RequestCheckTx" )
proto . RegisterType ( ( * RequestCheckTx ) ( nil ) , "types.RequestCheckTx" )
proto . RegisterType ( ( * RequestQuery ) ( nil ) , "types.RequestQuery" )
proto . RegisterType ( ( * RequestQuery ) ( nil ) , "types.RequestQuery" )
proto . RegisterType ( ( * RequestCommit ) ( nil ) , "types.RequestCommit" )
proto . RegisterType ( ( * RequestCommit ) ( nil ) , "types.RequestCommit" )
@ -1653,7 +1653,7 @@ func init() {
proto . RegisterType ( ( * ResponseFlush ) ( nil ) , "types.ResponseFlush" )
proto . RegisterType ( ( * ResponseFlush ) ( nil ) , "types.ResponseFlush" )
proto . RegisterType ( ( * ResponseInfo ) ( nil ) , "types.ResponseInfo" )
proto . RegisterType ( ( * ResponseInfo ) ( nil ) , "types.ResponseInfo" )
proto . RegisterType ( ( * ResponseSetOption ) ( nil ) , "types.ResponseSetOption" )
proto . RegisterType ( ( * ResponseSetOption ) ( nil ) , "types.ResponseSetOption" )
proto . RegisterType ( ( * ResponseAppend Tx ) ( nil ) , "types.ResponseAppend Tx" )
proto . RegisterType ( ( * ResponseDeliver Tx ) ( nil ) , "types.ResponseDeliver Tx" )
proto . RegisterType ( ( * ResponseCheckTx ) ( nil ) , "types.ResponseCheckTx" )
proto . RegisterType ( ( * ResponseCheckTx ) ( nil ) , "types.ResponseCheckTx" )
proto . RegisterType ( ( * ResponseQuery ) ( nil ) , "types.ResponseQuery" )
proto . RegisterType ( ( * ResponseQuery ) ( nil ) , "types.ResponseQuery" )
proto . RegisterType ( ( * ResponseCommit ) ( nil ) , "types.ResponseCommit" )
proto . RegisterType ( ( * ResponseCommit ) ( nil ) , "types.ResponseCommit" )
@ -1676,14 +1676,14 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
// is compatible with the grpc package it is being compiled against.
const _ = grpc . SupportPackageIsVersion4
const _ = grpc . SupportPackageIsVersion4
// Client API for TMSP Application service
// Client API for ABCI Application service
type TMSP ApplicationClient interface {
type ABCI ApplicationClient interface {
Echo ( ctx context . Context , in * RequestEcho , opts ... grpc . CallOption ) ( * ResponseEcho , error )
Echo ( ctx context . Context , in * RequestEcho , opts ... grpc . CallOption ) ( * ResponseEcho , error )
Flush ( ctx context . Context , in * RequestFlush , opts ... grpc . CallOption ) ( * ResponseFlush , error )
Flush ( ctx context . Context , in * RequestFlush , opts ... grpc . CallOption ) ( * ResponseFlush , error )
Info ( ctx context . Context , in * RequestInfo , opts ... grpc . CallOption ) ( * ResponseInfo , error )
Info ( ctx context . Context , in * RequestInfo , opts ... grpc . CallOption ) ( * ResponseInfo , error )
SetOption ( ctx context . Context , in * RequestSetOption , opts ... grpc . CallOption ) ( * ResponseSetOption , error )
SetOption ( ctx context . Context , in * RequestSetOption , opts ... grpc . CallOption ) ( * ResponseSetOption , error )
Append Tx( ctx context . Context , in * RequestAppend Tx , opts ... grpc . CallOption ) ( * ResponseAppend Tx , error )
Deliver Tx( ctx context . Context , in * RequestDeliver Tx , opts ... grpc . CallOption ) ( * ResponseDeliver Tx , error )
CheckTx ( ctx context . Context , in * RequestCheckTx , opts ... grpc . CallOption ) ( * ResponseCheckTx , error )
CheckTx ( ctx context . Context , in * RequestCheckTx , opts ... grpc . CallOption ) ( * ResponseCheckTx , error )
Query ( ctx context . Context , in * RequestQuery , opts ... grpc . CallOption ) ( * ResponseQuery , error )
Query ( ctx context . Context , in * RequestQuery , opts ... grpc . CallOption ) ( * ResponseQuery , error )
Commit ( ctx context . Context , in * RequestCommit , opts ... grpc . CallOption ) ( * ResponseCommit , error )
Commit ( ctx context . Context , in * RequestCommit , opts ... grpc . CallOption ) ( * ResponseCommit , error )
@ -1696,13 +1696,13 @@ type tMSPApplicationClient struct {
cc * grpc . ClientConn
cc * grpc . ClientConn
}
}
func NewTMSP ApplicationClient ( cc * grpc . ClientConn ) TMSP ApplicationClient {
func NewABCI ApplicationClient ( cc * grpc . ClientConn ) ABCI ApplicationClient {
return & tMSPApplicationClient { cc }
return & tMSPApplicationClient { cc }
}
}
func ( c * tMSPApplicationClient ) Echo ( ctx context . Context , in * RequestEcho , opts ... grpc . CallOption ) ( * ResponseEcho , error ) {
func ( c * tMSPApplicationClient ) Echo ( ctx context . Context , in * RequestEcho , opts ... grpc . CallOption ) ( * ResponseEcho , error ) {
out := new ( ResponseEcho )
out := new ( ResponseEcho )
err := grpc . Invoke ( ctx , "/types.TMSP Application/Echo" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/Echo" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1711,7 +1711,7 @@ func (c *tMSPApplicationClient) Echo(ctx context.Context, in *RequestEcho, opts
func ( c * tMSPApplicationClient ) Flush ( ctx context . Context , in * RequestFlush , opts ... grpc . CallOption ) ( * ResponseFlush , error ) {
func ( c * tMSPApplicationClient ) Flush ( ctx context . Context , in * RequestFlush , opts ... grpc . CallOption ) ( * ResponseFlush , error ) {
out := new ( ResponseFlush )
out := new ( ResponseFlush )
err := grpc . Invoke ( ctx , "/types.TMSP Application/Flush" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/Flush" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1720,7 +1720,7 @@ func (c *tMSPApplicationClient) Flush(ctx context.Context, in *RequestFlush, opt
func ( c * tMSPApplicationClient ) Info ( ctx context . Context , in * RequestInfo , opts ... grpc . CallOption ) ( * ResponseInfo , error ) {
func ( c * tMSPApplicationClient ) Info ( ctx context . Context , in * RequestInfo , opts ... grpc . CallOption ) ( * ResponseInfo , error ) {
out := new ( ResponseInfo )
out := new ( ResponseInfo )
err := grpc . Invoke ( ctx , "/types.TMSP Application/Info" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/Info" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1729,16 +1729,16 @@ func (c *tMSPApplicationClient) Info(ctx context.Context, in *RequestInfo, opts
func ( c * tMSPApplicationClient ) SetOption ( ctx context . Context , in * RequestSetOption , opts ... grpc . CallOption ) ( * ResponseSetOption , error ) {
func ( c * tMSPApplicationClient ) SetOption ( ctx context . Context , in * RequestSetOption , opts ... grpc . CallOption ) ( * ResponseSetOption , error ) {
out := new ( ResponseSetOption )
out := new ( ResponseSetOption )
err := grpc . Invoke ( ctx , "/types.TMSP Application/SetOption" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/SetOption" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
return out , nil
return out , nil
}
}
func ( c * tMSPApplicationClient ) Append Tx( ctx context . Context , in * RequestAppend Tx , opts ... grpc . CallOption ) ( * ResponseAppend Tx , error ) {
out := new ( ResponseAppend Tx )
err := grpc . Invoke ( ctx , "/types.TMSPApplication/Append Tx" , in , out , c . cc , opts ... )
func ( c * tMSPApplicationClient ) Deliver Tx( ctx context . Context , in * RequestDeliver Tx , opts ... grpc . CallOption ) ( * ResponseDeliver Tx , error ) {
out := new ( ResponseDeliver Tx )
err := grpc . Invoke ( ctx , "/types.ABCIApplication/Deliver Tx" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1747,7 +1747,7 @@ func (c *tMSPApplicationClient) AppendTx(ctx context.Context, in *RequestAppendT
func ( c * tMSPApplicationClient ) CheckTx ( ctx context . Context , in * RequestCheckTx , opts ... grpc . CallOption ) ( * ResponseCheckTx , error ) {
func ( c * tMSPApplicationClient ) CheckTx ( ctx context . Context , in * RequestCheckTx , opts ... grpc . CallOption ) ( * ResponseCheckTx , error ) {
out := new ( ResponseCheckTx )
out := new ( ResponseCheckTx )
err := grpc . Invoke ( ctx , "/types.TMSP Application/CheckTx" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/CheckTx" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1756,7 +1756,7 @@ func (c *tMSPApplicationClient) CheckTx(ctx context.Context, in *RequestCheckTx,
func ( c * tMSPApplicationClient ) Query ( ctx context . Context , in * RequestQuery , opts ... grpc . CallOption ) ( * ResponseQuery , error ) {
func ( c * tMSPApplicationClient ) Query ( ctx context . Context , in * RequestQuery , opts ... grpc . CallOption ) ( * ResponseQuery , error ) {
out := new ( ResponseQuery )
out := new ( ResponseQuery )
err := grpc . Invoke ( ctx , "/types.TMSP Application/Query" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/Query" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1765,7 +1765,7 @@ func (c *tMSPApplicationClient) Query(ctx context.Context, in *RequestQuery, opt
func ( c * tMSPApplicationClient ) Commit ( ctx context . Context , in * RequestCommit , opts ... grpc . CallOption ) ( * ResponseCommit , error ) {
func ( c * tMSPApplicationClient ) Commit ( ctx context . Context , in * RequestCommit , opts ... grpc . CallOption ) ( * ResponseCommit , error ) {
out := new ( ResponseCommit )
out := new ( ResponseCommit )
err := grpc . Invoke ( ctx , "/types.TMSP Application/Commit" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/Commit" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1774,7 +1774,7 @@ func (c *tMSPApplicationClient) Commit(ctx context.Context, in *RequestCommit, o
func ( c * tMSPApplicationClient ) InitChain ( ctx context . Context , in * RequestInitChain , opts ... grpc . CallOption ) ( * ResponseInitChain , error ) {
func ( c * tMSPApplicationClient ) InitChain ( ctx context . Context , in * RequestInitChain , opts ... grpc . CallOption ) ( * ResponseInitChain , error ) {
out := new ( ResponseInitChain )
out := new ( ResponseInitChain )
err := grpc . Invoke ( ctx , "/types.TMSP Application/InitChain" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/InitChain" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1783,7 +1783,7 @@ func (c *tMSPApplicationClient) InitChain(ctx context.Context, in *RequestInitCh
func ( c * tMSPApplicationClient ) BeginBlock ( ctx context . Context , in * RequestBeginBlock , opts ... grpc . CallOption ) ( * ResponseBeginBlock , error ) {
func ( c * tMSPApplicationClient ) BeginBlock ( ctx context . Context , in * RequestBeginBlock , opts ... grpc . CallOption ) ( * ResponseBeginBlock , error ) {
out := new ( ResponseBeginBlock )
out := new ( ResponseBeginBlock )
err := grpc . Invoke ( ctx , "/types.TMSP Application/BeginBlock" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/BeginBlock" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
@ -1792,21 +1792,21 @@ func (c *tMSPApplicationClient) BeginBlock(ctx context.Context, in *RequestBegin
func ( c * tMSPApplicationClient ) EndBlock ( ctx context . Context , in * RequestEndBlock , opts ... grpc . CallOption ) ( * ResponseEndBlock , error ) {
func ( c * tMSPApplicationClient ) EndBlock ( ctx context . Context , in * RequestEndBlock , opts ... grpc . CallOption ) ( * ResponseEndBlock , error ) {
out := new ( ResponseEndBlock )
out := new ( ResponseEndBlock )
err := grpc . Invoke ( ctx , "/types.TMSP Application/EndBlock" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/EndBlock" , in , out , c . cc , opts ... )
if err != nil {
if err != nil {
return nil , err
return nil , err
}
}
return out , nil
return out , nil
}
}
// Server API for TMSP Application service
// Server API for ABCI Application service
type TMSP ApplicationServer interface {
type ABCI ApplicationServer interface {
Echo ( context . Context , * RequestEcho ) ( * ResponseEcho , error )
Echo ( context . Context , * RequestEcho ) ( * ResponseEcho , error )
Flush ( context . Context , * RequestFlush ) ( * ResponseFlush , error )
Flush ( context . Context , * RequestFlush ) ( * ResponseFlush , error )
Info ( context . Context , * RequestInfo ) ( * ResponseInfo , error )
Info ( context . Context , * RequestInfo ) ( * ResponseInfo , error )
SetOption ( context . Context , * RequestSetOption ) ( * ResponseSetOption , error )
SetOption ( context . Context , * RequestSetOption ) ( * ResponseSetOption , error )
Append Tx( context . Context , * RequestAppend Tx ) ( * ResponseAppend Tx , error )
Deliver Tx( context . Context , * RequestDeliver Tx ) ( * ResponseDeliver Tx , error )
CheckTx ( context . Context , * RequestCheckTx ) ( * ResponseCheckTx , error )
CheckTx ( context . Context , * RequestCheckTx ) ( * ResponseCheckTx , error )
Query ( context . Context , * RequestQuery ) ( * ResponseQuery , error )
Query ( context . Context , * RequestQuery ) ( * ResponseQuery , error )
Commit ( context . Context , * RequestCommit ) ( * ResponseCommit , error )
Commit ( context . Context , * RequestCommit ) ( * ResponseCommit , error )
@ -1815,255 +1815,255 @@ type TMSPApplicationServer interface {
EndBlock ( context . Context , * RequestEndBlock ) ( * ResponseEndBlock , error )
EndBlock ( context . Context , * RequestEndBlock ) ( * ResponseEndBlock , error )
}
}
func RegisterTMSP ApplicationServer ( s * grpc . Server , srv TMSP ApplicationServer) {
s . RegisterService ( & _TMSP Application_serviceDesc , srv )
func RegisterABCI ApplicationServer ( s * grpc . Server , srv ABCI ApplicationServer) {
s . RegisterService ( & _ABCI Application_serviceDesc , srv )
}
}
func _TMSP Application_Echo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_Echo_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestEcho )
in := new ( RequestEcho )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Echo ( ctx , in )
return srv . ( ABCI ApplicationServer) . Echo ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/Echo" ,
FullMethod : "/types.ABCI Application/Echo" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . Echo ( ctx , req . ( * RequestEcho ) )
return srv . ( ABCI ApplicationServer) . Echo ( ctx , req . ( * RequestEcho ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_Flush_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_Flush_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestFlush )
in := new ( RequestFlush )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Flush ( ctx , in )
return srv . ( ABCI ApplicationServer) . Flush ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/Flush" ,
FullMethod : "/types.ABCI Application/Flush" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . Flush ( ctx , req . ( * RequestFlush ) )
return srv . ( ABCI ApplicationServer) . Flush ( ctx , req . ( * RequestFlush ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_Info_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_Info_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestInfo )
in := new ( RequestInfo )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Info ( ctx , in )
return srv . ( ABCI ApplicationServer) . Info ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/Info" ,
FullMethod : "/types.ABCI Application/Info" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . Info ( ctx , req . ( * RequestInfo ) )
return srv . ( ABCI ApplicationServer) . Info ( ctx , req . ( * RequestInfo ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_SetOption_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_SetOption_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestSetOption )
in := new ( RequestSetOption )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . SetOption ( ctx , in )
return srv . ( ABCI ApplicationServer) . SetOption ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/SetOption" ,
FullMethod : "/types.ABCI Application/SetOption" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . SetOption ( ctx , req . ( * RequestSetOption ) )
return srv . ( ABCI ApplicationServer) . SetOption ( ctx , req . ( * RequestSetOption ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSPApplication_Append Tx_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestAppend Tx )
func _ABCIApplication_Deliver Tx_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestDeliver Tx )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSPApplicationServer ) . Append Tx( ctx , in )
return srv . ( ABCIApplicationServer ) . Deliver Tx( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSPApplication/Append Tx" ,
FullMethod : "/types.ABCIApplication/Deliver Tx" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSPApplicationServer ) . Append Tx( ctx , req . ( * RequestAppend Tx ) )
return srv . ( ABCIApplicationServer ) . Deliver Tx( ctx , req . ( * RequestDeliver Tx ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_CheckTx_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_CheckTx_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestCheckTx )
in := new ( RequestCheckTx )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . CheckTx ( ctx , in )
return srv . ( ABCI ApplicationServer) . CheckTx ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/CheckTx" ,
FullMethod : "/types.ABCI Application/CheckTx" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . CheckTx ( ctx , req . ( * RequestCheckTx ) )
return srv . ( ABCI ApplicationServer) . CheckTx ( ctx , req . ( * RequestCheckTx ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_Query_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_Query_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestQuery )
in := new ( RequestQuery )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Query ( ctx , in )
return srv . ( ABCI ApplicationServer) . Query ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/Query" ,
FullMethod : "/types.ABCI Application/Query" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . Query ( ctx , req . ( * RequestQuery ) )
return srv . ( ABCI ApplicationServer) . Query ( ctx , req . ( * RequestQuery ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_Commit_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_Commit_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestCommit )
in := new ( RequestCommit )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Commit ( ctx , in )
return srv . ( ABCI ApplicationServer) . Commit ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/Commit" ,
FullMethod : "/types.ABCI Application/Commit" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . Commit ( ctx , req . ( * RequestCommit ) )
return srv . ( ABCI ApplicationServer) . Commit ( ctx , req . ( * RequestCommit ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_InitChain_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_InitChain_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestInitChain )
in := new ( RequestInitChain )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . InitChain ( ctx , in )
return srv . ( ABCI ApplicationServer) . InitChain ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/InitChain" ,
FullMethod : "/types.ABCI Application/InitChain" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . InitChain ( ctx , req . ( * RequestInitChain ) )
return srv . ( ABCI ApplicationServer) . InitChain ( ctx , req . ( * RequestInitChain ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_BeginBlock_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_BeginBlock_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestBeginBlock )
in := new ( RequestBeginBlock )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . BeginBlock ( ctx , in )
return srv . ( ABCI ApplicationServer) . BeginBlock ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/BeginBlock" ,
FullMethod : "/types.ABCI Application/BeginBlock" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . BeginBlock ( ctx , req . ( * RequestBeginBlock ) )
return srv . ( ABCI ApplicationServer) . BeginBlock ( ctx , req . ( * RequestBeginBlock ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
func _TMSP Application_EndBlock_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_EndBlock_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
in := new ( RequestEndBlock )
in := new ( RequestEndBlock )
if err := dec ( in ) ; err != nil {
if err := dec ( in ) ; err != nil {
return nil , err
return nil , err
}
}
if interceptor == nil {
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . EndBlock ( ctx , in )
return srv . ( ABCI ApplicationServer) . EndBlock ( ctx , in )
}
}
info := & grpc . UnaryServerInfo {
info := & grpc . UnaryServerInfo {
Server : srv ,
Server : srv ,
FullMethod : "/types.TMSP Application/EndBlock" ,
FullMethod : "/types.ABCI Application/EndBlock" ,
}
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . EndBlock ( ctx , req . ( * RequestEndBlock ) )
return srv . ( ABCI ApplicationServer) . EndBlock ( ctx , req . ( * RequestEndBlock ) )
}
}
return interceptor ( ctx , in , info , handler )
return interceptor ( ctx , in , info , handler )
}
}
var _TMSP Application_serviceDesc = grpc . ServiceDesc {
ServiceName : "types.TMSP Application" ,
HandlerType : ( * TMSP ApplicationServer) ( nil ) ,
var _ABCI Application_serviceDesc = grpc . ServiceDesc {
ServiceName : "types.ABCI Application" ,
HandlerType : ( * ABCI ApplicationServer) ( nil ) ,
Methods : [ ] grpc . MethodDesc {
Methods : [ ] grpc . MethodDesc {
{
{
MethodName : "Echo" ,
MethodName : "Echo" ,
Handler : _TMSP Application_Echo_Handler ,
Handler : _ABCI Application_Echo_Handler ,
} ,
} ,
{
{
MethodName : "Flush" ,
MethodName : "Flush" ,
Handler : _TMSP Application_Flush_Handler ,
Handler : _ABCI Application_Flush_Handler ,
} ,
} ,
{
{
MethodName : "Info" ,
MethodName : "Info" ,
Handler : _TMSP Application_Info_Handler ,
Handler : _ABCI Application_Info_Handler ,
} ,
} ,
{
{
MethodName : "SetOption" ,
MethodName : "SetOption" ,
Handler : _TMSP Application_SetOption_Handler ,
Handler : _ABCI Application_SetOption_Handler ,
} ,
} ,
{
{
MethodName : "Append Tx" ,
Handler : _TMSPApplication_Append Tx_Handler ,
MethodName : "Deliver Tx" ,
Handler : _ABCIApplication_Deliver Tx_Handler ,
} ,
} ,
{
{
MethodName : "CheckTx" ,
MethodName : "CheckTx" ,
Handler : _TMSP Application_CheckTx_Handler ,
Handler : _ABCI Application_CheckTx_Handler ,
} ,
} ,
{
{
MethodName : "Query" ,
MethodName : "Query" ,
Handler : _TMSP Application_Query_Handler ,
Handler : _ABCI Application_Query_Handler ,
} ,
} ,
{
{
MethodName : "Commit" ,
MethodName : "Commit" ,
Handler : _TMSP Application_Commit_Handler ,
Handler : _ABCI Application_Commit_Handler ,
} ,
} ,
{
{
MethodName : "InitChain" ,
MethodName : "InitChain" ,
Handler : _TMSP Application_InitChain_Handler ,
Handler : _ABCI Application_InitChain_Handler ,
} ,
} ,
{
{
MethodName : "BeginBlock" ,
MethodName : "BeginBlock" ,
Handler : _TMSP Application_BeginBlock_Handler ,
Handler : _ABCI Application_BeginBlock_Handler ,
} ,
} ,
{
{
MethodName : "EndBlock" ,
MethodName : "EndBlock" ,
Handler : _TMSP Application_EndBlock_Handler ,
Handler : _ABCI Application_EndBlock_Handler ,
} ,
} ,
} ,
} ,
Streams : [ ] grpc . StreamDesc { } ,
Streams : [ ] grpc . StreamDesc { } ,