Versions in this module Expand all Collapse all v1 v1.0.1 Sep 18, 2024 v1.0.0 May 17, 2024 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 FileRequest struct + Filename string + Height uint64 + func (*FileRequest) Descriptor() ([]byte, []int) + func (*FileRequest) ProtoMessage() + func (m *FileRequest) GetFilename() string + func (m *FileRequest) GetHeight() uint64 + func (m *FileRequest) Marshal() (dAtA []byte, err error) + func (m *FileRequest) MarshalTo(dAtA []byte) (int, error) + func (m *FileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileRequest) Reset() + func (m *FileRequest) Size() (n int) + func (m *FileRequest) String() string + func (m *FileRequest) Unmarshal(dAtA []byte) error + func (m *FileRequest) XXX_DiscardUnknown() + func (m *FileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileRequest) XXX_Merge(src proto.Message) + func (m *FileRequest) XXX_Size() int + func (m *FileRequest) XXX_Unmarshal(b []byte) error + type FileResponse struct + Data []byte + Filename string + Height uint64 + func (*FileResponse) Descriptor() ([]byte, []int) + func (*FileResponse) ProtoMessage() + func (m *FileResponse) GetData() []byte + func (m *FileResponse) GetFilename() string + func (m *FileResponse) GetHeight() uint64 + func (m *FileResponse) Marshal() (dAtA []byte, err error) + func (m *FileResponse) MarshalTo(dAtA []byte) (int, error) + func (m *FileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FileResponse) Reset() + func (m *FileResponse) Size() (n int) + func (m *FileResponse) String() string + func (m *FileResponse) Unmarshal(dAtA []byte) error + func (m *FileResponse) XXX_DiscardUnknown() + func (m *FileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FileResponse) XXX_Merge(src proto.Message) + func (m *FileResponse) XXX_Size() int + func (m *FileResponse) XXX_Unmarshal(b []byte) error + type LightBlockRequest struct + Height uint64 + func (*LightBlockRequest) Descriptor() ([]byte, []int) + func (*LightBlockRequest) ProtoMessage() + func (m *LightBlockRequest) GetHeight() uint64 + func (m *LightBlockRequest) Marshal() (dAtA []byte, err error) + func (m *LightBlockRequest) MarshalTo(dAtA []byte) (int, error) + func (m *LightBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LightBlockRequest) Reset() + func (m *LightBlockRequest) Size() (n int) + func (m *LightBlockRequest) String() string + func (m *LightBlockRequest) Unmarshal(dAtA []byte) error + func (m *LightBlockRequest) XXX_DiscardUnknown() + func (m *LightBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LightBlockRequest) XXX_Merge(src proto.Message) + func (m *LightBlockRequest) XXX_Size() int + func (m *LightBlockRequest) XXX_Unmarshal(b []byte) error + type LightBlockResponse struct + LightBlock *types.LightBlock + func (*LightBlockResponse) Descriptor() ([]byte, []int) + func (*LightBlockResponse) ProtoMessage() + func (m *LightBlockResponse) GetLightBlock() *types.LightBlock + func (m *LightBlockResponse) Marshal() (dAtA []byte, err error) + func (m *LightBlockResponse) MarshalTo(dAtA []byte) (int, error) + func (m *LightBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LightBlockResponse) Reset() + func (m *LightBlockResponse) Size() (n int) + func (m *LightBlockResponse) String() string + func (m *LightBlockResponse) Unmarshal(dAtA []byte) error + func (m *LightBlockResponse) XXX_DiscardUnknown() + func (m *LightBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LightBlockResponse) XXX_Merge(src proto.Message) + func (m *LightBlockResponse) XXX_Size() int + func (m *LightBlockResponse) 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) GetFileRequest() *FileRequest + func (m *Message) GetFileResponse() *FileResponse + func (m *Message) GetLightBlockRequest() *LightBlockRequest + func (m *Message) GetLightBlockResponse() *LightBlockResponse + func (m *Message) GetMetadataRequest() *MetadataRequest + func (m *Message) GetMetadataResponse() *MetadataResponse + func (m *Message) GetParamsRequest() *ParamsRequest + func (m *Message) GetParamsResponse() *ParamsResponse + 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) Validate() error + func (m *Message) Wrap(pb 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_FileRequest struct + FileRequest *FileRequest + func (m *Message_FileRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_FileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_FileRequest) Size() (n int) + type Message_FileResponse struct + FileResponse *FileResponse + func (m *Message_FileResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_FileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_FileResponse) Size() (n int) + type Message_LightBlockRequest struct + LightBlockRequest *LightBlockRequest + func (m *Message_LightBlockRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_LightBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_LightBlockRequest) Size() (n int) + type Message_LightBlockResponse struct + LightBlockResponse *LightBlockResponse + func (m *Message_LightBlockResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_LightBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_LightBlockResponse) Size() (n int) + type Message_MetadataRequest struct + MetadataRequest *MetadataRequest + func (m *Message_MetadataRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_MetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_MetadataRequest) Size() (n int) + type Message_MetadataResponse struct + MetadataResponse *MetadataResponse + func (m *Message_MetadataResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_MetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_MetadataResponse) Size() (n int) + type Message_ParamsRequest struct + ParamsRequest *ParamsRequest + func (m *Message_ParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_ParamsRequest) Size() (n int) + type Message_ParamsResponse struct + ParamsResponse *ParamsResponse + func (m *Message_ParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_ParamsResponse) Size() (n int) + type MetadataRequest struct + func (*MetadataRequest) Descriptor() ([]byte, []int) + func (*MetadataRequest) ProtoMessage() + func (m *MetadataRequest) Marshal() (dAtA []byte, err error) + func (m *MetadataRequest) MarshalTo(dAtA []byte) (int, error) + func (m *MetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MetadataRequest) Reset() + func (m *MetadataRequest) Size() (n int) + func (m *MetadataRequest) String() string + func (m *MetadataRequest) Unmarshal(dAtA []byte) error + func (m *MetadataRequest) XXX_DiscardUnknown() + func (m *MetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MetadataRequest) XXX_Merge(src proto.Message) + func (m *MetadataRequest) XXX_Size() int + func (m *MetadataRequest) XXX_Unmarshal(b []byte) error + type MetadataResponse struct + Filenames []string + Hash []byte + Height uint64 + Md5Checksum [][]byte + func (*MetadataResponse) Descriptor() ([]byte, []int) + func (*MetadataResponse) ProtoMessage() + func (m *MetadataResponse) GetFilenames() []string + func (m *MetadataResponse) GetHash() []byte + func (m *MetadataResponse) GetHeight() uint64 + func (m *MetadataResponse) GetMd5Checksum() [][]byte + func (m *MetadataResponse) Marshal() (dAtA []byte, err error) + func (m *MetadataResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MetadataResponse) Reset() + func (m *MetadataResponse) Size() (n int) + func (m *MetadataResponse) String() string + func (m *MetadataResponse) Unmarshal(dAtA []byte) error + func (m *MetadataResponse) XXX_DiscardUnknown() + func (m *MetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MetadataResponse) XXX_Merge(src proto.Message) + func (m *MetadataResponse) XXX_Size() int + func (m *MetadataResponse) XXX_Unmarshal(b []byte) error + type ParamsRequest struct + Height uint64 + func (*ParamsRequest) Descriptor() ([]byte, []int) + func (*ParamsRequest) ProtoMessage() + func (m *ParamsRequest) GetHeight() uint64 + func (m *ParamsRequest) Marshal() (dAtA []byte, err error) + func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ParamsRequest) Reset() + func (m *ParamsRequest) Size() (n int) + func (m *ParamsRequest) String() string + func (m *ParamsRequest) Unmarshal(dAtA []byte) error + func (m *ParamsRequest) XXX_DiscardUnknown() + func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ParamsRequest) XXX_Merge(src proto.Message) + func (m *ParamsRequest) XXX_Size() int + func (m *ParamsRequest) XXX_Unmarshal(b []byte) error + type ParamsResponse struct + ConsensusParams types.ConsensusParams + Height uint64 + func (*ParamsResponse) Descriptor() ([]byte, []int) + func (*ParamsResponse) ProtoMessage() + func (m *ParamsResponse) GetConsensusParams() types.ConsensusParams + func (m *ParamsResponse) GetHeight() uint64 + func (m *ParamsResponse) Marshal() (dAtA []byte, err error) + func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ParamsResponse) Reset() + func (m *ParamsResponse) Size() (n int) + func (m *ParamsResponse) String() string + func (m *ParamsResponse) Unmarshal(dAtA []byte) error + func (m *ParamsResponse) XXX_DiscardUnknown() + func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ParamsResponse) XXX_Merge(src proto.Message) + func (m *ParamsResponse) XXX_Size() int + func (m *ParamsResponse) XXX_Unmarshal(b []byte) error