Page MenuHomePhabricator

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

Authored by Fabien on Apr 15 2022, 08:54.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_dont_ban_messages
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18833
Build 37456: Build Diffbuild-without-wallet · build-diff · lint-circular-dependencies · build-clang-tidy · build-clang · build-debug
Build 37455: arc lint + arc unit