HomePhabricator

[avalanche] Ignore duplicated avahello messages

Description

[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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Apr 15 2022, 09:26
FabienPushed on Apr 19 2022, 07:49
Reviewer
Restricted Project
Differential Revision
D11364: [avalanche] Ignore duplicated avahello messages
Parents
rABC0a21a492d38c: [avalanche] Bump our avalanche outbound connections
Branches
Unknown
Tags
Unknown