Violations are different "metrics" HotPocket uses to identify bad network peers. Violation means that peer has displayed some undesired network activity like sending malformed messages, abruptly dropping connection etc... Multiple repeated violations within a short time period will cause the peer to be banned temporarily. Banned means the peer will not be able to establish a connection to the node until the ban is lifted.
Currently this is internally set to 5 violations within 10 minutes will cause the peer to be banned for 10 minutes.
Violation 1 and 2 is usually when you are missing peer messages frequently.
Violation 4 is when the peer is inactive for long time.
An other violation example:
Sometimes nodes make 2 connections to each other at the same time. In such cases they agree to keep and share one of the connections while dropping the other. So that connection "drop" is also classified as a violation.
Cluster Violations
-
- Posts: 18
- Joined: Wed Jul 31, 2024 5:59 pm
Re: Cluster Violations
Additionally, it seems like using the UNL keypairs for client-side communication alert violations too. Not always, but sometimes.