referrerpolicy=no-referrer-when-downgrade

Module peer_set

Source
Expand description

Peer-sets and protocols used for parachains. All peersets and protocols used for parachains.

Structs§

CollationVersionIter
An iterator over the variants of CollationVersion
PeerSetIter
An iterator over the variants of PeerSet
PeerSetProtocolNames
On the wire protocol name to PeerSet mapping.
PerPeerSet
A small and nifty collection that allows to store data pertaining to each peer set.
ProtocolVersion
A generic version of the protocol. This struct must not be created directly.
UnknownVersion
Marker indicating the version is unknown.
ValidationVersionIter
An iterator over the variants of ValidationVersion

Enums§

CollationVersion
Supported collation protocol versions. Only versions defined here must be used in the codebase.
IsAuthority
Whether a node is an authority or not.
PeerSet
The peer-sets and thus the protocols which are used for the network.
ValidationVersion
Supported validation protocol versions. Only versions defined here must be used in the codebase.

Constants§

MAX_NOTIFICATION_SIZE
Max notification size is currently constant.

Functions§

peer_sets_info
Get NonDefaultSetConfigs for all available peer sets, at their default versions.