HomePhabricator

[avalanche] Don't ban peers sending us unsolicited avalanche messages

Description

[avalanche] Don't ban peers sending us unsolicited avalanche messages

Summary: This doesn't make sense to ban a peer for sending a message when some local option is missing, as there is no way for that peer to know about that. Just do the same than for any other message and ignore it.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Apr 15 2022, 08:48
FabienPushed on Apr 15 2022, 20:57
Reviewer
Restricted Project
Differential Revision
D11363: [avalanche] Don't ban peers sending us unsolicited avalanche messages
Parents
rABC4b293a83216c: [avalanche] Make the max number of outbound connection configurable
Branches
Unknown
Tags
Unknown