Versions in this module Expand all Collapse all v0 v0.38.78 Jul 18, 2023 v0.38.77 Jul 18, 2023 Changes in this version + var ErrIntOverflowConn = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowPex = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthConn = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthPex = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupConn = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupPex = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + type AuthSigMessage struct + PubKey crypto.PublicKey + Sig []byte + func (*AuthSigMessage) Descriptor() ([]byte, []int) + func (*AuthSigMessage) ProtoMessage() + func (m *AuthSigMessage) GetPubKey() crypto.PublicKey + func (m *AuthSigMessage) GetSig() []byte + func (m *AuthSigMessage) Marshal() (dAtA []byte, err error) + func (m *AuthSigMessage) MarshalTo(dAtA []byte) (int, error) + func (m *AuthSigMessage) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AuthSigMessage) Reset() + func (m *AuthSigMessage) Size() (n int) + func (m *AuthSigMessage) String() string + func (m *AuthSigMessage) Unmarshal(dAtA []byte) error + func (m *AuthSigMessage) XXX_DiscardUnknown() + func (m *AuthSigMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuthSigMessage) XXX_Merge(src proto.Message) + func (m *AuthSigMessage) XXX_Size() int + func (m *AuthSigMessage) XXX_Unmarshal(b []byte) error + type DefaultNodeInfo struct + Channels []byte + DefaultNodeID string + ListenAddr string + Moniker string + Network string + Other DefaultNodeInfoOther + ProtocolVersion ProtocolVersion + Version string + func (*DefaultNodeInfo) Descriptor() ([]byte, []int) + func (*DefaultNodeInfo) ProtoMessage() + func (m *DefaultNodeInfo) GetChannels() []byte + func (m *DefaultNodeInfo) GetDefaultNodeID() string + func (m *DefaultNodeInfo) GetListenAddr() string + func (m *DefaultNodeInfo) GetMoniker() string + func (m *DefaultNodeInfo) GetNetwork() string + func (m *DefaultNodeInfo) GetOther() DefaultNodeInfoOther + func (m *DefaultNodeInfo) GetProtocolVersion() ProtocolVersion + func (m *DefaultNodeInfo) GetVersion() string + func (m *DefaultNodeInfo) Marshal() (dAtA []byte, err error) + func (m *DefaultNodeInfo) MarshalTo(dAtA []byte) (int, error) + func (m *DefaultNodeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DefaultNodeInfo) Reset() + func (m *DefaultNodeInfo) Size() (n int) + func (m *DefaultNodeInfo) String() string + func (m *DefaultNodeInfo) Unmarshal(dAtA []byte) error + func (m *DefaultNodeInfo) XXX_DiscardUnknown() + func (m *DefaultNodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DefaultNodeInfo) XXX_Merge(src proto.Message) + func (m *DefaultNodeInfo) XXX_Size() int + func (m *DefaultNodeInfo) XXX_Unmarshal(b []byte) error + type DefaultNodeInfoOther struct + RPCAddress string + TxIndex string + func (*DefaultNodeInfoOther) Descriptor() ([]byte, []int) + func (*DefaultNodeInfoOther) ProtoMessage() + func (m *DefaultNodeInfoOther) GetRPCAddress() string + func (m *DefaultNodeInfoOther) GetTxIndex() string + func (m *DefaultNodeInfoOther) Marshal() (dAtA []byte, err error) + func (m *DefaultNodeInfoOther) MarshalTo(dAtA []byte) (int, error) + func (m *DefaultNodeInfoOther) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DefaultNodeInfoOther) Reset() + func (m *DefaultNodeInfoOther) Size() (n int) + func (m *DefaultNodeInfoOther) String() string + func (m *DefaultNodeInfoOther) Unmarshal(dAtA []byte) error + func (m *DefaultNodeInfoOther) XXX_DiscardUnknown() + func (m *DefaultNodeInfoOther) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DefaultNodeInfoOther) XXX_Merge(src proto.Message) + func (m *DefaultNodeInfoOther) XXX_Size() int + func (m *DefaultNodeInfoOther) 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) GetPexAddrs() *PexAddrs + func (m *Message) GetPexRequest() *PexRequest + 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_PexAddrs struct + PexAddrs *PexAddrs + func (m *Message_PexAddrs) MarshalTo(dAtA []byte) (int, error) + func (m *Message_PexAddrs) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_PexAddrs) Size() (n int) + type Message_PexRequest struct + PexRequest *PexRequest + func (m *Message_PexRequest) MarshalTo(dAtA []byte) (int, error) + func (m *Message_PexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Message_PexRequest) Size() (n int) + type NetAddress struct + ID string + IP string + Port uint32 + func (*NetAddress) Descriptor() ([]byte, []int) + func (*NetAddress) ProtoMessage() + func (m *NetAddress) GetID() string + func (m *NetAddress) GetIP() string + func (m *NetAddress) GetPort() uint32 + func (m *NetAddress) Marshal() (dAtA []byte, err error) + func (m *NetAddress) MarshalTo(dAtA []byte) (int, error) + func (m *NetAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NetAddress) Reset() + func (m *NetAddress) Size() (n int) + func (m *NetAddress) String() string + func (m *NetAddress) Unmarshal(dAtA []byte) error + func (m *NetAddress) XXX_DiscardUnknown() + func (m *NetAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NetAddress) XXX_Merge(src proto.Message) + func (m *NetAddress) XXX_Size() int + func (m *NetAddress) XXX_Unmarshal(b []byte) error + type Packet struct + Sum isPacket_Sum + func (*Packet) Descriptor() ([]byte, []int) + func (*Packet) ProtoMessage() + func (*Packet) XXX_OneofWrappers() []interface{} + func (m *Packet) GetPacketMsg() *PacketMsg + func (m *Packet) GetPacketPing() *PacketPing + func (m *Packet) GetPacketPong() *PacketPong + func (m *Packet) GetSum() isPacket_Sum + func (m *Packet) Marshal() (dAtA []byte, err error) + func (m *Packet) MarshalTo(dAtA []byte) (int, error) + func (m *Packet) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Packet) Reset() + func (m *Packet) Size() (n int) + func (m *Packet) String() string + func (m *Packet) Unmarshal(dAtA []byte) error + func (m *Packet) XXX_DiscardUnknown() + func (m *Packet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Packet) XXX_Merge(src proto.Message) + func (m *Packet) XXX_Size() int + func (m *Packet) XXX_Unmarshal(b []byte) error + type PacketMsg struct + ChannelID int32 + Data []byte + EOF bool + func (*PacketMsg) Descriptor() ([]byte, []int) + func (*PacketMsg) ProtoMessage() + func (m *PacketMsg) GetChannelID() int32 + func (m *PacketMsg) GetData() []byte + func (m *PacketMsg) GetEOF() bool + func (m *PacketMsg) Marshal() (dAtA []byte, err error) + func (m *PacketMsg) MarshalTo(dAtA []byte) (int, error) + func (m *PacketMsg) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PacketMsg) Reset() + func (m *PacketMsg) Size() (n int) + func (m *PacketMsg) String() string + func (m *PacketMsg) Unmarshal(dAtA []byte) error + func (m *PacketMsg) XXX_DiscardUnknown() + func (m *PacketMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PacketMsg) XXX_Merge(src proto.Message) + func (m *PacketMsg) XXX_Size() int + func (m *PacketMsg) XXX_Unmarshal(b []byte) error + type PacketPing struct + func (*PacketPing) Descriptor() ([]byte, []int) + func (*PacketPing) ProtoMessage() + func (m *PacketPing) Marshal() (dAtA []byte, err error) + func (m *PacketPing) MarshalTo(dAtA []byte) (int, error) + func (m *PacketPing) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PacketPing) Reset() + func (m *PacketPing) Size() (n int) + func (m *PacketPing) String() string + func (m *PacketPing) Unmarshal(dAtA []byte) error + func (m *PacketPing) XXX_DiscardUnknown() + func (m *PacketPing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PacketPing) XXX_Merge(src proto.Message) + func (m *PacketPing) XXX_Size() int + func (m *PacketPing) XXX_Unmarshal(b []byte) error + type PacketPong struct + func (*PacketPong) Descriptor() ([]byte, []int) + func (*PacketPong) ProtoMessage() + func (m *PacketPong) Marshal() (dAtA []byte, err error) + func (m *PacketPong) MarshalTo(dAtA []byte) (int, error) + func (m *PacketPong) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PacketPong) Reset() + func (m *PacketPong) Size() (n int) + func (m *PacketPong) String() string + func (m *PacketPong) Unmarshal(dAtA []byte) error + func (m *PacketPong) XXX_DiscardUnknown() + func (m *PacketPong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PacketPong) XXX_Merge(src proto.Message) + func (m *PacketPong) XXX_Size() int + func (m *PacketPong) XXX_Unmarshal(b []byte) error + type Packet_PacketMsg struct + PacketMsg *PacketMsg + func (m *Packet_PacketMsg) MarshalTo(dAtA []byte) (int, error) + func (m *Packet_PacketMsg) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Packet_PacketMsg) Size() (n int) + type Packet_PacketPing struct + PacketPing *PacketPing + func (m *Packet_PacketPing) MarshalTo(dAtA []byte) (int, error) + func (m *Packet_PacketPing) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Packet_PacketPing) Size() (n int) + type Packet_PacketPong struct + PacketPong *PacketPong + func (m *Packet_PacketPong) MarshalTo(dAtA []byte) (int, error) + func (m *Packet_PacketPong) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Packet_PacketPong) Size() (n int) + type PexAddrs struct + Addrs []NetAddress + func (*PexAddrs) Descriptor() ([]byte, []int) + func (*PexAddrs) ProtoMessage() + func (m *PexAddrs) GetAddrs() []NetAddress + func (m *PexAddrs) Marshal() (dAtA []byte, err error) + func (m *PexAddrs) MarshalTo(dAtA []byte) (int, error) + func (m *PexAddrs) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PexAddrs) Reset() + func (m *PexAddrs) Size() (n int) + func (m *PexAddrs) String() string + func (m *PexAddrs) Unmarshal(dAtA []byte) error + func (m *PexAddrs) Wrap() proto.Message + func (m *PexAddrs) XXX_DiscardUnknown() + func (m *PexAddrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PexAddrs) XXX_Merge(src proto.Message) + func (m *PexAddrs) XXX_Size() int + func (m *PexAddrs) XXX_Unmarshal(b []byte) error + type PexRequest struct + func (*PexRequest) Descriptor() ([]byte, []int) + func (*PexRequest) ProtoMessage() + func (m *PexRequest) Marshal() (dAtA []byte, err error) + func (m *PexRequest) MarshalTo(dAtA []byte) (int, error) + func (m *PexRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PexRequest) Reset() + func (m *PexRequest) Size() (n int) + func (m *PexRequest) String() string + func (m *PexRequest) Unmarshal(dAtA []byte) error + func (m *PexRequest) Wrap() proto.Message + func (m *PexRequest) XXX_DiscardUnknown() + func (m *PexRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PexRequest) XXX_Merge(src proto.Message) + func (m *PexRequest) XXX_Size() int + func (m *PexRequest) XXX_Unmarshal(b []byte) error + type ProtocolVersion struct + App uint64 + Block uint64 + P2P uint64 + func (*ProtocolVersion) Descriptor() ([]byte, []int) + func (*ProtocolVersion) ProtoMessage() + func (m *ProtocolVersion) GetApp() uint64 + func (m *ProtocolVersion) GetBlock() uint64 + func (m *ProtocolVersion) GetP2P() uint64 + func (m *ProtocolVersion) Marshal() (dAtA []byte, err error) + func (m *ProtocolVersion) MarshalTo(dAtA []byte) (int, error) + func (m *ProtocolVersion) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ProtocolVersion) Reset() + func (m *ProtocolVersion) Size() (n int) + func (m *ProtocolVersion) String() string + func (m *ProtocolVersion) Unmarshal(dAtA []byte) error + func (m *ProtocolVersion) XXX_DiscardUnknown() + func (m *ProtocolVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ProtocolVersion) XXX_Merge(src proto.Message) + func (m *ProtocolVersion) XXX_Size() int + func (m *ProtocolVersion) XXX_Unmarshal(b []byte) error