Module darkfi::net::settings

source ·
Expand description

Network configuration settings. This holds the configured P2P instance behaviour and is controlled by clients of this API.

Structs§

  • P2P network settings. The scope of this is a P2P network instance configured by the library user.
  • Defines the network settings.

Enums§

  • Ban policy which if set to Relaxed will not ban peers if the case they send a message without a corresponding MessageDispatcher. This is useful for nodes that may not be subscribed to protocols, such as Lilith. For most uses this should be set to Strict.

Type Aliases§