3.0.ipv8.dht.churn ================== .. py:module:: 3.0.ipv8.dht.churn Classes ------- .. autoapisummary:: 3.0.ipv8.dht.churn.PingChurn Module Contents --------------- .. py:class:: PingChurn(overlay: 3.0.ipv8.types.DHTCommunity, ping_interval: float = 25.0) Bases: :py:obj:`3.0.ipv8.peerdiscovery.discovery.DiscoveryStrategy` Strategy to maintain the data structures of the DHT community. .. py:attribute:: ping_interval .. py:method:: take_step() -> None Every tick (half-second by default), performs maintainence. If routing tables are set up: - Remove all "bad" nodes from the routing table. - Remove all nodes that are not part of any routing table. - Inspect the routing tables to register Network services for its peers. - Send pings to peers at our configured ping_interval.