Kagome
Polkadot Runtime Engine in C++17
peering_config.hpp File Reference
#include <chrono>
Include dependency graph for peering_config.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kagome::network::PeeringConfig
 

Namespaces

 kagome::network
 

Class Documentation

struct kagome::network::PeeringConfig

Definition at line 13 of file peering_config.hpp.

Collaboration diagram for kagome::network::PeeringConfig:
Class Members
seconds aligningPeriod Period of active peers amount aligning.
size_t hardLimit Max peers before start forced disconnection.
seconds peerTtl Time of peer inactivity to disconnect.
size_t softLimit Max peers count before start to disconnect of inactive ones.
size_t targetPeerAmount Target amount of active peers.