Cluster Violations

This is the place to discuss your developments on Evernode
Post Reply
wroomwroom
Posts: 18
Joined: Wed Jul 31, 2024 5:59 pm

Cluster Violations

Post by wroomwroom »

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.
wroomwroom
Posts: 18
Joined: Wed Jul 31, 2024 5:59 pm

Re: Cluster Violations

Post by wroomwroom »

Additionally, it seems like using the UNL keypairs for client-side communication alert violations too. Not always, but sometimes.
Post Reply