Expand description

Configuration of the networking layer.

Structs

  • Address of a node, including its identity.
  • Extension to SetConfig for sets that aren’t the default set.
  • Custom handshake for the notification protocol
  • Protocol name prefix, transmitted on the wire for legacy protocol names. I.e., dot in /dot/sync/2. Should be unique for each chain. Always UTF-8. Deprecated in favour of genesis hash & fork ID based protocol names.
  • Configuration for a set of nodes.

Enums

Functions

  • Splits a Multiaddress into a Multiaddress and PeerId.
  • Parses a string address and splits it into Multiaddress and PeerId, if valid.