Page MenuHomePhabricator

[avalanche] Ignore duplicated avahello messages
ClosedPublic

Authored by Fabien on Apr 15 2022, 09:30.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC5c1189b9a2ae: [avalanche] Ignore duplicated avahello messages
Summary

And more generally don't allow a node to override its delegation without restarting. This is not a big deal because there is no such facility (yet) in the node, and it prevents a peer from sending messages repeatidly and use the node CPU for no reason.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_no_duplicate_avahello
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18834
Build 37458: Build Diffbuild-clang-tidy · build-debug · lint-circular-dependencies · build-without-wallet · build-clang · build-diff
Build 37457: arc lint + arc unit