Module polkadot_node_network_protocol::peer_set
source · Expand description
Peer-sets and protocols used for parachains. All peersets and protocols used for parachains.
Structs
- An iterator over the variants of Self
- An iterator over the variants of Self
- On the wire protocol name to
PeerSet
mapping. - A small and nifty collection that allows to store data pertaining to each peer set.
- A generic version of the protocol. This struct must not be created directly.
- An iterator over the variants of Self
Enums
- Supported collation protocol versions. Only versions defined here must be used in the codebase.
- Whether a node is an authority or not.
- The peer-sets and thus the protocols which are used for the network.
- Supported validation protocol versions. Only versions defined here must be used in the codebase.
Constants
- Max notification size is currently constant.
Functions
- Get
NonDefaultSetConfig
s for all available peer sets, at their default versions.