20 was an arbitrary value. If a node does not format its messages correctly it will get disconnected soon anyway, so don't give it 4 more chances and just disconnect it immediately.
Depends on D18016
Differential D18017
[avalanche] bump the misbehavior for oversized AVAPOLL messages Authored by PiRK on Apr 29 2025, 10:45.
Details
20 was an arbitrary value. If a node does not format its messages correctly it will get disconnected soon anyway, so don't give it 4 more chances and just disconnect it immediately. Depends on D18016 ninja all check-all
Diff Detail
Event Timeline
Comment Actions test only one message and complete the comment just below to mention why we don't wait_for_disconnect in this test | ||||||||||||||