referrerpolicy=no-referrer-when-downgrade
Expand description

Configuration of the networking layer.

The Params struct is the struct that must be passed in order to initialize the networking. See the documentation of Params.

Modules§

Macros§

Structs§

Enums§

  • Network backend type.
  • The configuration of a node’s secret key, describing the type of key and how it is obtained. A node’s identity keypair is the result of the evaluation of the node key configuration.
  • The policy for connections to non-reserved peers.
  • Error that can be generated by parse_str_addr.
  • The protocol name transmitted on the wire.
  • Role of the local node.
  • The configuration options for obtaining a secret key K.
  • Sync operation mode.
  • Configuration for the transport layer.

Constants§

Traits§

Functions§

  • Create new (protocol, notification) handle pair.
  • Splits a Multiaddress into a Multiaddress and PeerId.
  • Parses a string address and splits it into Multiaddress and PeerId, if valid.

Type Aliases§