From bb0d7e95261243336cb2114dcf447d307a2edfb8 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Thu, 9 Nov 2017 16:52:52 -0500 Subject: [PATCH] add tags field to DeliverTx and CheckTx --- client/local_client.go | 4 +- server/socket_server.go | 4 +- types/application.go | 4 +- types/messages.go | 10 +- types/result.go | 3 + types/types.pb.go | 275 ++++++++++++++++++++++++---------------- types/types.proto | 17 ++- 7 files changed, 192 insertions(+), 125 deletions(-) diff --git a/client/local_client.go b/client/local_client.go index 8494a468f..13ebc0909 100644 --- a/client/local_client.go +++ b/client/local_client.go @@ -75,7 +75,7 @@ func (app *localClient) DeliverTxAsync(tx []byte) *ReqRes { app.mtx.Unlock() return app.callback( types.ToRequestDeliverTx(tx), - types.ToResponseDeliverTx(res.Code, res.Data, res.Log), + types.ToResponseDeliverTx(res.Code, res.Data, res.Log, res.Tags), ) } @@ -85,7 +85,7 @@ func (app *localClient) CheckTxAsync(tx []byte) *ReqRes { app.mtx.Unlock() return app.callback( types.ToRequestCheckTx(tx), - types.ToResponseCheckTx(res.Code, res.Data, res.Log), + types.ToResponseCheckTx(res.Code, res.Data, res.Log, res.Tags), ) } diff --git a/server/socket_server.go b/server/socket_server.go index 2396c556d..3e8ef942d 100644 --- a/server/socket_server.go +++ b/server/socket_server.go @@ -176,10 +176,10 @@ func (s *SocketServer) handleRequest(req *types.Request, responses chan<- *types responses <- types.ToResponseSetOption(logStr) case *types.Request_DeliverTx: res := s.app.DeliverTx(r.DeliverTx.Tx) - responses <- types.ToResponseDeliverTx(res.Code, res.Data, res.Log) + responses <- types.ToResponseDeliverTx(res.Code, res.Data, res.Log, res.Tags) case *types.Request_CheckTx: res := s.app.CheckTx(r.CheckTx.Tx) - responses <- types.ToResponseCheckTx(res.Code, res.Data, res.Log) + responses <- types.ToResponseCheckTx(res.Code, res.Data, res.Log, res.Tags) case *types.Request_Commit: res := s.app.Commit() responses <- types.ToResponseCommit(res.Code, res.Data, res.Log) diff --git a/types/application.go b/types/application.go index 3d9716b74..fcda5d95b 100644 --- a/types/application.go +++ b/types/application.go @@ -53,12 +53,12 @@ func (app *GRPCApplication) SetOption(ctx context.Context, req *RequestSetOption func (app *GRPCApplication) DeliverTx(ctx context.Context, req *RequestDeliverTx) (*ResponseDeliverTx, error) { r := app.app.DeliverTx(req.Tx) - return &ResponseDeliverTx{r.Code, r.Data, r.Log}, nil + return &ResponseDeliverTx{r.Code, r.Data, r.Log, r.Tags}, nil } func (app *GRPCApplication) CheckTx(ctx context.Context, req *RequestCheckTx) (*ResponseCheckTx, error) { r := app.app.CheckTx(req.Tx) - return &ResponseCheckTx{r.Code, r.Data, r.Log}, nil + return &ResponseCheckTx{r.Code, r.Data, r.Log, r.Tags}, nil } func (app *GRPCApplication) Query(ctx context.Context, req *RequestQuery) (*ResponseQuery, error) { diff --git a/types/messages.go b/types/messages.go index be272c387..d4a582964 100644 --- a/types/messages.go +++ b/types/messages.go @@ -4,7 +4,7 @@ import ( "io" "github.com/golang/protobuf/proto" - "github.com/tendermint/go-wire" + wire "github.com/tendermint/go-wire" ) func ToRequestEcho(message string) *Request { @@ -105,15 +105,15 @@ func ToResponseSetOption(log string) *Response { } } -func ToResponseDeliverTx(code CodeType, data []byte, log string) *Response { +func ToResponseDeliverTx(code CodeType, data []byte, log string, tags []*KVPair) *Response { return &Response{ - Value: &Response_DeliverTx{&ResponseDeliverTx{code, data, log}}, + Value: &Response_DeliverTx{&ResponseDeliverTx{code, data, log, tags}}, } } -func ToResponseCheckTx(code CodeType, data []byte, log string) *Response { +func ToResponseCheckTx(code CodeType, data []byte, log string, tags []*KVPair) *Response { return &Response{ - Value: &Response_CheckTx{&ResponseCheckTx{code, data, log}}, + Value: &Response_CheckTx{&ResponseCheckTx{code, data, log, tags}}, } } diff --git a/types/result.go b/types/result.go index abf1e964c..84f877dc8 100644 --- a/types/result.go +++ b/types/result.go @@ -12,6 +12,7 @@ type Result struct { Code CodeType `json:"code"` Data data.Bytes `json:"data"` Log string `json:"log"` // Can be non-deterministic + Tags []*KVPair `json:"tags"` } func NewResult(code CodeType, data []byte, log string) Result { @@ -102,6 +103,7 @@ func (r *ResponseCheckTx) Result() Result { Code: r.Code, Data: r.Data, Log: r.Log, + Tags: r.Tags, } } @@ -111,6 +113,7 @@ func (r *ResponseDeliverTx) Result() Result { Code: r.Code, Data: r.Data, Log: r.Log, + Tags: r.Tags, } } diff --git a/types/types.pb.go b/types/types.pb.go index 4ca304ac7..99396259b 100644 --- a/types/types.pb.go +++ b/types/types.pb.go @@ -1,6 +1,5 @@ -// Code generated by protoc-gen-go. +// Code generated by protoc-gen-go. DO NOT EDIT. // source: types/types.proto -// DO NOT EDIT! /* Package types is a generated protocol buffer package. @@ -38,6 +37,7 @@ It has these top-level messages: BlockID PartSetHeader Validator + KVPair */ package types @@ -1297,9 +1297,10 @@ func (m *ResponseSetOption) GetLog() string { } type ResponseDeliverTx struct { - Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"` + Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"` + Tags []*KVPair `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"` } func (m *ResponseDeliverTx) Reset() { *m = ResponseDeliverTx{} } @@ -1328,10 +1329,18 @@ func (m *ResponseDeliverTx) GetLog() string { return "" } +func (m *ResponseDeliverTx) GetTags() []*KVPair { + if m != nil { + return m.Tags + } + return nil +} + type ResponseCheckTx struct { - Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"` + Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Log string `protobuf:"bytes,3,opt,name=log" json:"log,omitempty"` + Tags []*KVPair `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"` } func (m *ResponseCheckTx) Reset() { *m = ResponseCheckTx{} } @@ -1360,6 +1369,13 @@ func (m *ResponseCheckTx) GetLog() string { return "" } +func (m *ResponseCheckTx) GetTags() []*KVPair { + if m != nil { + return m.Tags + } + return nil +} + type ResponseQuery struct { Code CodeType `protobuf:"varint,1,opt,name=code,enum=types.CodeType" json:"code,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"` @@ -1640,6 +1656,38 @@ func (m *Validator) GetPower() uint64 { return 0 } +type KVPair struct { + Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` + ValueString string `protobuf:"bytes,2,opt,name=value_string,json=valueString" json:"value_string,omitempty"` + ValueInt int64 `protobuf:"varint,3,opt,name=value_int,json=valueInt" json:"value_int,omitempty"` +} + +func (m *KVPair) Reset() { *m = KVPair{} } +func (m *KVPair) String() string { return proto.CompactTextString(m) } +func (*KVPair) ProtoMessage() {} +func (*KVPair) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{29} } + +func (m *KVPair) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *KVPair) GetValueString() string { + if m != nil { + return m.ValueString + } + return "" +} + +func (m *KVPair) GetValueInt() int64 { + if m != nil { + return m.ValueInt + } + return 0 +} + func init() { proto.RegisterType((*Request)(nil), "types.Request") proto.RegisterType((*RequestEcho)(nil), "types.RequestEcho") @@ -1670,6 +1718,7 @@ func init() { proto.RegisterType((*BlockID)(nil), "types.BlockID") proto.RegisterType((*PartSetHeader)(nil), "types.PartSetHeader") proto.RegisterType((*Validator)(nil), "types.Validator") + proto.RegisterType((*KVPair)(nil), "types.KVPair") proto.RegisterEnum("types.CodeType", CodeType_name, CodeType_value) } @@ -2078,107 +2127,111 @@ var _ABCIApplication_serviceDesc = grpc.ServiceDesc{ func init() { proto.RegisterFile("types/types.proto", fileDescriptor0) } var fileDescriptor0 = []byte{ - // 1625 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x59, 0x6f, 0xdb, 0xc6, - 0x16, 0x36, 0xb5, 0xeb, 0xd8, 0x96, 0xe9, 0xb1, 0x6c, 0xcb, 0xba, 0xf7, 0x21, 0xe0, 0x45, 0x6e, - 0xec, 0xdc, 0xdc, 0xa4, 0x70, 0x90, 0x22, 0x6e, 0x8a, 0x02, 0xde, 0x62, 0x0b, 0x41, 0x13, 0x97, - 0x59, 0x5e, 0x5a, 0x54, 0xa0, 0xc9, 0x91, 0xc4, 0x5a, 0x9a, 0x61, 0xc8, 0xa1, 0x23, 0xf7, 0x37, - 0xe4, 0xbd, 0x3f, 0xa1, 0xef, 0x05, 0xfa, 0x17, 0x0a, 0x74, 0x5f, 0x7e, 0x51, 0x31, 0x0b, 0x57, - 0x93, 0x41, 0x1f, 0xf2, 0x22, 0xf0, 0x6c, 0x33, 0x73, 0xce, 0x9c, 0xf3, 0x9d, 0x33, 0x82, 0x55, - 0x76, 0xe5, 0xe1, 0xe0, 0x9e, 0xf8, 0xbd, 0xeb, 0xf9, 0x94, 0x51, 0x54, 0x17, 0x84, 0xf1, 0x43, - 0x0d, 0x9a, 0x26, 0x7e, 0x1d, 0xe2, 0x80, 0xa1, 0x6d, 0xa8, 0x61, 0x7b, 0x42, 0x7b, 0xda, 0x0d, - 0x6d, 0x7b, 0x71, 0x17, 0xdd, 0x95, 0xea, 0x4a, 0x7a, 0x6c, 0x4f, 0xe8, 0xe9, 0x82, 0x29, 0x34, - 0xd0, 0xff, 0xa0, 0x3e, 0x9a, 0x86, 0xc1, 0xa4, 0x57, 0x11, 0xaa, 0x6b, 0x59, 0xd5, 0xc7, 0x5c, -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x00, 0x86, 0x25, 0x53, 0x12, 0x29, 0x58, - 0x6c, 0x64, 0xe0, 0x5f, 0x1d, 0xba, 0x99, 0x1c, 0xfa, 0x73, 0xde, 0x82, 0xd2, 0xd5, 0xf9, 0x3e, - 0x23, 0xb2, 0x96, 0xdc, 0x67, 0x5c, 0x97, 0x46, 0x17, 0xd0, 0xf5, 0x82, 0x93, 0xad, 0x36, 0x5b, - 0x4a, 0xe8, 0xbf, 0x50, 0x77, 0xdc, 0xd1, 0xa8, 0xbc, 0xd9, 0x48, 0xb1, 0xf1, 0x6d, 0x05, 0x1a, - 0xb2, 0x55, 0xa0, 0x2d, 0x0e, 0x5b, 0x96, 0x4b, 0x86, 0xae, 0x13, 0x95, 0x8b, 0xa0, 0x07, 0x4e, - 0x2a, 0x26, 0x95, 0x4c, 0x4c, 0x10, 0xd4, 0x98, 0x3b, 0xc3, 0x2a, 0xd3, 0xc5, 0x37, 0xda, 0x84, - 0x26, 0x09, 0x67, 0x43, 0x36, 0x0f, 0x44, 0xb4, 0x6b, 0x66, 0x83, 0x84, 0xb3, 0x17, 0xf3, 0x00, - 0xed, 0xc2, 0x72, 0x2a, 0xef, 0x5d, 0x47, 0xe1, 0x71, 0x47, 0x1d, 0x4d, 0x9c, 0x7b, 0x70, 0x64, - 0x2e, 0xc6, 0x15, 0x30, 0x70, 0xd0, 0x36, 0x88, 0x82, 0x18, 0x4a, 0xcc, 0x93, 0x85, 0xd2, 0x10, - 0x71, 0xeb, 0x70, 0xbe, 0x02, 0x45, 0xde, 0x07, 0xff, 0x05, 0x6d, 0x1e, 0x49, 0xa9, 0xd2, 0x14, - 0x2a, 0x2d, 0xce, 0x10, 0xc2, 0x5b, 0xb0, 0x92, 0xf4, 0x56, 0xa9, 0xd2, 0x92, 0xab, 0x24, 0x6c, - 0xa1, 0xb8, 0x05, 0xad, 0xb8, 0x20, 0xdb, 0x42, 0xa3, 0x69, 0xa9, 0x3a, 0x1c, 0x40, 0x53, 0x1d, - 0xb1, 0xb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 0xa5, 0xad, 0xa6, 0x11, 0x00, 0x00, + // 1691 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x49, 0x6f, 0x1b, 0xc9, + 0x15, 0x56, 0x73, 0xe7, 0x13, 0x45, 0xb5, 0x4a, 0x94, 0x44, 0x31, 0x39, 0xd8, 0x1d, 0x38, 0x96, + 0x1c, 0xc7, 0x0e, 0x64, 0x38, 0xb0, 0xe2, 0x20, 0x80, 0x36, 0x4b, 0x84, 0x11, 0x5b, 0x69, 0x2f, + 0x87, 0xe4, 0x40, 0xb4, 0xd8, 0x45, 0xb2, 0x22, 0xb2, 0xaa, 0xdd, 0x5d, 0x2d, 0x53, 0xb9, 0x04, + 0xb9, 0xfb, 0x9e, 0x9f, 0x30, 0xf7, 0x01, 0xe6, 0x2f, 0x0c, 0x30, 0xfb, 0xf2, 0x8b, 0x06, 0xb5, + 0xf4, 0xaa, 0xa6, 0x31, 0x87, 0xc1, 0x5c, 0x88, 0x7e, 0x5b, 0x55, 0xbd, 0x57, 0xef, 0x7d, 0xef, + 0x15, 0x61, 0x8d, 0x5f, 0x7b, 0x38, 0x78, 0x28, 0x7f, 0x1f, 0x78, 0x3e, 0xe3, 0x0c, 0x55, 0x25, + 0x61, 0x7d, 0x5e, 0x81, 0xba, 0x8d, 0xdf, 0x85, 0x38, 0xe0, 0x68, 0x07, 0x2a, 0x78, 0x38, 0x61, + 0x5d, 0xe3, 0x96, 0xb1, 0xb3, 0xbc, 0x87, 0x1e, 0x28, 0x75, 0x2d, 0x3d, 0x19, 0x4e, 0xd8, 0xd9, + 0x92, 0x2d, 0x35, 0xd0, 0x1f, 0xa0, 0x3a, 0x9a, 0x86, 0xc1, 0xa4, 0x5b, 0x92, 0xaa, 0xeb, 0x59, + 0xd5, 0x67, 0x42, 0x74, 0xb6, 0x64, 0x2b, 0x1d, 0xb1, 0x2c, 0xa1, 0x23, 0xd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6, 0xfa, 0x34, 0x08, 0x47, 0x23, 0x32, 0x24, 0x98, 0xf2, 0x67, 0x21, + 0x75, 0x03, 0xb3, 0x8a, 0x10, 0xb4, 0xdf, 0xd0, 0x4b, 0xca, 0xde, 0x53, 0x3d, 0x1e, 0x99, 0x35, + 0xd4, 0x85, 0xce, 0xa1, 0x13, 0xe0, 0xe3, 0xd0, 0x9b, 0x92, 0xa1, 0xc3, 0xf1, 0x81, 0xeb, 0xfa, + 0x38, 0x08, 0x4c, 0x2c, 0x16, 0x11, 0x92, 0xec, 0xde, 0xa3, 0xc8, 0x20, 0xb3, 0x3e, 0xc6, 0x81, + 0x39, 0x46, 0xdb, 0xb0, 0x71, 0x43, 0x22, 0x77, 0x9e, 0xa0, 0xdf, 0x42, 0x37, 0x2f, 0x3a, 0x75, + 0x82, 0x73, 0x9f, 0x0c, 0xb1, 0x49, 0x50, 0x07, 0x4c, 0x25, 0x95, 0x99, 0xd5, 0xa7, 0x5e, 0xc8, + 0xcd, 0x7f, 0x47, 0xfb, 0x6b, 0xee, 0xcb, 0x90, 0x0b, 0xf6, 0x65, 0x8e, 0x7d, 0x2e, 0x6f, 0xcf, + 0x9c, 0xa2, 0x2d, 0x58, 0x4f, 0xb1, 0x5f, 0x09, 0xff, 0x44, 0x74, 0x66, 0xc9, 0x79, 0x95, 0x80, + 0x8c, 0xa9, 0xc3, 0x43, 0x1f, 0x9b, 0x14, 0x6d, 0x02, 0x12, 0x12, 0x1d, 0x92, 0xc8, 0x71, 0x16, + 0xed, 0xa0, 0xf9, 0x7a, 0x07, 0x2f, 0xcf, 0x9e, 0x86, 0x63, 0x42, 0xcd, 0x77, 0x68, 0x03, 0xcc, + 0x53, 0x76, 0xa5, 0xb9, 0x27, 0x94, 0x13, 0x7e, 0x6d, 0x7e, 0x61, 0xa0, 0x0e, 0xac, 0x26, 0xec, + 0x53, 0x9f, 0x85, 0x9e, 0xf9, 0xa5, 0x81, 0xb6, 0x00, 0x25, 0xdc, 0x73, 0x9f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x64, 0x0b, 0x27, 0x93, 0xb7, 0xdb, 0xa2, 0xd7, 0x7c, 0x6f, 0xe1, 0xf8, 0x8c, 0x0e, + 0x00, 0x52, 0xaf, 0xb6, 0x85, 0x6f, 0xfa, 0xde, 0xe2, 0x21, 0x1a, 0x3d, 0x85, 0x46, 0xf2, 0x50, + 0x2b, 0x7e, 0xd9, 0xf7, 0x16, 0xcd, 0xd1, 0x17, 0x35, 0xf9, 0xa7, 0xd1, 0xa3, 0x9f, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x37, 0x8d, 0xa7, 0x8f, 0x49, 0x12, 0x00, 0x00, } diff --git a/types/types.proto b/types/types.proto index 802d8fc5c..6d19a8ed4 100644 --- a/types/types.proto +++ b/types/types.proto @@ -156,15 +156,17 @@ message ResponseSetOption{ } message ResponseDeliverTx{ - CodeType code = 1; - bytes data = 2; - string log = 3; + CodeType code = 1; + bytes data = 2; + string log = 3; + repeated KVPair tags = 4; } message ResponseCheckTx{ CodeType code = 1; bytes data = 2; string log = 3; + repeated KVPair tags = 4; } message ResponseQuery{ @@ -224,6 +226,15 @@ message Validator { uint64 power = 2; } +//---------------------------------------- +// Abstract types + +message KVPair { + string key = 1; + string value_string = 2; + int64 value_int = 3; +} + //---------------------------------------- // Service Definition