Module message

Source

Structs§

FindPeerMsg
FindPeer message used to find a specific peer.
NetMsg
Defines the main message in the karyon p2p network.
NetMsgHeader
Represents the header of a message.
PeerMsg
PeerMsg containing information about a peer.
PeersMsg
PeersMsg a list of PeerMsg.
PingMsg
Ping message with a nonce and version information.
PongMsg
Ping message with a nonce.
ProtocolMsg
Defines a message related to a specific protocol.
ShutdownMsg
Shutdown message.
VerAckMsg
VerAck message acknowledges the receipt of a Version message. The message consists of the peer ID and an acknowledgment boolean value indicating whether the version is accepted.
VerMsg
Version message, providing information about a peer’s capabilities.

Enums§

NetMsgCmd
Defines message commands.
RefreshMsg