chainbound / valtrack

An Ethereum validator crawler
MIT License
11 stars 3 forks source link

Bug in backoff counter #15

Closed namn-grg closed 1 month ago

namn-grg commented 1 month ago

It is observed from the logs that some peers keep getting dialled again and again.

The issue is likely in the back-off cache logic.

Ideally, the current implementation should not redial a peer if the counter exceeds 10, but it is seen that some peers have a counter reaching even 25.

(The initial attempt to solve this resulted in a steep decrease in the handshakes; hence careful obs is needed)