Module message

Module message 

Source

Structs§

Announcement
InventoryAnnouncement
Node announcing its inventory to the network. This should be the whole inventory every time.
NodeAnnouncement
Node announcing itself to the network.
Ping
A ping message.
RefsAnnouncement
Node announcing project refs being created or updated.
RefsStatus
Track the status of RefsAt within a given repository.
Subscribe
ZeroBytes
Represents a vector of zeroes of a certain length.

Enums§

AnnouncementMessage
Announcement messages are messages that are relayed between peers.
Info
Node announcing information to a connected peer.
Message
Message payload. These are the messages peers send to each other.

Constants§

ADDRESS_LIMIT
Maximum number of addresses which can be announced to other nodes.
INVENTORY_LIMIT
Maximum number of inventory which can be announced to other nodes.
REF_REMOTE_LIMIT
Maximum number of repository remotes that can be included in a RefsAnnouncement message.