Versions in this module Expand all Collapse all v1 v1.0.0 Sep 1, 2023 Changes in this version + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + type ChunkRequest struct + Format uint32 + Height uint64 + Index uint32 + func (*ChunkRequest) Descriptor() ([]byte, []int) + func (*ChunkRequest) ProtoMessage() + func (m *ChunkRequest) GetFormat() uint32 + func (m *ChunkRequest) GetHeight() uint64 + func (m *ChunkRequest) GetIndex() uint32 + func (m *ChunkRequest) Marshal() (dAtA []byte, err error) + func (m *ChunkRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ChunkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ChunkRequest) Reset() + func (m *ChunkRequest) Size() (n int) + func (m *ChunkRequest) String() string + func (m *ChunkRequest) Unmarshal(dAtA []byte) error + func (m *ChunkRequest) Wrap() proto.Message + func (m *ChunkRequest) XXX_DiscardUnknown() + func (m *ChunkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChunkRequest) XXX_Merge(src proto.Message) + func (m *ChunkRequest) XXX_Size() int + func (m *ChunkRequest) XXX_Unmarshal(b []byte) error + type ChunkResponse struct + Chunk []byte + Format uint32 + Height uint64 + Index uint32 + Missing bool + func (*ChunkResponse) Descriptor() ([]byte, []int) + func (*ChunkResponse) ProtoMessage() + func (m *ChunkResponse) GetChunk() []byte + func (m *ChunkResponse) GetFormat() uint32 + func (m *ChunkResponse) GetHeight() uint64 + func (m *ChunkResponse) GetIndex() uint32 + func (m *ChunkResponse) GetMissing() bool + func (m *ChunkResponse) Marshal() (dAtA []byte, err error) + func (m *ChunkResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ChunkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ChunkResponse) Reset() + func (m *ChunkResponse) Size() (n int) + func (m *ChunkResponse) String() string + func (m *ChunkResponse) Unmarshal(dAtA []byte) error + func (m *ChunkResponse) Wrap() proto.Message + func (m *ChunkResponse) XXX_DiscardUnknown() + func (m *ChunkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChunkResponse) XXX_Merge(src proto.Message) + func (m *ChunkResponse) XXX_Size() int + func (m *ChunkResponse) XXX_Unmarshal(b []byte) error + type Message struct + Sum isMessage_Sum + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (*Message) XXX_OneofWrappers() []interface{} + func (m *Message) GetChunkRequest() *ChunkRequest + func (m *Message) GetChunkResponse() *ChunkResponse + func (m *Message) GetSnapshotsRequest() *SnapshotsRequest + func (m *Message) GetSnapshotsResponse() *SnapshotsResponse + func (m *Message) GetSum() isMessage_Sum + func (m *Message) Marshal() (dAtA []byte, err error) + func (m *Message) MarshalTo(dAtA []byte) (int, error) + func (m *Message) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message) Reset() + func (m *Message) Size() (n int) + func (m *Message) String() string + func (m *Message) Unmarshal(dAtA []byte) error + func (m *Message) Unwrap() (proto.Message, error) + func (m *Message) XXX_DiscardUnknown() + func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Message) XXX_Merge(src proto.Message) + func (m *Message) XXX_Size() int + func (m *Message) XXX_Unmarshal(b []byte) error + type Message_ChunkRequest struct + ChunkRequest *ChunkRequest + func (m *Message_ChunkRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_ChunkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_ChunkRequest) Size() (n int) + type Message_ChunkResponse struct + ChunkResponse *ChunkResponse + func (m *Message_ChunkResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_ChunkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_ChunkResponse) Size() (n int) + type Message_SnapshotsRequest struct + SnapshotsRequest *SnapshotsRequest + func (m *Message_SnapshotsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_SnapshotsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_SnapshotsRequest) Size() (n int) + type Message_SnapshotsResponse struct + SnapshotsResponse *SnapshotsResponse + func (m *Message_SnapshotsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_SnapshotsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_SnapshotsResponse) Size() (n int) + type SnapshotsRequest struct + func (*SnapshotsRequest) Descriptor() ([]byte, []int) + func (*SnapshotsRequest) ProtoMessage() + func (m *SnapshotsRequest) Marshal() (dAtA []byte, err error) + func (m *SnapshotsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *SnapshotsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SnapshotsRequest) Reset() + func (m *SnapshotsRequest) Size() (n int) + func (m *SnapshotsRequest) String() string + func (m *SnapshotsRequest) Unmarshal(dAtA []byte) error + func (m *SnapshotsRequest) Wrap() proto.Message + func (m *SnapshotsRequest) XXX_DiscardUnknown() + func (m *SnapshotsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SnapshotsRequest) XXX_Merge(src proto.Message) + func (m *SnapshotsRequest) XXX_Size() int + func (m *SnapshotsRequest) XXX_Unmarshal(b []byte) error + type SnapshotsResponse struct + Chunks uint32 + Format uint32 + Hash []byte + Height uint64 + Metadata []byte + func (*SnapshotsResponse) Descriptor() ([]byte, []int) + func (*SnapshotsResponse) ProtoMessage() + func (m *SnapshotsResponse) GetChunks() uint32 + func (m *SnapshotsResponse) GetFormat() uint32 + func (m *SnapshotsResponse) GetHash() []byte + func (m *SnapshotsResponse) GetHeight() uint64 + func (m *SnapshotsResponse) GetMetadata() []byte + func (m *SnapshotsResponse) Marshal() (dAtA []byte, err error) + func (m *SnapshotsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *SnapshotsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SnapshotsResponse) Reset() + func (m *SnapshotsResponse) Size() (n int) + func (m *SnapshotsResponse) String() string + func (m *SnapshotsResponse) Unmarshal(dAtA []byte) error + func (m *SnapshotsResponse) Wrap() proto.Message + func (m *SnapshotsResponse) XXX_DiscardUnknown() + func (m *SnapshotsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SnapshotsResponse) XXX_Merge(src proto.Message) + func (m *SnapshotsResponse) XXX_Size() int + func (m *SnapshotsResponse) XXX_Unmarshal(b []byte) error