@ -1676,9 +1676,9 @@ var _ grpc.ClientConn
// is compatible with the grpc package it is being compiled against.
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 )
Flush ( ctx context . Context , in * RequestFlush , opts ... grpc . CallOption ) ( * ResponseFlush , error )
Info ( ctx context . Context , in * RequestInfo , opts ... grpc . CallOption ) ( * ResponseInfo , error )
@ -1696,13 +1696,13 @@ type tMSPApplicationClient struct {
cc * grpc . ClientConn
}
func NewTMSP ApplicationClient ( cc * grpc . ClientConn ) TMSP ApplicationClient {
func NewABCI ApplicationClient ( cc * grpc . ClientConn ) ABCI ApplicationClient {
return & tMSPApplicationClient { cc }
}
func ( c * tMSPApplicationClient ) Echo ( ctx context . Context , in * RequestEcho , opts ... grpc . CallOption ) ( * ResponseEcho , error ) {
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 {
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 ) {
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 {
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 ) {
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 {
return nil , err
}
@ -1729,7 +1729,7 @@ func (c *tMSPApplicationClient) Info(ctx context.Context, in *RequestInfo, opts
func ( c * tMSPApplicationClient ) SetOption ( ctx context . Context , in * RequestSetOption , opts ... grpc . CallOption ) ( * ResponseSetOption , error ) {
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 {
return nil , err
}
@ -1738,7 +1738,7 @@ func (c *tMSPApplicationClient) SetOption(ctx context.Context, in *RequestSetOpt
func ( c * tMSPApplicationClient ) DeliverTx ( ctx context . Context , in * RequestDeliverTx , opts ... grpc . CallOption ) ( * ResponseDeliverTx , error ) {
out := new ( ResponseDeliverTx )
err := grpc . Invoke ( ctx , "/types.TMSP Application/DeliverTx" , in , out , c . cc , opts ... )
err := grpc . Invoke ( ctx , "/types.ABCI Application/DeliverTx" , in , out , c . cc , opts ... )
if err != nil {
return nil , err
}
@ -1747,7 +1747,7 @@ func (c *tMSPApplicationClient) DeliverTx(ctx context.Context, in *RequestDelive
func ( c * tMSPApplicationClient ) CheckTx ( ctx context . Context , in * RequestCheckTx , opts ... grpc . CallOption ) ( * ResponseCheckTx , error ) {
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 {
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 ) {
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 {
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 ) {
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 {
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 ) {
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 {
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 ) {
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 {
return nil , err
}
@ -1792,16 +1792,16 @@ func (c *tMSPApplicationClient) BeginBlock(ctx context.Context, in *RequestBegin
func ( c * tMSPApplicationClient ) EndBlock ( ctx context . Context , in * RequestEndBlock , opts ... grpc . CallOption ) ( * ResponseEndBlock , error ) {
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 {
return nil , err
}
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 )
Flush ( context . Context , * RequestFlush ) ( * ResponseFlush , error )
Info ( context . Context , * RequestInfo ) ( * ResponseInfo , error )
@ -1815,255 +1815,255 @@ type TMSPApplicationServer interface {
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Echo ( ctx , in )
return srv . ( ABCI ApplicationServer) . Echo ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/Echo" ,
FullMethod : "/types.ABCI Application/Echo" ,
}
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 )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Flush ( ctx , in )
return srv . ( ABCI ApplicationServer) . Flush ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/Flush" ,
FullMethod : "/types.ABCI Application/Flush" ,
}
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 )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Info ( ctx , in )
return srv . ( ABCI ApplicationServer) . Info ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/Info" ,
FullMethod : "/types.ABCI Application/Info" ,
}
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 )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . SetOption ( ctx , in )
return srv . ( ABCI ApplicationServer) . SetOption ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/SetOption" ,
FullMethod : "/types.ABCI Application/SetOption" ,
}
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 )
}
func _TMSP Application_DeliverTx_Handler ( srv interface { } , ctx context . Context , dec func ( interface { } ) error , interceptor grpc . UnaryServerInterceptor ) ( interface { } , error ) {
func _ABCI Application_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 . ( TMSP ApplicationServer) . DeliverTx ( ctx , in )
return srv . ( ABCI ApplicationServer) . DeliverTx ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/DeliverTx" ,
FullMethod : "/types.ABCI Application/DeliverTx" ,
}
handler := func ( ctx context . Context , req interface { } ) ( interface { } , error ) {
return srv . ( TMSP ApplicationServer) . DeliverTx ( ctx , req . ( * RequestDeliverTx ) )
return srv . ( ABCI ApplicationServer) . DeliverTx ( ctx , req . ( * RequestDeliverTx ) )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . CheckTx ( ctx , in )
return srv . ( ABCI ApplicationServer) . CheckTx ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/CheckTx" ,
FullMethod : "/types.ABCI Application/CheckTx" ,
}
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 )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Query ( ctx , in )
return srv . ( ABCI ApplicationServer) . Query ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/Query" ,
FullMethod : "/types.ABCI Application/Query" ,
}
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 )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . Commit ( ctx , in )
return srv . ( ABCI ApplicationServer) . Commit ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/Commit" ,
FullMethod : "/types.ABCI Application/Commit" ,
}
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 )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . InitChain ( ctx , in )
return srv . ( ABCI ApplicationServer) . InitChain ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/InitChain" ,
FullMethod : "/types.ABCI Application/InitChain" ,
}
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 )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . BeginBlock ( ctx , in )
return srv . ( ABCI ApplicationServer) . BeginBlock ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/BeginBlock" ,
FullMethod : "/types.ABCI Application/BeginBlock" ,
}
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 )
}
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 )
if err := dec ( in ) ; err != nil {
return nil , err
}
if interceptor == nil {
return srv . ( TMSP ApplicationServer) . EndBlock ( ctx , in )
return srv . ( ABCI ApplicationServer) . EndBlock ( ctx , in )
}
info := & grpc . UnaryServerInfo {
Server : srv ,
FullMethod : "/types.TMSP Application/EndBlock" ,
FullMethod : "/types.ABCI Application/EndBlock" ,
}
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 )
}
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 {
{
MethodName : "Echo" ,
Handler : _TMSP Application_Echo_Handler ,
Handler : _ABCI Application_Echo_Handler ,
} ,
{
MethodName : "Flush" ,
Handler : _TMSP Application_Flush_Handler ,
Handler : _ABCI Application_Flush_Handler ,
} ,
{
MethodName : "Info" ,
Handler : _TMSP Application_Info_Handler ,
Handler : _ABCI Application_Info_Handler ,
} ,
{
MethodName : "SetOption" ,
Handler : _TMSP Application_SetOption_Handler ,
Handler : _ABCI Application_SetOption_Handler ,
} ,
{
MethodName : "DeliverTx" ,
Handler : _TMSP Application_DeliverTx_Handler ,
Handler : _ABCI Application_DeliverTx_Handler ,
} ,
{
MethodName : "CheckTx" ,
Handler : _TMSP Application_CheckTx_Handler ,
Handler : _ABCI Application_CheckTx_Handler ,
} ,
{
MethodName : "Query" ,
Handler : _TMSP Application_Query_Handler ,
Handler : _ABCI Application_Query_Handler ,
} ,
{
MethodName : "Commit" ,
Handler : _TMSP Application_Commit_Handler ,
Handler : _ABCI Application_Commit_Handler ,
} ,
{
MethodName : "InitChain" ,
Handler : _TMSP Application_InitChain_Handler ,
Handler : _ABCI Application_InitChain_Handler ,
} ,
{
MethodName : "BeginBlock" ,
Handler : _TMSP Application_BeginBlock_Handler ,
Handler : _ABCI Application_BeginBlock_Handler ,
} ,
{
MethodName : "EndBlock" ,
Handler : _TMSP Application_EndBlock_Handler ,
Handler : _ABCI Application_EndBlock_Handler ,
} ,
} ,
Streams : [ ] grpc . StreamDesc { } ,