|
|
|
@ -116,7 +116,6 @@ type Request struct { |
|
|
|
|
// *Request_GetBlockHashesRequest
|
|
|
|
|
// *Request_GetBlocksByNumRequest
|
|
|
|
|
// *Request_GetBlocksByHashesRequest
|
|
|
|
|
// *Request_GetEpochStateRequest
|
|
|
|
|
Request isRequest_Request `protobuf_oneof:"request"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -194,13 +193,6 @@ func (x *Request) GetGetBlocksByHashesRequest() *GetBlocksByHashesRequest { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Request) GetGetEpochStateRequest() *GetEpochStateRequest { |
|
|
|
|
if x, ok := x.GetRequest().(*Request_GetEpochStateRequest); ok { |
|
|
|
|
return x.GetEpochStateRequest |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type isRequest_Request interface { |
|
|
|
|
isRequest_Request() |
|
|
|
|
} |
|
|
|
@ -221,10 +213,6 @@ type Request_GetBlocksByHashesRequest struct { |
|
|
|
|
GetBlocksByHashesRequest *GetBlocksByHashesRequest `protobuf:"bytes,5,opt,name=get_blocks_by_hashes_request,json=getBlocksByHashesRequest,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Request_GetEpochStateRequest struct { |
|
|
|
|
GetEpochStateRequest *GetEpochStateRequest `protobuf:"bytes,6,opt,name=get_epoch_state_request,json=getEpochStateRequest,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*Request_GetBlockNumberRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
func (*Request_GetBlockHashesRequest) isRequest_Request() {} |
|
|
|
@ -233,8 +221,6 @@ func (*Request_GetBlocksByNumRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
func (*Request_GetBlocksByHashesRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
func (*Request_GetEpochStateRequest) isRequest_Request() {} |
|
|
|
|
|
|
|
|
|
type GetBlockNumberRequest struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
@ -414,53 +400,6 @@ func (x *GetBlocksByHashesRequest) GetBlockHashes() [][]byte { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type GetEpochStateRequest struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateRequest) Reset() { |
|
|
|
|
*x = GetEpochStateRequest{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[6] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateRequest) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*GetEpochStateRequest) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateRequest) 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 GetEpochStateRequest.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetEpochStateRequest) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{6} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateRequest) GetEpoch() uint64 { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.Epoch |
|
|
|
|
} |
|
|
|
|
return 0 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Response struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
@ -473,14 +412,13 @@ type Response struct { |
|
|
|
|
// *Response_GetBlockHashesResponse
|
|
|
|
|
// *Response_GetBlocksByNumResponse
|
|
|
|
|
// *Response_GetBlocksByHashesResponse
|
|
|
|
|
// *Response_GetEpochStateResponse
|
|
|
|
|
Response isResponse_Response `protobuf_oneof:"response"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Response) Reset() { |
|
|
|
|
*x = Response{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[7] |
|
|
|
|
mi := &file_msg_proto_msgTypes[6] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -493,7 +431,7 @@ func (x *Response) String() string { |
|
|
|
|
func (*Response) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[7] |
|
|
|
|
mi := &file_msg_proto_msgTypes[6] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -506,7 +444,7 @@ func (x *Response) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Response) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{7} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{6} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Response) GetReqId() uint64 { |
|
|
|
@ -558,13 +496,6 @@ func (x *Response) GetGetBlocksByHashesResponse() *GetBlocksByHashesResponse { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *Response) GetGetEpochStateResponse() *GetEpochStateResponse { |
|
|
|
|
if x, ok := x.GetResponse().(*Response_GetEpochStateResponse); ok { |
|
|
|
|
return x.GetEpochStateResponse |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type isResponse_Response interface { |
|
|
|
|
isResponse_Response() |
|
|
|
|
} |
|
|
|
@ -589,10 +520,6 @@ type Response_GetBlocksByHashesResponse struct { |
|
|
|
|
GetBlocksByHashesResponse *GetBlocksByHashesResponse `protobuf:"bytes,6,opt,name=get_blocks_by_hashes_response,json=getBlocksByHashesResponse,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type Response_GetEpochStateResponse struct { |
|
|
|
|
GetEpochStateResponse *GetEpochStateResponse `protobuf:"bytes,7,opt,name=get_epoch_state_response,json=getEpochStateResponse,proto3,oneof"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*Response_ErrorResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
func (*Response_GetBlockNumberResponse) isResponse_Response() {} |
|
|
|
@ -603,8 +530,6 @@ func (*Response_GetBlocksByNumResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
func (*Response_GetBlocksByHashesResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
func (*Response_GetEpochStateResponse) isResponse_Response() {} |
|
|
|
|
|
|
|
|
|
type ErrorResponse struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
@ -616,7 +541,7 @@ type ErrorResponse struct { |
|
|
|
|
func (x *ErrorResponse) Reset() { |
|
|
|
|
*x = ErrorResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[8] |
|
|
|
|
mi := &file_msg_proto_msgTypes[7] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -629,7 +554,7 @@ func (x *ErrorResponse) String() string { |
|
|
|
|
func (*ErrorResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *ErrorResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[8] |
|
|
|
|
mi := &file_msg_proto_msgTypes[7] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -642,7 +567,7 @@ func (x *ErrorResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ErrorResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{8} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{7} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *ErrorResponse) GetError() string { |
|
|
|
@ -663,7 +588,7 @@ type GetBlockNumberResponse struct { |
|
|
|
|
func (x *GetBlockNumberResponse) Reset() { |
|
|
|
|
*x = GetBlockNumberResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[9] |
|
|
|
|
mi := &file_msg_proto_msgTypes[8] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -676,7 +601,7 @@ func (x *GetBlockNumberResponse) String() string { |
|
|
|
|
func (*GetBlockNumberResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetBlockNumberResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[9] |
|
|
|
|
mi := &file_msg_proto_msgTypes[8] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -689,7 +614,7 @@ func (x *GetBlockNumberResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBlockNumberResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBlockNumberResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{9} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{8} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetBlockNumberResponse) GetNumber() uint64 { |
|
|
|
@ -710,7 +635,7 @@ type GetBlockHashesResponse struct { |
|
|
|
|
func (x *GetBlockHashesResponse) Reset() { |
|
|
|
|
*x = GetBlockHashesResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[10] |
|
|
|
|
mi := &file_msg_proto_msgTypes[9] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -723,7 +648,7 @@ func (x *GetBlockHashesResponse) String() string { |
|
|
|
|
func (*GetBlockHashesResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetBlockHashesResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[10] |
|
|
|
|
mi := &file_msg_proto_msgTypes[9] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -736,7 +661,7 @@ func (x *GetBlockHashesResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBlockHashesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBlockHashesResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{10} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{9} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetBlockHashesResponse) GetHashes() [][]byte { |
|
|
|
@ -758,7 +683,7 @@ type GetBlocksByNumResponse struct { |
|
|
|
|
func (x *GetBlocksByNumResponse) Reset() { |
|
|
|
|
*x = GetBlocksByNumResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[11] |
|
|
|
|
mi := &file_msg_proto_msgTypes[10] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -771,7 +696,7 @@ func (x *GetBlocksByNumResponse) String() string { |
|
|
|
|
func (*GetBlocksByNumResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetBlocksByNumResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[11] |
|
|
|
|
mi := &file_msg_proto_msgTypes[10] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -784,7 +709,7 @@ func (x *GetBlocksByNumResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBlocksByNumResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBlocksByNumResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{11} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{10} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetBlocksByNumResponse) GetBlocksBytes() [][]byte { |
|
|
|
@ -813,7 +738,7 @@ type GetBlocksByHashesResponse struct { |
|
|
|
|
func (x *GetBlocksByHashesResponse) Reset() { |
|
|
|
|
*x = GetBlocksByHashesResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[12] |
|
|
|
|
mi := &file_msg_proto_msgTypes[11] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
@ -826,7 +751,7 @@ func (x *GetBlocksByHashesResponse) String() string { |
|
|
|
|
func (*GetBlocksByHashesResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetBlocksByHashesResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[12] |
|
|
|
|
mi := &file_msg_proto_msgTypes[11] |
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil { |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
if ms.LoadMessageInfo() == nil { |
|
|
|
@ -839,7 +764,7 @@ func (x *GetBlocksByHashesResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
|
|
|
|
|
// Deprecated: Use GetBlocksByHashesResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetBlocksByHashesResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{12} |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{11} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetBlocksByHashesResponse) GetBlocksBytes() [][]byte { |
|
|
|
@ -856,61 +781,6 @@ func (x *GetBlocksByHashesResponse) GetCommitSig() [][]byte { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
type GetEpochStateResponse struct { |
|
|
|
|
state protoimpl.MessageState |
|
|
|
|
sizeCache protoimpl.SizeCache |
|
|
|
|
unknownFields protoimpl.UnknownFields |
|
|
|
|
|
|
|
|
|
HeaderBytes []byte `protobuf:"bytes,1,opt,name=header_bytes,json=headerBytes,proto3" json:"header_bytes,omitempty"` |
|
|
|
|
ShardState []byte `protobuf:"bytes,2,opt,name=shard_state,json=shardState,proto3" json:"shard_state,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateResponse) Reset() { |
|
|
|
|
*x = GetEpochStateResponse{} |
|
|
|
|
if protoimpl.UnsafeEnabled { |
|
|
|
|
mi := &file_msg_proto_msgTypes[13] |
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
|
|
|
|
ms.StoreMessageInfo(mi) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateResponse) String() string { |
|
|
|
|
return protoimpl.X.MessageStringOf(x) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (*GetEpochStateResponse) ProtoMessage() {} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateResponse) ProtoReflect() protoreflect.Message { |
|
|
|
|
mi := &file_msg_proto_msgTypes[13] |
|
|
|
|
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 GetEpochStateResponse.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*GetEpochStateResponse) Descriptor() ([]byte, []int) { |
|
|
|
|
return file_msg_proto_rawDescGZIP(), []int{13} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateResponse) GetHeaderBytes() []byte { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.HeaderBytes |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (x *GetEpochStateResponse) GetShardState() []byte { |
|
|
|
|
if x != nil { |
|
|
|
|
return x.ShardState |
|
|
|
|
} |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var File_msg_proto protoreflect.FileDescriptor |
|
|
|
|
|
|
|
|
|
var file_msg_proto_rawDesc = []byte{ |
|
|
|
@ -925,7 +795,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, 0xde, 0x04, 0x0a, 0x07, 0x52, |
|
|
|
|
0x65, 0x71, 0x5f, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x22, 0xf2, 0x03, 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, |
|
|
|
@ -956,100 +826,78 @@ 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, 0x12, 0x6a, 0x0a, 0x17, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, |
|
|
|
|
0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, |
|
|
|
|
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x68, 0x61, 0x72, 0x6d, 0x6f, 0x6e, 0x79, 0x2e, |
|
|
|
|
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, 0x47, 0x65, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, |
|
|
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x14, 0x67, 0x65, 0x74, 0x45, |
|
|
|
|
0x70, 0x6f, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 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, 0x2c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x45, 0x70, 0x6f, 0x63, |
|
|
|
|
0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, |
|
|
|
|
0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x65, 0x70, |
|
|
|
|
0x6f, 0x63, 0x68, 0x22, 0xc4, 0x05, 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, |
|
|
|
|
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, 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, |
|
|
|
|
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, 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, |
|
|
|
|
0x6d, 0x0a, 0x18, 0x67, 0x65, 0x74, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x5f, 0x73, 0x74, 0x61, |
|
|
|
|
0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, |
|
|
|
|
0x0b, 0x32, 0x32, 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, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, |
|
|
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x15, 0x67, 0x65, 0x74, 0x45, 0x70, 0x6f, 0x63, |
|
|
|
|
0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 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, 0x5b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, |
|
|
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x68, 0x65, 0x61, |
|
|
|
|
0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, |
|
|
|
|
0x0b, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, |
|
|
|
|
0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, |
|
|
|
|
0x0c, 0x52, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x09, 0x5a, |
|
|
|
|
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
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, 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, 0x09, 0x5a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, |
|
|
|
|
0x67, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
@ -1064,7 +912,7 @@ func file_msg_proto_rawDescGZIP() []byte { |
|
|
|
|
return file_msg_proto_rawDescData |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var file_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 14) |
|
|
|
|
var file_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 12) |
|
|
|
|
var file_msg_proto_goTypes = []interface{}{ |
|
|
|
|
(*Message)(nil), // 0: harmony.stream.sync.message.Message
|
|
|
|
|
(*Request)(nil), // 1: harmony.stream.sync.message.Request
|
|
|
|
@ -1072,34 +920,30 @@ 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
|
|
|
|
|
(*GetEpochStateRequest)(nil), // 6: harmony.stream.sync.message.GetEpochStateRequest
|
|
|
|
|
(*Response)(nil), // 7: harmony.stream.sync.message.Response
|
|
|
|
|
(*ErrorResponse)(nil), // 8: harmony.stream.sync.message.ErrorResponse
|
|
|
|
|
(*GetBlockNumberResponse)(nil), // 9: harmony.stream.sync.message.GetBlockNumberResponse
|
|
|
|
|
(*GetBlockHashesResponse)(nil), // 10: harmony.stream.sync.message.GetBlockHashesResponse
|
|
|
|
|
(*GetBlocksByNumResponse)(nil), // 11: harmony.stream.sync.message.GetBlocksByNumResponse
|
|
|
|
|
(*GetBlocksByHashesResponse)(nil), // 12: harmony.stream.sync.message.GetBlocksByHashesResponse
|
|
|
|
|
(*GetEpochStateResponse)(nil), // 13: harmony.stream.sync.message.GetEpochStateResponse
|
|
|
|
|
(*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
|
|
|
|
|
} |
|
|
|
|
var file_msg_proto_depIdxs = []int32{ |
|
|
|
|
1, // 0: harmony.stream.sync.message.Message.req:type_name -> harmony.stream.sync.message.Request
|
|
|
|
|
7, // 1: harmony.stream.sync.message.Message.resp:type_name -> harmony.stream.sync.message.Response
|
|
|
|
|
6, // 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
|
|
|
|
|
6, // 6: harmony.stream.sync.message.Request.get_epoch_state_request:type_name -> harmony.stream.sync.message.GetEpochStateRequest
|
|
|
|
|
8, // 7: harmony.stream.sync.message.Response.error_response:type_name -> harmony.stream.sync.message.ErrorResponse
|
|
|
|
|
9, // 8: harmony.stream.sync.message.Response.get_block_number_response:type_name -> harmony.stream.sync.message.GetBlockNumberResponse
|
|
|
|
|
10, // 9: harmony.stream.sync.message.Response.get_block_hashes_response:type_name -> harmony.stream.sync.message.GetBlockHashesResponse
|
|
|
|
|
11, // 10: harmony.stream.sync.message.Response.get_blocks_by_num_response:type_name -> harmony.stream.sync.message.GetBlocksByNumResponse
|
|
|
|
|
12, // 11: harmony.stream.sync.message.Response.get_blocks_by_hashes_response:type_name -> harmony.stream.sync.message.GetBlocksByHashesResponse
|
|
|
|
|
13, // 12: harmony.stream.sync.message.Response.get_epoch_state_response:type_name -> harmony.stream.sync.message.GetEpochStateResponse
|
|
|
|
|
13, // [13:13] is the sub-list for method output_type
|
|
|
|
|
13, // [13:13] is the sub-list for method input_type
|
|
|
|
|
13, // [13:13] is the sub-list for extension type_name
|
|
|
|
|
13, // [13:13] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:13] is the sub-list for field type_name
|
|
|
|
|
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
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func init() { file_msg_proto_init() } |
|
|
|
@ -1181,18 +1025,6 @@ func file_msg_proto_init() { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetEpochStateRequest); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
|
case 1: |
|
|
|
|
return &v.sizeCache |
|
|
|
|
case 2: |
|
|
|
|
return &v.unknownFields |
|
|
|
|
default: |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*Response); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -1204,7 +1036,7 @@ func file_msg_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*ErrorResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -1216,7 +1048,7 @@ func file_msg_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlockNumberResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -1228,7 +1060,7 @@ func file_msg_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlockHashesResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -1240,7 +1072,7 @@ func file_msg_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlocksByNumResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -1252,7 +1084,7 @@ func file_msg_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
file_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetBlocksByHashesResponse); i { |
|
|
|
|
case 0: |
|
|
|
|
return &v.state |
|
|
|
@ -1264,18 +1096,6 @@ func file_msg_proto_init() { |
|
|
|
|
return nil |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
|
|
|
|
switch v := v.(*GetEpochStateResponse); 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), |
|
|
|
@ -1286,15 +1106,13 @@ func file_msg_proto_init() { |
|
|
|
|
(*Request_GetBlockHashesRequest)(nil), |
|
|
|
|
(*Request_GetBlocksByNumRequest)(nil), |
|
|
|
|
(*Request_GetBlocksByHashesRequest)(nil), |
|
|
|
|
(*Request_GetEpochStateRequest)(nil), |
|
|
|
|
} |
|
|
|
|
file_msg_proto_msgTypes[7].OneofWrappers = []interface{}{ |
|
|
|
|
file_msg_proto_msgTypes[6].OneofWrappers = []interface{}{ |
|
|
|
|
(*Response_ErrorResponse)(nil), |
|
|
|
|
(*Response_GetBlockNumberResponse)(nil), |
|
|
|
|
(*Response_GetBlockHashesResponse)(nil), |
|
|
|
|
(*Response_GetBlocksByNumResponse)(nil), |
|
|
|
|
(*Response_GetBlocksByHashesResponse)(nil), |
|
|
|
|
(*Response_GetEpochStateResponse)(nil), |
|
|
|
|
} |
|
|
|
|
type x struct{} |
|
|
|
|
out := protoimpl.TypeBuilder{ |
|
|
|
@ -1302,7 +1120,7 @@ func file_msg_proto_init() { |
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
|
|
|
|
RawDescriptor: file_msg_proto_rawDesc, |
|
|
|
|
NumEnums: 0, |
|
|
|
|
NumMessages: 14, |
|
|
|
|
NumMessages: 12, |
|
|
|
|
NumExtensions: 0, |
|
|
|
|
NumServices: 0, |
|
|
|
|
}, |
|
|
|
|