Module rings_node::measure

source ·
Expand description

This module implemented the Measure trait for swarm.

Structs

  • PeriodicMeasure is used to assess the reliability of peers by counting their behaviour. It currently count the number of sent and received messages in a given period (1 hour). The method Measure::incr should be called in the proper places.