Documentation ¶
Overview ¶
Package salud monitors the connected peers, calculates certain thresholds, and marks peers as unhealthy that fall short of the thresholds to maintain network salud (health).
Index ¶
Constants ¶
View Source
const ( DefaultMinPeersPerBin = 4 DefaultDurPercentile = 0.4 // consider 40% as healthy, lower percentile = stricter duration check DefaultConnsPercentile = 0.8 // consider 80% as healthy, lower percentile = stricter conns check )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.