|
|
|
@ -7,10 +7,11 @@ |
|
|
|
|
package message |
|
|
|
|
|
|
|
|
|
import ( |
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
|
|
|
|
reflect "reflect" |
|
|
|
|
sync "sync" |
|
|
|
|
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
const ( |
|
|
|
@ -113,6 +114,8 @@ type Request struct { |
|
|
|
|
// *Request_GetBlockHashesRequest
|
|
|
|
|
// *Request_GetBlocksByNumRequest
|
|
|
|
|
// *Request_GetBlocksByHashesRequest
|
|
|
|
|
// *Request_GetNodeDataRequest
|
|
|
|
|
// *Request_GetReceiptsRequest
|
|
|
|
|
Request isRequest_Request `protobuf_oneof:"request"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -190,6 +193,20 @@ func (x *Request) GetGetBlocksByHashesRequest() *GetBlocksByHashesRequest { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Request) GetGetNodeDataRequest() *GetNodeDataRequest { |
|
|
|
|
if x, ok := x.GetRequest().(*Request_GetNodeDataRequest); ok { |
|
|
|
|
return x.GetNodeDataRequest |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Request) GetGetReceiptsRequest() *GetReceiptsRequest { |
|
|
|
|
if x, ok := x.GetRequest().(*Request_GetReceiptsRequest); ok { |
|
|
|
|
return x.GetReceiptsRequest |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type isRequest_Request interface { |
|
|
|
|
isRequest_Request() |
|
|
|
|
} |
|
|
|
@ -210,6 +227,14 @@ type Request_GetBlocksByHashesRequest struct { |
|
|
|
|
GetBlocksByHashesRequest *GetBlocksByHashesRequest `protobuf:"bytes,5,opt,name=get_blocks_by_hashes_request,json=getBlocksByHashesRequest,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Request_GetNodeDataRequest struct { |
|
|
|
|
GetNodeDataRequest *GetNodeDataRequest `protobuf:"bytes,6,opt,name=get_node_data_request,json=getNodeDataRequest,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Request_GetReceiptsRequest struct { |
|
|
|
|
GetReceiptsRequest *GetReceiptsRequest `protobuf:"bytes,7,opt,name=get_receipts_request,json=getReceiptsRequest,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*Request_GetBlockNumberRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
func (*Request_GetBlockHashesRequest) isRequest_Request() {} |
|
|
|
@ -218,6 +243,10 @@ func (*Request_GetBlocksByNumRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
func (*Request_GetBlocksByHashesRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
func (*Request_GetNodeDataRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
func (*Request_GetReceiptsRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
type GetBlockNumberRequest struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
@ -397,6 +426,100 @@ func (x *GetBlocksByHashesRequest) GetBlockHashes() [][]byte { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type GetNodeDataRequest struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
NodeHashes [][]byte `protobuf:"bytes,1,rep,name=node_hashes,json=nodeHashes,proto3" json:"node_hashes,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetNodeDataRequest) Reset() { |
|
|
|
|
*x = GetNodeDataRequest{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[6] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetNodeDataRequest) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*GetNodeDataRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetNodeDataRequest) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[6] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
return ms |
|
|
|
|
} |
|
|
|
|
return mi.MessageOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetNodeDataRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetNodeDataRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{6} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetNodeDataRequest) GetNodeHashes() [][]byte { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.NodeHashes |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type GetReceiptsRequest struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
BlockHashes [][]byte `protobuf:"bytes,1,rep,name=block_hashes,json=blockHashes,proto3" json:"block_hashes,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetReceiptsRequest) Reset() { |
|
|
|
|
*x = GetReceiptsRequest{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[7] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetReceiptsRequest) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*GetReceiptsRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetReceiptsRequest) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[7] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
return ms |
|
|
|
|
} |
|
|
|
|
return mi.MessageOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetReceiptsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetReceiptsRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{7} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetReceiptsRequest) GetBlockHashes() [][]byte { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.BlockHashes |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Response struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
@ -410,13 +533,15 @@ type Response struct { |
|
|
|
|
// *Response_GetBlockHashesResponse
|
|
|
|
|
// *Response_GetBlocksByNumResponse
|
|
|
|
|
// *Response_GetBlocksByHashesResponse
|
|
|
|
|
// *Response_GetNodeDataResponse
|
|
|
|
|
// *Response_GetReceiptsResponse
|
|
|
|
|
Response isResponse_Response `protobuf_oneof:"response"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Response) Reset() { |
|
|
|
|
*x = Response{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[6] |
|
|
|
|
mi := &file_msg_proto_msgTypes[8] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -429,7 +554,7 @@ func (x *Response) String() string { |
|
|
|
|
func (*Response) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[6] |
|
|
|
|
mi := &file_msg_proto_msgTypes[8] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -442,7 +567,7 @@ func (x *Response) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Response) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{6} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{8} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Response) GetReqId() uint64 { |
|
|
|
@ -494,6 +619,20 @@ func (x *Response) GetGetBlocksByHashesResponse() *GetBlocksByHashesResponse { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Response) GetGetNodeDataResponse() *GetNodeDataResponse { |
|
|
|
|
if x, ok := x.GetResponse().(*Response_GetNodeDataResponse); ok { |
|
|
|
|
return x.GetNodeDataResponse |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Response) GetGetReceiptsResponse() *GetReceiptsResponse { |
|
|
|
|
if x, ok := x.GetResponse().(*Response_GetReceiptsResponse); ok { |
|
|
|
|
return x.GetReceiptsResponse |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type isResponse_Response interface { |
|
|
|
|
isResponse_Response() |
|
|
|
|
} |
|
|
|
@ -518,6 +657,14 @@ type Response_GetBlocksByHashesResponse struct { |
|
|
|
|
GetBlocksByHashesResponse *GetBlocksByHashesResponse `protobuf:"bytes,6,opt,name=get_blocks_by_hashes_response,json=getBlocksByHashesResponse,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Response_GetNodeDataResponse struct { |
|
|
|
|
GetNodeDataResponse *GetNodeDataResponse `protobuf:"bytes,7,opt,name=get_node_data_response,json=getNodeDataResponse,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Response_GetReceiptsResponse struct { |
|
|
|
|
GetReceiptsResponse *GetReceiptsResponse `protobuf:"bytes,8,opt,name=get_receipts_response,json=getReceiptsResponse,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*Response_ErrorResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
func (*Response_GetBlockNumberResponse) isResponse_Response() {} |
|
|
|
@ -528,6 +675,10 @@ func (*Response_GetBlocksByNumResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
func (*Response_GetBlocksByHashesResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
func (*Response_GetNodeDataResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
func (*Response_GetReceiptsResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
type ErrorResponse struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
@ -539,7 +690,7 @@ type ErrorResponse struct { |
|
|
|
|
func (x *ErrorResponse) Reset() { |
|
|
|
|
*x = ErrorResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[7] |
|
|
|
|
mi := &file_msg_proto_msgTypes[9] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -552,7 +703,7 @@ func (x *ErrorResponse) String() string { |
|
|
|
|
func (*ErrorResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ErrorResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[7] |
|
|
|
|
mi := &file_msg_proto_msgTypes[9] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -565,7 +716,7 @@ func (x *ErrorResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ErrorResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{7} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{9} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ErrorResponse) GetError() string { |
|
|
|
@ -586,7 +737,7 @@ type GetBlockNumberResponse struct { |
|
|
|
|
func (x *GetBlockNumberResponse) Reset() { |
|
|
|
|
*x = GetBlockNumberResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[8] |
|
|
|
|
mi := &file_msg_proto_msgTypes[10] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -599,7 +750,7 @@ func (x *GetBlockNumberResponse) String() string { |
|
|
|
|
func (*GetBlockNumberResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetBlockNumberResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[8] |
|
|
|
|
mi := &file_msg_proto_msgTypes[10] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -612,7 +763,7 @@ func (x *GetBlockNumberResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBlockNumberResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBlockNumberResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{8} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{10} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetBlockNumberResponse) GetNumber() uint64 { |
|
|
|
@ -633,7 +784,7 @@ type GetBlockHashesResponse struct { |
|
|
|
|
func (x *GetBlockHashesResponse) Reset() { |
|
|
|
|
*x = GetBlockHashesResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[9] |
|
|
|
|
mi := &file_msg_proto_msgTypes[11] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -646,7 +797,7 @@ func (x *GetBlockHashesResponse) String() string { |
|
|
|
|
func (*GetBlockHashesResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetBlockHashesResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[9] |
|
|
|
|
mi := &file_msg_proto_msgTypes[11] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -659,7 +810,7 @@ func (x *GetBlockHashesResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBlockHashesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBlockHashesResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{9} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{11} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetBlockHashesResponse) GetHashes() [][]byte { |
|
|
|
@ -681,7 +832,7 @@ type GetBlocksByNumResponse struct { |
|
|
|
|
func (x *GetBlocksByNumResponse) Reset() { |
|
|
|
|
*x = GetBlocksByNumResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[10] |
|
|
|
|
mi := &file_msg_proto_msgTypes[12] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -694,7 +845,7 @@ func (x *GetBlocksByNumResponse) String() string { |
|
|
|
|
func (*GetBlocksByNumResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetBlocksByNumResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[10] |
|
|
|
|
mi := &file_msg_proto_msgTypes[12] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -707,7 +858,7 @@ func (x *GetBlocksByNumResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBlocksByNumResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBlocksByNumResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{10} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{12} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetBlocksByNumResponse) GetBlocksBytes() [][]byte { |
|
|
|
@ -736,7 +887,7 @@ type GetBlocksByHashesResponse struct { |
|
|
|
|
func (x *GetBlocksByHashesResponse) Reset() { |
|
|
|
|
*x = GetBlocksByHashesResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[11] |
|
|
|
|
mi := &file_msg_proto_msgTypes[13] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -749,7 +900,7 @@ func (x *GetBlocksByHashesResponse) String() string { |
|
|
|
|
func (*GetBlocksByHashesResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetBlocksByHashesResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[11] |
|
|
|
|
mi := &file_msg_proto_msgTypes[13] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -762,7 +913,7 @@ func (x *GetBlocksByHashesResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBlocksByHashesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBlocksByHashesResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{11} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{13} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetBlocksByHashesResponse) GetBlocksBytes() [][]byte { |
|
|
|
@ -779,6 +930,100 @@ func (x *GetBlocksByHashesResponse) GetCommitSig() [][]byte { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type GetNodeDataResponse struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
DataBytes [][]byte `protobuf:"bytes,1,rep,name=data_bytes,json=dataBytes,proto3" json:"data_bytes,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetNodeDataResponse) Reset() { |
|
|
|
|
*x = GetNodeDataResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[14] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetNodeDataResponse) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*GetNodeDataResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetNodeDataResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[14] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
return ms |
|
|
|
|
} |
|
|
|
|
return mi.MessageOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetNodeDataResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetNodeDataResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{14} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetNodeDataResponse) GetDataBytes() [][]byte { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.DataBytes |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type GetReceiptsResponse struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
ReceiptsBytes [][]byte `protobuf:"bytes,1,rep,name=receipts_bytes,json=receiptsBytes,proto3" json:"receipts_bytes,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetReceiptsResponse) Reset() { |
|
|
|
|
*x = GetReceiptsResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[15] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetReceiptsResponse) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*GetReceiptsResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetReceiptsResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[15] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
return ms |
|
|
|
|
} |
|
|
|
|
return mi.MessageOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetReceiptsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetReceiptsResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{15} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetReceiptsResponse) GetReceiptsBytes() [][]byte { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.ReceiptsBytes |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var File_msg_proto protoreflect.FileDescriptor |
|
|
|
|
|
|
|
|
|
var file_msg_proto_rawDesc = []byte{ |
|
|
|
@ -793,7 +1038,7 @@ var file_msg_proto_rawDesc = []byte{ |
|
|
|
|
0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, |
|
|
|
|
0x6e, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, |
|
|
|
|
0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x04, 0x72, 0x65, 0x73, 0x70, 0x42, 0x0d, 0x0a, 0x0b, 0x72, |
|
|
|
|
0x65, 0x71, 0x5f, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x22, 0xf2, 0x03, 0x0a, 0x07, 0x52, |
|
|
|
|
0x65, 0x71, 0x5f, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x22, 0xbd, 0x05, 0x0a, 0x07, 0x52, |
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x65, 0x71, 0x5f, 0x69, 0x64, |
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x72, 0x65, 0x71, 0x49, 0x64, 0x12, 0x6d, 0x0a, |
|
|
|
|
0x18, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, |
|
|
|
@ -824,77 +1069,117 @@ var file_msg_proto_rawDesc = []byte{ |
|
|
|
|
0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, |
|
|
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x18, 0x67, 0x65, 0x74, 0x42, |
|
|
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, |
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, |
|
|
|
|
0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, |
|
|
|
|
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2f, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x42, |
|
|
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
|
|
|
|
0x74, 0x12, 0x16, 0x0a, 0x04, 0x6e, 0x75, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, |
|
|
|
|
0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x75, 0x6d, 0x73, 0x22, 0x2f, 0x0a, 0x15, 0x47, 0x65, 0x74, |
|
|
|
|
0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, |
|
|
|
|
0x73, 0x74, 0x12, 0x16, 0x0a, 0x04, 0x6e, 0x75, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, |
|
|
|
|
0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x75, 0x6d, 0x73, 0x22, 0x3d, 0x0a, 0x18, 0x47, 0x65, |
|
|
|
|
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, |
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, |
|
|
|
|
0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x6c, |
|
|
|
|
0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0xd5, 0x04, 0x0a, 0x08, 0x52, 0x65, |
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x65, 0x71, 0x5f, 0x69, 0x64, |
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x72, 0x65, 0x71, 0x49, 0x64, 0x12, 0x53, 0x0a, |
|
|
|
|
0x0e, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, |
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, |
|
|
|
|
0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, |
|
|
|
|
0x61, 0x67, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
|
|
|
|
0x65, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
|
|
|
|
0x73, 0x65, 0x12, 0x70, 0x0a, 0x19, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, |
|
|
|
|
0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, |
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, |
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x64, 0x0a, 0x15, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, |
|
|
|
|
0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, |
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, |
|
|
|
|
0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
|
|
|
|
0x65, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, |
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x12, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x44, |
|
|
|
|
0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x63, 0x0a, 0x14, 0x67, 0x65, |
|
|
|
|
0x74, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, |
|
|
|
|
0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, |
|
|
|
|
0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, |
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, |
|
|
|
|
0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x12, 0x67, 0x65, 0x74, |
|
|
|
|
0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, |
|
|
|
|
0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, |
|
|
|
|
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, |
|
|
|
|
0x65, 0x73, 0x74, 0x22, 0x2f, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, |
|
|
|
|
0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x04, |
|
|
|
|
0x6e, 0x75, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, |
|
|
|
|
0x6e, 0x75, 0x6d, 0x73, 0x22, 0x2f, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, |
|
|
|
|
0x73, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, |
|
|
|
|
0x04, 0x6e, 0x75, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x42, 0x02, 0x10, 0x01, 0x52, |
|
|
|
|
0x04, 0x6e, 0x75, 0x6d, 0x73, 0x22, 0x3d, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, |
|
|
|
|
0x6b, 0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
|
|
|
|
0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, |
|
|
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, |
|
|
|
|
0x73, 0x68, 0x65, 0x73, 0x22, 0x35, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x44, |
|
|
|
|
0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, |
|
|
|
|
0x64, 0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, |
|
|
|
|
0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0x37, 0x0a, 0x12, 0x47, |
|
|
|
|
0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
|
|
|
|
0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, |
|
|
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, |
|
|
|
|
0x73, 0x68, 0x65, 0x73, 0x22, 0xa6, 0x06, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
|
|
|
|
0x65, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x65, 0x71, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
|
|
|
|
0x04, 0x52, 0x05, 0x72, 0x65, 0x71, 0x49, 0x64, 0x12, 0x53, 0x0a, 0x0e, 0x65, 0x72, 0x72, 0x6f, |
|
|
|
|
0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
|
|
|
|
0x32, 0x2a, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, |
|
|
|
|
0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x45, |
|
|
|
|
0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0d, |
|
|
|
|
0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, |
|
|
|
|
0x19, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, |
|
|
|
|
0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
|
|
|
|
0x32, 0x33, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, |
|
|
|
|
0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, |
|
|
|
|
0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, |
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x16, 0x67, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, |
|
|
|
|
0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, |
|
|
|
|
0x70, 0x0a, 0x19, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, |
|
|
|
|
0x68, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, |
|
|
|
|
0x28, 0x0b, 0x32, 0x33, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, |
|
|
|
|
0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
|
|
|
|
0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, |
|
|
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x16, 0x67, 0x65, 0x74, 0x42, 0x6c, |
|
|
|
|
0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
|
|
|
|
0x65, 0x12, 0x71, 0x0a, 0x1a, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, |
|
|
|
|
0x62, 0x79, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, |
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, |
|
|
|
|
0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, |
|
|
|
|
0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, |
|
|
|
|
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x16, 0x67, 0x65, |
|
|
|
|
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, |
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x19, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, |
|
|
|
|
0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
|
|
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, |
|
|
|
|
0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, 0x65, |
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, |
|
|
|
|
0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x16, |
|
|
|
|
0x67, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, |
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x1a, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x6c, |
|
|
|
|
0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x73, 0x70, |
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x68, 0x61, 0x72, |
|
|
|
|
0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, |
|
|
|
|
0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, |
|
|
|
|
0x6b, 0x73, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, |
|
|
|
|
0x00, 0x52, 0x16, 0x67, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x4e, 0x75, |
|
|
|
|
0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x1d, 0x67, 0x65, 0x74, |
|
|
|
|
0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, |
|
|
|
|
0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, |
|
|
|
|
0x32, 0x36, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, |
|
|
|
|
0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x4e, |
|
|
|
|
0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x16, 0x67, 0x65, |
|
|
|
|
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, |
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7a, 0x0a, 0x1d, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, |
|
|
|
|
0x6b, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, |
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x68, 0x61, |
|
|
|
|
0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, |
|
|
|
|
0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, |
|
|
|
|
0x63, 0x6b, 0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
|
|
|
|
0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x19, 0x67, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, |
|
|
|
|
0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
|
|
|
|
0x12, 0x67, 0x0a, 0x16, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x64, 0x61, 0x74, |
|
|
|
|
0x61, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, |
|
|
|
|
0x32, 0x30, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, |
|
|
|
|
0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, |
|
|
|
|
0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, |
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x19, 0x67, 0x65, 0x74, 0x42, |
|
|
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, |
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
|
|
|
|
0x65, 0x22, 0x25, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
|
|
|
|
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, |
|
|
|
|
0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x30, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, |
|
|
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
|
|
|
|
0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, |
|
|
|
|
0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x16, 0x47, 0x65, |
|
|
|
|
0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, |
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x01, |
|
|
|
|
0x20, 0x03, 0x28, 0x0c, 0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0x5a, 0x0a, 0x16, |
|
|
|
|
0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x52, 0x65, |
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, |
|
|
|
|
0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x6c, |
|
|
|
|
0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, |
|
|
|
|
0x6d, 0x69, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x63, |
|
|
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x22, 0x5d, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x42, |
|
|
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, |
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, |
|
|
|
|
0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x6c, 0x6f, |
|
|
|
|
0x63, 0x6b, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, |
|
|
|
|
0x69, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6f, |
|
|
|
|
0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x6d, 0x65, |
|
|
|
|
0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
|
|
|
|
0x73, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x61, 0x74, |
|
|
|
|
0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x66, 0x0a, 0x15, 0x67, 0x65, 0x74, |
|
|
|
|
0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
|
|
|
|
0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, |
|
|
|
|
0x6e, 0x79, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x73, 0x79, 0x6e, 0x63, 0x2e, 0x6d, |
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, |
|
|
|
|
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x13, 0x67, 0x65, |
|
|
|
|
0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
|
|
|
|
0x65, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x0a, |
|
|
|
|
0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, |
|
|
|
|
0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, |
|
|
|
|
0x72, 0x72, 0x6f, 0x72, 0x22, 0x30, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, |
|
|
|
|
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, |
|
|
|
|
0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, |
|
|
|
|
0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x30, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, |
|
|
|
|
0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, |
|
|
|
|
0x52, 0x06, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x22, 0x5a, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x42, |
|
|
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, 0x79, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
|
|
|
|
0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x62, 0x79, 0x74, |
|
|
|
|
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, |
|
|
|
|
0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, |
|
|
|
|
0x73, 0x69, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, |
|
|
|
|
0x74, 0x53, 0x69, 0x67, 0x22, 0x5d, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, |
|
|
|
|
0x73, 0x42, 0x79, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
|
|
|
|
0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, |
|
|
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x42, |
|
|
|
|
0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x73, |
|
|
|
|
0x69, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, |
|
|
|
|
0x53, 0x69, 0x67, 0x22, 0x34, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x44, 0x61, |
|
|
|
|
0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, |
|
|
|
|
0x74, 0x61, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, |
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x3c, 0x0a, 0x13, 0x47, 0x65, 0x74, |
|
|
|
|
0x52, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
|
|
|
|
0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, 0x74, 0x73, 0x5f, 0x62, 0x79, 0x74, |
|
|
|
|
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x65, 0x69, 0x70, |
|
|
|
|
0x74, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x6d, 0x65, |
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -910,7 +1195,7 @@ func file_msg_proto_rawDescGZIP() []byte { |
|
|
|
|
return file_msg_proto_rawDescData |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var file_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 12) |
|
|
|
|
var file_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 16) |
|
|
|
|
var file_msg_proto_goTypes = []interface{}{ |
|
|
|
|
(*Message)(nil), // 0: harmony.stream.sync.message.Message
|
|
|
|
|
(*Request)(nil), // 1: harmony.stream.sync.message.Request
|
|
|
|
@ -918,30 +1203,38 @@ var file_msg_proto_goTypes = []interface{}{ |
|
|
|
|
(*GetBlockHashesRequest)(nil), // 3: harmony.stream.sync.message.GetBlockHashesRequest
|
|
|
|
|
(*GetBlocksByNumRequest)(nil), // 4: harmony.stream.sync.message.GetBlocksByNumRequest
|
|
|
|
|
(*GetBlocksByHashesRequest)(nil), // 5: harmony.stream.sync.message.GetBlocksByHashesRequest
|
|
|
|
|
(*Response)(nil), // 6: harmony.stream.sync.message.Response
|
|
|
|
|
(*ErrorResponse)(nil), // 7: harmony.stream.sync.message.ErrorResponse
|
|
|
|
|
(*GetBlockNumberResponse)(nil), // 8: harmony.stream.sync.message.GetBlockNumberResponse
|
|
|
|
|
(*GetBlockHashesResponse)(nil), // 9: harmony.stream.sync.message.GetBlockHashesResponse
|
|
|
|
|
(*GetBlocksByNumResponse)(nil), // 10: harmony.stream.sync.message.GetBlocksByNumResponse
|
|
|
|
|
(*GetBlocksByHashesResponse)(nil), // 11: harmony.stream.sync.message.GetBlocksByHashesResponse
|
|
|
|
|
(*GetNodeDataRequest)(nil), // 6: harmony.stream.sync.message.GetNodeDataRequest
|
|
|
|
|
(*GetReceiptsRequest)(nil), // 7: harmony.stream.sync.message.GetReceiptsRequest
|
|
|
|
|
(*Response)(nil), // 8: harmony.stream.sync.message.Response
|
|
|
|
|
(*ErrorResponse)(nil), // 9: harmony.stream.sync.message.ErrorResponse
|
|
|
|
|
(*GetBlockNumberResponse)(nil), // 10: harmony.stream.sync.message.GetBlockNumberResponse
|
|
|
|
|
(*GetBlockHashesResponse)(nil), // 11: harmony.stream.sync.message.GetBlockHashesResponse
|
|
|
|
|
(*GetBlocksByNumResponse)(nil), // 12: harmony.stream.sync.message.GetBlocksByNumResponse
|
|
|
|
|
(*GetBlocksByHashesResponse)(nil), // 13: harmony.stream.sync.message.GetBlocksByHashesResponse
|
|
|
|
|
(*GetNodeDataResponse)(nil), // 14: harmony.stream.sync.message.GetNodeDataResponse
|
|
|
|
|
(*GetReceiptsResponse)(nil), // 15: harmony.stream.sync.message.GetReceiptsResponse
|
|
|
|
|
} |
|
|
|
|
var file_msg_proto_depIdxs = []int32{ |
|
|
|
|
1, // 0: harmony.stream.sync.message.Message.req:type_name -> harmony.stream.sync.message.Request
|
|
|
|
|
6, // 1: harmony.stream.sync.message.Message.resp:type_name -> harmony.stream.sync.message.Response
|
|
|
|
|
8, // 1: harmony.stream.sync.message.Message.resp:type_name -> harmony.stream.sync.message.Response
|
|
|
|
|
2, // 2: harmony.stream.sync.message.Request.get_block_number_request:type_name -> harmony.stream.sync.message.GetBlockNumberRequest
|
|
|
|
|
3, // 3: harmony.stream.sync.message.Request.get_block_hashes_request:type_name -> harmony.stream.sync.message.GetBlockHashesRequest
|
|
|
|
|
4, // 4: harmony.stream.sync.message.Request.get_blocks_by_num_request:type_name -> harmony.stream.sync.message.GetBlocksByNumRequest
|
|
|
|
|
5, // 5: harmony.stream.sync.message.Request.get_blocks_by_hashes_request:type_name -> harmony.stream.sync.message.GetBlocksByHashesRequest
|
|
|
|
|
7, // 6: harmony.stream.sync.message.Response.error_response:type_name -> harmony.stream.sync.message.ErrorResponse
|
|
|
|
|
8, // 7: harmony.stream.sync.message.Response.get_block_number_response:type_name -> harmony.stream.sync.message.GetBlockNumberResponse
|
|
|
|
|
9, // 8: harmony.stream.sync.message.Response.get_block_hashes_response:type_name -> harmony.stream.sync.message.GetBlockHashesResponse
|
|
|
|
|
10, // 9: harmony.stream.sync.message.Response.get_blocks_by_num_response:type_name -> harmony.stream.sync.message.GetBlocksByNumResponse
|
|
|
|
|
11, // 10: harmony.stream.sync.message.Response.get_blocks_by_hashes_response:type_name -> harmony.stream.sync.message.GetBlocksByHashesResponse
|
|
|
|
|
11, // [11:11] is the sub-list for method output_type
|
|
|
|
|
11, // [11:11] is the sub-list for method input_type
|
|
|
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
|
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:11] is the sub-list for field type_name
|
|
|
|
|
6, // 6: harmony.stream.sync.message.Request.get_node_data_request:type_name -> harmony.stream.sync.message.GetNodeDataRequest
|
|
|
|
|
7, // 7: harmony.stream.sync.message.Request.get_receipts_request:type_name -> harmony.stream.sync.message.GetReceiptsRequest
|
|
|
|
|
9, // 8: harmony.stream.sync.message.Response.error_response:type_name -> harmony.stream.sync.message.ErrorResponse
|
|
|
|
|
10, // 9: harmony.stream.sync.message.Response.get_block_number_response:type_name -> harmony.stream.sync.message.GetBlockNumberResponse
|
|
|
|
|
11, // 10: harmony.stream.sync.message.Response.get_block_hashes_response:type_name -> harmony.stream.sync.message.GetBlockHashesResponse
|
|
|
|
|
12, // 11: harmony.stream.sync.message.Response.get_blocks_by_num_response:type_name -> harmony.stream.sync.message.GetBlocksByNumResponse
|
|
|
|
|
13, // 12: harmony.stream.sync.message.Response.get_blocks_by_hashes_response:type_name -> harmony.stream.sync.message.GetBlocksByHashesResponse
|
|
|
|
|
14, // 13: harmony.stream.sync.message.Response.get_node_data_response:type_name -> harmony.stream.sync.message.GetNodeDataResponse
|
|
|
|
|
15, // 14: harmony.stream.sync.message.Response.get_receipts_response:type_name -> harmony.stream.sync.message.GetReceiptsResponse
|
|
|
|
|
15, // [15:15] is the sub-list for method output_type
|
|
|
|
|
15, // [15:15] is the sub-list for method input_type
|
|
|
|
|
15, // [15:15] is the sub-list for extension type_name
|
|
|
|
|
15, // [15:15] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:15] is the sub-list for field type_name
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func init() { file_msg_proto_init() } |
|
|
|
@ -1023,7 +1316,7 @@ func file_msg_proto_init() { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*Response); i { |
|
|
|
|
switch v := v.(*GetNodeDataRequest); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
@ -1035,7 +1328,7 @@ func file_msg_proto_init() { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ErrorResponse); i { |
|
|
|
|
switch v := v.(*GetReceiptsRequest); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
@ -1047,7 +1340,7 @@ func file_msg_proto_init() { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlockNumberResponse); i { |
|
|
|
|
switch v := v.(*Response); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
@ -1059,7 +1352,7 @@ func file_msg_proto_init() { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlockHashesResponse); i { |
|
|
|
|
switch v := v.(*ErrorResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
@ -1071,7 +1364,7 @@ func file_msg_proto_init() { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlocksByNumResponse); i { |
|
|
|
|
switch v := v.(*GetBlockNumberResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
@ -1083,6 +1376,30 @@ func file_msg_proto_init() { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlockHashesResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlocksByNumResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlocksByHashesResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -1094,6 +1411,30 @@ func file_msg_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetNodeDataResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetReceiptsResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[0].OneofWrappers = []interface{}{ |
|
|
|
|
(*Message_Req)(nil), |
|
|
|
@ -1104,13 +1445,17 @@ func file_msg_proto_init() { |
|
|
|
|
(*Request_GetBlockHashesRequest)(nil), |
|
|
|
|
(*Request_GetBlocksByNumRequest)(nil), |
|
|
|
|
(*Request_GetBlocksByHashesRequest)(nil), |
|
|
|
|
(*Request_GetNodeDataRequest)(nil), |
|
|
|
|
(*Request_GetReceiptsRequest)(nil), |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[6].OneofWrappers = []interface{}{ |
|
|
|
|
file_msg_proto_msgTypes[8].OneofWrappers = []interface{}{ |
|
|
|
|
(*Response_ErrorResponse)(nil), |
|
|
|
|
(*Response_GetBlockNumberResponse)(nil), |
|
|
|
|
(*Response_GetBlockHashesResponse)(nil), |
|
|
|
|
(*Response_GetBlocksByNumResponse)(nil), |
|
|
|
|
(*Response_GetBlocksByHashesResponse)(nil), |
|
|
|
|
(*Response_GetNodeDataResponse)(nil), |
|
|
|
|
(*Response_GetReceiptsResponse)(nil), |
|
|
|
|
} |
|
|
|
|
type x struct{} |
|
|
|
|
out := protoimpl.TypeBuilder{ |
|
|
|
@ -1118,7 +1463,7 @@ func file_msg_proto_init() { |
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
|
|
|
|
RawDescriptor: file_msg_proto_rawDesc, |
|
|
|
|
NumEnums: 0, |
|
|
|
|
NumMessages: 12, |
|
|
|
|
NumMessages: 16, |
|
|
|
|
NumExtensions: 0, |
|
|
|
|
NumServices: 0, |
|
|
|
|
}, |
|
|
|
|