Versions in this module Expand all Collapse all v0 v0.0.1 Jan 19, 2022 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 BlockRequest struct + Height int64 + func (*BlockRequest) Descriptor() ([]byte, []int) + func (*BlockRequest) ProtoMessage() + func (m *BlockRequest) GetHeight() int64 + func (m *BlockRequest) Marshal() (dAtA []byte, err error) + func (m *BlockRequest) MarshalTo(dAtA []byte) (int, error) + func (m *BlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BlockRequest) Reset() + func (m *BlockRequest) Size() (n int) + func (m *BlockRequest) String() string + func (m *BlockRequest) Unmarshal(dAtA []byte) error + func (m *BlockRequest) XXX_DiscardUnknown() + func (m *BlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockRequest) XXX_Merge(src proto.Message) + func (m *BlockRequest) XXX_Size() int + func (m *BlockRequest) XXX_Unmarshal(b []byte) error + type BlockResponse struct + Block *types.Block + func (*BlockResponse) Descriptor() ([]byte, []int) + func (*BlockResponse) ProtoMessage() + func (m *BlockResponse) GetBlock() *types.Block + func (m *BlockResponse) Marshal() (dAtA []byte, err error) + func (m *BlockResponse) MarshalTo(dAtA []byte) (int, error) + func (m *BlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BlockResponse) Reset() + func (m *BlockResponse) Size() (n int) + func (m *BlockResponse) String() string + func (m *BlockResponse) Unmarshal(dAtA []byte) error + func (m *BlockResponse) XXX_DiscardUnknown() + func (m *BlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BlockResponse) XXX_Merge(src proto.Message) + func (m *BlockResponse) XXX_Size() int + func (m *BlockResponse) 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) GetBlockRequest() *BlockRequest + func (m *Message) GetBlockResponse() *BlockResponse + func (m *Message) GetNoBlockResponse() *NoBlockResponse + func (m *Message) GetStatusRequest() *StatusRequest + func (m *Message) GetStatusResponse() *StatusResponse + 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) 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_BlockRequest struct + BlockRequest *BlockRequest + func (m *Message_BlockRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_BlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_BlockRequest) Size() (n int) + type Message_BlockResponse struct + BlockResponse *BlockResponse + func (m *Message_BlockResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_BlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_BlockResponse) Size() (n int) + type Message_NoBlockResponse struct + NoBlockResponse *NoBlockResponse + func (m *Message_NoBlockResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_NoBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_NoBlockResponse) Size() (n int) + type Message_StatusRequest struct + StatusRequest *StatusRequest + func (m *Message_StatusRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_StatusRequest) Size() (n int) + type Message_StatusResponse struct + StatusResponse *StatusResponse + func (m *Message_StatusResponse) MarshalTo(dAtA []byte) (int, error) + func (m *Message_StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_StatusResponse) Size() (n int) + type NoBlockResponse struct + Height int64 + func (*NoBlockResponse) Descriptor() ([]byte, []int) + func (*NoBlockResponse) ProtoMessage() + func (m *NoBlockResponse) GetHeight() int64 + func (m *NoBlockResponse) Marshal() (dAtA []byte, err error) + func (m *NoBlockResponse) MarshalTo(dAtA []byte) (int, error) + func (m *NoBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NoBlockResponse) Reset() + func (m *NoBlockResponse) Size() (n int) + func (m *NoBlockResponse) String() string + func (m *NoBlockResponse) Unmarshal(dAtA []byte) error + func (m *NoBlockResponse) XXX_DiscardUnknown() + func (m *NoBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NoBlockResponse) XXX_Merge(src proto.Message) + func (m *NoBlockResponse) XXX_Size() int + func (m *NoBlockResponse) XXX_Unmarshal(b []byte) error + type StatusRequest struct + func (*StatusRequest) Descriptor() ([]byte, []int) + func (*StatusRequest) ProtoMessage() + func (m *StatusRequest) Marshal() (dAtA []byte, err error) + func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error) + func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StatusRequest) Reset() + func (m *StatusRequest) Size() (n int) + func (m *StatusRequest) String() string + func (m *StatusRequest) Unmarshal(dAtA []byte) error + func (m *StatusRequest) XXX_DiscardUnknown() + func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatusRequest) XXX_Merge(src proto.Message) + func (m *StatusRequest) XXX_Size() int + func (m *StatusRequest) XXX_Unmarshal(b []byte) error + type StatusResponse struct + Base int64 + Height int64 + func (*StatusResponse) Descriptor() ([]byte, []int) + func (*StatusResponse) ProtoMessage() + func (m *StatusResponse) GetBase() int64 + func (m *StatusResponse) GetHeight() int64 + func (m *StatusResponse) Marshal() (dAtA []byte, err error) + func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error) + func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *StatusResponse) Reset() + func (m *StatusResponse) Size() (n int) + func (m *StatusResponse) String() string + func (m *StatusResponse) Unmarshal(dAtA []byte) error + func (m *StatusResponse) XXX_DiscardUnknown() + func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatusResponse) XXX_Merge(src proto.Message) + func (m *StatusResponse) XXX_Size() int + func (m *StatusResponse) XXX_Unmarshal(b []byte) error