Expand description
Peer-sets and protocols used for parachains. All peersets and protocols used for parachains.
Structs§
- Collation
Version Iter - An iterator over the variants of CollationVersion
- Peer
SetIter - An iterator over the variants of PeerSet
- Peer
SetProtocol Names - On the wire protocol name to
PeerSet
mapping. - PerPeer
Set - A small and nifty collection that allows to store data pertaining to each peer set.
- Protocol
Version - A generic version of the protocol. This struct must not be created directly.
- Unknown
Version - Marker indicating the version is unknown.
- Validation
Version Iter - An iterator over the variants of ValidationVersion
Enums§
- Collation
Version - 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.
- Validation
Version - 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
NonDefaultSetConfig
s for all available peer sets, at their default versions.