Module sc_network_common::config
source · Expand description
Configuration of the networking layer.
Structs
Address of a node, including its identity.
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.Enums
Error that can be generated by
parse_str_addr
.Functions
Splits a Multiaddress into a Multiaddress and PeerId.
Parses a string address and splits it into Multiaddress and PeerId, if
valid.