HomePhabricator

[avalanche] bump the misbehavior for oversized AVAPOLL messages

Description

[avalanche] bump the misbehavior for oversized AVAPOLL messages

Summary:
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

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18017

Details

Provenance
PiRKAuthored on Tue, Apr 29, 10:32
PiRKPushed on Tue, Apr 29, 17:48
Reviewer
Restricted Project
Differential Revision
D18017: [avalanche] bump the misbehavior for oversized AVAPOLL messages
Parents
rABC3283f3540428: [avalanche] replace banscore int with disconnect bool in registerVotes
Branches
Unknown
Tags
Unknown