netstate: rename piece_name to piece_id (#83)
This commit is contained in:
parent
258d5fec44
commit
7280ae64a6
@ -41,7 +41,7 @@ func (x RedundancyScheme_SchemeType) String() string {
|
||||
return proto.EnumName(RedundancyScheme_SchemeType_name, int32(x))
|
||||
}
|
||||
func (RedundancyScheme_SchemeType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{0, 0}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{0, 0}
|
||||
}
|
||||
|
||||
type EncryptionScheme_EncryptionType int32
|
||||
@ -64,7 +64,7 @@ func (x EncryptionScheme_EncryptionType) String() string {
|
||||
return proto.EnumName(EncryptionScheme_EncryptionType_name, int32(x))
|
||||
}
|
||||
func (EncryptionScheme_EncryptionType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{1, 0}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{1, 0}
|
||||
}
|
||||
|
||||
type Pointer_DataType int32
|
||||
@ -87,7 +87,7 @@ func (x Pointer_DataType) String() string {
|
||||
return proto.EnumName(Pointer_DataType_name, int32(x))
|
||||
}
|
||||
func (Pointer_DataType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{4, 0}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{4, 0}
|
||||
}
|
||||
|
||||
type RedundancyScheme struct {
|
||||
@ -106,7 +106,7 @@ func (m *RedundancyScheme) Reset() { *m = RedundancyScheme{} }
|
||||
func (m *RedundancyScheme) String() string { return proto.CompactTextString(m) }
|
||||
func (*RedundancyScheme) ProtoMessage() {}
|
||||
func (*RedundancyScheme) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{0}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{0}
|
||||
}
|
||||
func (m *RedundancyScheme) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RedundancyScheme.Unmarshal(m, b)
|
||||
@ -174,7 +174,7 @@ func (m *EncryptionScheme) Reset() { *m = EncryptionScheme{} }
|
||||
func (m *EncryptionScheme) String() string { return proto.CompactTextString(m) }
|
||||
func (*EncryptionScheme) ProtoMessage() {}
|
||||
func (*EncryptionScheme) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{1}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{1}
|
||||
}
|
||||
func (m *EncryptionScheme) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EncryptionScheme.Unmarshal(m, b)
|
||||
@ -228,7 +228,7 @@ func (m *RemotePiece) Reset() { *m = RemotePiece{} }
|
||||
func (m *RemotePiece) String() string { return proto.CompactTextString(m) }
|
||||
func (*RemotePiece) ProtoMessage() {}
|
||||
func (*RemotePiece) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{2}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{2}
|
||||
}
|
||||
func (m *RemotePiece) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RemotePiece.Unmarshal(m, b)
|
||||
@ -271,7 +271,7 @@ func (m *RemotePiece) GetSize() int64 {
|
||||
|
||||
type RemoteSegment struct {
|
||||
Redundancy *RedundancyScheme `protobuf:"bytes,1,opt,name=redundancy" json:"redundancy,omitempty"`
|
||||
PieceName string `protobuf:"bytes,2,opt,name=piece_name,json=pieceName" json:"piece_name,omitempty"`
|
||||
PieceId string `protobuf:"bytes,2,opt,name=piece_id,json=pieceId" json:"piece_id,omitempty"`
|
||||
RemotePieces []*RemotePiece `protobuf:"bytes,3,rep,name=remote_pieces,json=remotePieces" json:"remote_pieces,omitempty"`
|
||||
MerkleRoot []byte `protobuf:"bytes,4,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
|
||||
MerkleSize int64 `protobuf:"varint,5,opt,name=merkle_size,json=merkleSize" json:"merkle_size,omitempty"`
|
||||
@ -284,7 +284,7 @@ func (m *RemoteSegment) Reset() { *m = RemoteSegment{} }
|
||||
func (m *RemoteSegment) String() string { return proto.CompactTextString(m) }
|
||||
func (*RemoteSegment) ProtoMessage() {}
|
||||
func (*RemoteSegment) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{3}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{3}
|
||||
}
|
||||
func (m *RemoteSegment) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_RemoteSegment.Unmarshal(m, b)
|
||||
@ -311,9 +311,9 @@ func (m *RemoteSegment) GetRedundancy() *RedundancyScheme {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RemoteSegment) GetPieceName() string {
|
||||
func (m *RemoteSegment) GetPieceId() string {
|
||||
if m != nil {
|
||||
return m.PieceName
|
||||
return m.PieceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
@ -356,7 +356,7 @@ func (m *Pointer) Reset() { *m = Pointer{} }
|
||||
func (m *Pointer) String() string { return proto.CompactTextString(m) }
|
||||
func (*Pointer) ProtoMessage() {}
|
||||
func (*Pointer) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{4}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{4}
|
||||
}
|
||||
func (m *Pointer) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Pointer.Unmarshal(m, b)
|
||||
@ -439,7 +439,7 @@ func (m *PutRequest) Reset() { *m = PutRequest{} }
|
||||
func (m *PutRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PutRequest) ProtoMessage() {}
|
||||
func (*PutRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{5}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{5}
|
||||
}
|
||||
func (m *PutRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PutRequest.Unmarshal(m, b)
|
||||
@ -493,7 +493,7 @@ func (m *GetRequest) Reset() { *m = GetRequest{} }
|
||||
func (m *GetRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetRequest) ProtoMessage() {}
|
||||
func (*GetRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{6}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{6}
|
||||
}
|
||||
func (m *GetRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetRequest.Unmarshal(m, b)
|
||||
@ -541,7 +541,7 @@ func (m *ListRequest) Reset() { *m = ListRequest{} }
|
||||
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListRequest) ProtoMessage() {}
|
||||
func (*ListRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{7}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{7}
|
||||
}
|
||||
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
|
||||
@ -593,7 +593,7 @@ func (m *PutResponse) Reset() { *m = PutResponse{} }
|
||||
func (m *PutResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*PutResponse) ProtoMessage() {}
|
||||
func (*PutResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{8}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{8}
|
||||
}
|
||||
func (m *PutResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PutResponse.Unmarshal(m, b)
|
||||
@ -625,7 +625,7 @@ func (m *GetResponse) Reset() { *m = GetResponse{} }
|
||||
func (m *GetResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetResponse) ProtoMessage() {}
|
||||
func (*GetResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{9}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{9}
|
||||
}
|
||||
func (m *GetResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetResponse.Unmarshal(m, b)
|
||||
@ -664,7 +664,7 @@ func (m *ListResponse) Reset() { *m = ListResponse{} }
|
||||
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListResponse) ProtoMessage() {}
|
||||
func (*ListResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{10}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{10}
|
||||
}
|
||||
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
|
||||
@ -703,7 +703,7 @@ func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
|
||||
func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteRequest) ProtoMessage() {}
|
||||
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{11}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{11}
|
||||
}
|
||||
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
|
||||
@ -748,7 +748,7 @@ func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
|
||||
func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteResponse) ProtoMessage() {}
|
||||
func (*DeleteResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_netstate_503318c39d13509f, []int{12}
|
||||
return fileDescriptor_netstate_bbb6a6d197f0266f, []int{12}
|
||||
}
|
||||
func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeleteResponse.Unmarshal(m, b)
|
||||
@ -853,8 +853,7 @@ func (c *netStateClient) Delete(ctx context.Context, in *DeleteRequest, opts ...
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for NetState service
|
||||
|
||||
// NetStateServer is the server API for NetState service.
|
||||
type NetStateServer interface {
|
||||
// Put formats and hands off a file path to be saved to boltdb
|
||||
Put(context.Context, *PutRequest) (*PutResponse, error)
|
||||
@ -967,63 +966,63 @@ var _NetState_serviceDesc = grpc.ServiceDesc{
|
||||
Metadata: "netstate.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("netstate.proto", fileDescriptor_netstate_503318c39d13509f) }
|
||||
func init() { proto.RegisterFile("netstate.proto", fileDescriptor_netstate_bbb6a6d197f0266f) }
|
||||
|
||||
var fileDescriptor_netstate_503318c39d13509f = []byte{
|
||||
// 868 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x7f, 0x6b, 0xe3, 0x46,
|
||||
0x10, 0x8d, 0xa2, 0x44, 0x49, 0xc6, 0x3f, 0xa2, 0x2c, 0xbe, 0x9c, 0x70, 0x29, 0x0d, 0xa2, 0x47,
|
||||
0x73, 0x0d, 0xb8, 0xe0, 0x52, 0xb8, 0xe6, 0x5a, 0xca, 0x35, 0x31, 0x21, 0xdc, 0x9d, 0xcf, 0xac,
|
||||
0x5d, 0xda, 0xff, 0x84, 0xce, 0x9e, 0xda, 0xe2, 0xac, 0x5d, 0x45, 0xbb, 0x82, 0xba, 0xdf, 0xab,
|
||||
0x5f, 0xa9, 0x94, 0xfe, 0xd9, 0x4f, 0x50, 0xb4, 0xbb, 0x92, 0xd6, 0x3e, 0xae, 0x85, 0xfb, 0xcb,
|
||||
0x9a, 0xd9, 0xf7, 0x66, 0xe7, 0xcd, 0x3c, 0x2f, 0x74, 0x19, 0x4a, 0x21, 0x63, 0x89, 0x83, 0x2c,
|
||||
0xe7, 0x92, 0x93, 0xe3, 0x2a, 0xee,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02, 0x2f, 0x71, 0xb3, 0xcd, 0x14, 0x32, 0xce, 0x65, 0xc2, 0x96, 0x11,
|
||||
0xe3, 0x6c, 0x8e, 0x6a, 0x48, 0x36, 0x73, 0x6a, 0x8e, 0xc7, 0xe5, 0x69, 0x78, 0x05, 0xdd, 0xed,
|
||||
0x5e, 0x08, 0x80, 0xf7, 0x62, 0x34, 0xbd, 0xbb, 0x79, 0xed, 0xef, 0x91, 0x0e, 0x9c, 0x4c, 0x47,
|
||||
0x37, 0x74, 0x34, 0xfb, 0xf1, 0xcd, 0x2f, 0xbe, 0x13, 0xfe, 0x0c, 0x2d, 0x8a, 0x29, 0x97, 0x38,
|
||||
0x49, 0x70, 0x8e, 0xe4, 0x13, 0x38, 0xc9, 0xca, 0x8f, 0x88, 0x15, 0xa9, 0xd2, 0xec, 0xd2, 0x63,
|
||||
0x95, 0x18, 0x17, 0x69, 0xb9, 0x3d, 0xc6, 0x17, 0x18, 0x25, 0x0b, 0xd5, 0xfb, 0x09, 0xf5, 0xca,
|
||||
0xf0, 0x7e, 0x41, 0x08, 0x1c, 0x88, 0xe4, 0x77, 0x34, 0xcb, 0x53, 0xdf, 0xe1, 0x5f, 0x0e, 0x74,
|
||||
0x74, 0xe5, 0x29, 0x2e, 0x53, 0x64, 0x92, 0x5c, 0x03, 0xe4, 0xb5, 0x43, 0x54, 0xf1, 0xd6, 0xb0,
|
||||
0xff, 0x61, 0xf7, 0x50, 0x0b, 0x4d, 0x3e, 0x05, 0x30, 0x7d, 0xc5, 0x29, 0x9a, 0xdb, 0x75, 0xa7,
|
||||
0xe3, 0x38, 0x45, 0x72, 0x0d, 0x9d, 0x5c, 0xdd, 0x15, 0xa9, 0x9c, 0x08, 0xdc, 0x0b, 0xf7, 0xb2,
|
||||
0x35, 0x7c, 0x64, 0x57, 0xaf, 0x45, 0xd2, 0x76, 0xde, 0x04, 0x82, 0x7c, 0x06, 0xad, 0x14, 0xf3,
|
||||
0x77, 0x6b, 0x8c, 0x72, 0xce,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0xaf, 0xdf, 0xcc, 0x46, 0xbe, 0x13, 0x22, 0xc0, 0xa4, 0x90, 0x14, 0x1f, 0x0a, 0x14,
|
||||
0xb2, 0x34, 0x71, 0x16, 0xcb, 0x95, 0xda, 0x5c, 0x9b, 0xaa, 0x6f, 0x72, 0x05, 0x47, 0x99, 0xde,
|
||||
0x9b, 0x59, 0xcd, 0xd9, 0x7b, 0x0b, 0xa5, 0x15, 0x82, 0x9c, 0x83, 0xf7, 0x62, 0x72, 0xff, 0x12,
|
||||
0x37, 0x66, 0x0d, 0x26, 0x0a, 0x9f, 0x01, 0xdc, 0xe1, 0x7f, 0x5e, 0xd3, 0x30, 0xf7, 0xb7, 0x98,
|
||||
0x4b, 0x68, 0xbd, 0x4a, 0x44, 0x4d, 0xfd, 0x12, 0xce, 0xea, 0x87, 0xa0, 0xe4, 0xa9, 0x57, 0x44,
|
||||
0xd7, 0x39, 0xad, 0x0e, 0x26, 0xb1, 0x5c, 0x95, 0xcf, 0x47, 0x0f, 0x0e, 0xd7, 0x49, 0x9a, 0x48,
|
||||
0xf3, 0xce, 0xea, 0xe0, 0x83, 0x2d, 0x76, 0xa0, 0xa5, 0x26, 0x21, 0x32, 0xce, 0x04, 0x86, 0x5f,
|
||||
0x40, 0x4b, 0x75, 0xac, 0x43, 0x12, 0x34, 0x53, 0xd0, 0xb7, 0x55, 0x61, 0xf8, 0x39, 0xb4, 0x75,
|
||||
0x83, 0x06, 0xd9, 0x83, 0xc3, 0xb2, 0x31, 0x11, 0x38, 0x17, 0xee, 0x65, 0x9b, 0xea, 0x20, 0x7c,
|
||||
0x0e, 0x9d, 0x5b, 0x5c, 0xa3, 0xc4, 0x8f, 0x99, 0x81, 0x0f, 0xdd, 0x8a, 0xac, 0x2f, 0x19, 0xfe,
|
||||
0xe9, 0xc0, 0xf1, 0x18, 0xe5, 0xb4, 0xdc, 0x02, 0x19, 0x82, 0x3b, 0x29, 0x24, 0xe9, 0x59, 0x7b,
|
||||
0xa9, 0x57, 0xda, 0x7f, 0xb4, 0x93, 0x35, 0x5d, 0x0e, 0xc1, 0xbd, 0xc3, 0x2d, 0x4e, 0xb3, 0x1f,
|
||||
0x9b, 0x63, 0xcf, 0xe0, 0x1b, 0x38, 0x28, 0x95, 0x12, 0xeb, 0xd8, 0x5a, 0x4d, 0xff, 0x7c, 0x37,
|
||||
0x6d, 0x68, 0xcf, 0xc1, 0xd3, 0xdd, 0x13, 0xeb, 0x5f, 0xb7, 0x35, 0x8c, 0x7e, 0xf0, 0xfe, 0x81,
|
||||
0x26, 0xbf, 0xf5, 0x94, 0xcf, 0xbf, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x43, 0x9b, 0xfa, 0x08,
|
||||
0xb1, 0x07, 0x00, 0x00,
|
||||
var fileDescriptor_netstate_bbb6a6d197f0266f = []byte{
|
||||
// 866 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4d, 0x6f, 0xdb, 0x46,
|
||||
0x10, 0x35, 0x4d, 0x9b, 0xb2, 0x47, 0x1f, 0xa6, 0x17, 0x8a, 0xc3, 0xaa, 0x87, 0x1a, 0x44, 0x83,
|
||||
0x3a, 0x35, 0xa0, 0x02, 0x2a, 0x0a, 0xa4, 0x4e, 0x8b, 0x22, 0xb5, 0x05, 0x43, 0x48, 0xa2, 0x08,
|
||||
0x2b, 0x15, 0xed, 0x8d, 0x60, 0xc4, 0xa9, 0x44, 0x44, 0x5c, 0xd2, 0xdc, 0x25, 0x50, 0xf5, 0x7f,
|
||||
0xf5, 0x1f, 0x15, 0x3d, 0xf4, 0xd8, 0x5f, 0x50, 0x70, 0x77, 0x49, 0xae, 0x14, 0xa4, 0x05, 0x72,
|
||||
0x12, 0x67, 0xf6, 0xbd, 0xd9, 0x79, 0x33, 0x4f, 0x0b, 0x3d, 0x86, 0x82, 0x8b, 0x50, 0xe0, 0x30,
|
||||
0xcb, 0x53, 0x91, 0x92, 0x93, 0x2a, 0x1e, 0x9c, 0x89, 0x38, 0x41, 0x2e, 0xc2, 0x24, 0x53, 0x47,
|
||||
0xfe, 0xdf, 0x16, 0xb8, 0x14, 0xa3, 0x82, 0x45, 0x21, 0x5b, 0x6e, 0xe7, 0xcb, 0x35, 0x26, 0x48,
|
||||
0xbe, 0x85, 0x23, 0xb1, 0xcd, 0xd0, 0xb3, 0x2e, 0xad, 0xab, 0xde, 0xe8, 0xc9, 0xb0, 0x2e, 0xb7,
|
||||
0x8f, 0x1c, 0xaa, 0x9f, 0xc5, 0x36, 0x43, 0x2a, 0x29, 0xe4, 0x31, 0xb4, 0x92, 0x98, 0x05, 0x39,
|
||||
0x3e, 0x78, 0x87, 0x97, 0xd6, 0x95, 0x4d, 0x9d, 0x24, 0x66, 0x14, 0x1f, 0x48, 0x1f, 0x8e, 0x45,
|
||||
0x2a, 0xc2, 0x8d, 0x67, 0xcb, 0xb4, 0x0a, 0xc8, 0x53, 0x70, 0x73, 0xcc, 0xc2, 0x38, 0x0f, 0xc4,
|
||||
0x3a, 0x47, 0xbe, 0x4e, 0x37, 0x91, 0x77, 0x24, 0x01, 0x67, 0x2a, 0xbf, 0xa8, 0xd2, 0xe4, 0x1a,
|
||||
0xce, 0x79, 0xb1, 0x5c, 0x22, 0xe7, 0x06, 0xf6, 0x58, 0x62, 0x5d, 0x7d, 0x50, 0x83, 0xfd, 0x3e,
|
||||
0x40, 0xd3, 0x1a, 0x71, 0xe0, 0x90, 0xce, 0xdd, 0x03, 0xff, 0x1f, 0x0b, 0xdc, 0x31, 0x5b, 0xe6,
|
||||
0xdb, 0x4c, 0xc4, 0x29, 0xd3, 0x62, 0xbf, 0xdf, 0x11, 0xfb, 0xb4, 0x11, 0xbb, 0x8f, 0x34, 0x12,
|
||||
0x86, 0xe0, 0x67, 0xe0, 0xa1, 0xca, 0x63, 0x14, 0x60, 0x8d, 0x08, 0xde, 0xe1, 0x56, 0x4e, 0xa0,
|
||||
0x43, 0x2f, 0xea, 0xf3, 0xa6, 0xc0, 0x4b, 0xdc, 0xee, 0x32, 0xb9, 0x08, 0x73, 0x11, 0xb3, 0x55,
|
||||
0xc0, 0x52, 0xb6, 0x44, 0x39, 0x24, 0x93, 0x39, 0xd7, 0xc7, 0xd3, 0xf2, 0xd4, 0xbf, 0x86, 0xde,
|
||||
0x6e, 0x2f, 0x04, 0xc0, 0x79, 0x31, 0x9e, 0xdf, 0xdf, 0xbe, 0x76, 0x0f, 0x48, 0x17, 0x4e, 0xe7,
|
||||
0xe3, 0x5b, 0x3a, 0x5e, 0xfc, 0xf8, 0xe6, 0x17, 0xd7, 0xf2, 0x7f, 0x86, 0x36, 0xc5, 0x24, 0x15,
|
||||
0x38, 0x8b, 0x71, 0x89, 0xe4, 0x53, 0x38, 0xcd, 0xca, 0x8f, 0x80, 0x15, 0x89, 0xd4, 0x6c, 0xd3,
|
||||
0x13, 0x99, 0x98, 0x16, 0x49, 0xb9, 0x3d, 0x96, 0x46, 0x18, 0xc4, 0x91, 0xec, 0xfd, 0x94, 0x3a,
|
||||
0x65, 0x38, 0x89, 0x08, 0x81, 0x23, 0x1e, 0xff, 0x8e, 0x7a, 0x79, 0xf2, 0xdb, 0xff, 0xd3, 0x82,
|
||||
0xae, 0xaa, 0x3c, 0xc7, 0x55, 0x82, 0x4c, 0x90, 0x1b, 0x80, 0xbc, 0x76, 0x88, 0x2c, 0xde, 0x1e,
|
||||
0x0d, 0x3e, 0xec, 0x1e, 0x6a, 0xa0, 0xc9, 0x27, 0xa0, 0xda, 0x68, 0xee, 0x6e, 0xc9, 0x78, 0x12,
|
||||
0x91, 0x1b, 0xe8, 0xe6, 0xf2, 0x9e, 0x40, 0x66, 0xb8, 0x67, 0x5f, 0xda, 0x57, 0xed, 0xd1, 0x23,
|
||||
0xb3, 0x72, 0x2d, 0x90, 0x76, 0xf2, 0x26, 0xe0, 0xe4, 0x33, 0x68, 0x27, 0x98, 0xbf, 0xdb, 0x60,
|
||||
0x90, 0xa7, 0xa9, 0x90, 0xde, 0xea, 0x50, 0x50, 0x29, 0x9a, 0xa6, 0xc2, 0x00, 0x48, 0x81, 0xca,
|
||||
0x50, 0x1a, 0x30, 0x2f, 0x65, 0xfe, 0x61, 0x43, 0x6b, 0x96, 0xc6, 0x4c, 0x60, 0x4e, 0x86, 0x3b,
|
||||
0x5e, 0x31, 0xa4, 0x69, 0xc0, 0xf0, 0x2e, 0x14, 0xa1, 0x61, 0x8e, 0x1b, 0x80, 0xc6, 0x12, 0x52,
|
||||
0xd6, 0xce, 0x40, 0xf6, 0x1d, 0x46, 0x0d, 0x34, 0x79, 0x02, 0xbd, 0x98, 0x6d, 0x62, 0x86, 0x01,
|
||||
0x57, 0xe3, 0xd5, 0xa6, 0xe8, 0xaa, 0x6c, 0x35, 0xf3, 0xaf, 0xc0, 0x51, 0x82, 0xa5, 0xb6, 0xf6,
|
||||
0xe8, 0xf1, 0xfe, 0x54, 0x34, 0x90, 0x6a, 0x18, 0xf9, 0x0e, 0x06, 0x8d, 0xed, 0x0a, 0x66, 0x58,
|
||||
0xb0, 0xd2, 0xdf, 0xa1, 0x8d, 0x31, 0x7f, 0x6a, 0x00, 0xe5, 0x34, 0xc8, 0x0f, 0xd0, 0x5d, 0xe6,
|
||||
0x18, 0x4a, 0x8b, 0x47, 0xa1, 0x40, 0xcf, 0xd1, 0xa2, 0x56, 0x69, 0xba, 0xda, 0xe8, 0x07, 0xe7,
|
||||
0x6d, 0xf1, 0xeb, 0x70, 0x51, 0x3d, 0x34, 0xb4, 0x53, 0x11, 0xee, 0x42, 0x81, 0xe4, 0x16, 0xce,
|
||||
0xf0, 0xb7, 0x2c, 0xce, 0x8d, 0x12, 0xad, 0xff, 0x2d, 0xd1, 0x6b, 0x28, 0x65, 0x11, 0xdf, 0x87,
|
||||
0x93, 0x6a, 0xd2, 0xa5, 0xf5, 0x27, 0xd3, 0x57, 0x93, 0xe9, 0xd8, 0x3d, 0x28, 0xbf, 0xe9, 0xf8,
|
||||
0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xa5,
|
||||
0x83, 0x47, 0x7b, 0x59, 0xdd, 0xe5, 0x08, 0xec, 0x7b, 0xdc, 0xe1, 0x34, 0xfb, 0x31, 0x39, 0xe6,
|
||||
0x0c, 0xbe, 0x81, 0xa3, 0x52, 0x29, 0x31, 0x8e, 0x8d, 0xd5, 0x0c, 0x2e, 0xf6, 0xd3, 0x9a, 0xf6,
|
||||
0x1c, 0x1c, 0xd5, 0x3d, 0x31, 0xfe, 0x75, 0x3b, 0xc3, 0x18, 0x78, 0xef, 0x1f, 0x28, 0xf2, 0x5b,
|
||||
0x47, 0xfa, 0xfc, 0xeb, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x86, 0xf3, 0x8f, 0x5b, 0xad, 0x07,
|
||||
0x00, 0x00,
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ message RemotePiece {
|
||||
|
||||
message RemoteSegment {
|
||||
RedundancyScheme redundancy = 1;
|
||||
string piece_name = 2;
|
||||
string piece_id = 2;
|
||||
repeated RemotePiece remote_pieces = 3;
|
||||
|
||||
bytes merkle_root = 4; // root hash of the hashes of all of these pieces
|
||||
|
Loading…
Reference in New Issue
Block a user