lighthouse/beacon_node/lighthouse_network/src
Age Manning fc7a1a7dc7 Allow disconnected states to introduce new peers without warning (#2922)
## Issue Addressed

We emit a warning to verify that all peer connection state information is consistent. A warning is given under one edge case;
We try to dial a peer with peer-id X and multiaddr Y. The peer responds to multiaddr Y with a different peer-id, Z. The dialing to the peer fails, but libp2p injects the failed attempt as peer-id Z. 

In this instance, our PeerDB tries to add a new peer in the disconnected state under a previously unknown peer-id. This is harmless and so this PR permits this behaviour without logging a warning.
2022-01-20 09:14:25 +00:00
..
behaviour Network performance tuning (#2608) 2022-01-14 05:42:47 +00:00
discovery Network performance tuning (#2608) 2022-01-14 05:42:47 +00:00
peer_manager Allow disconnected states to introduce new peers without warning (#2922) 2022-01-20 09:14:25 +00:00
rpc Restrict network limits based on merge fork epoch (#2839) 2021-12-02 14:32:31 +11:00
types Unban peers at the swarm level when purged (#2855) 2021-12-20 23:45:21 +00:00
config.rs Network performance tuning (#2608) 2022-01-14 05:42:47 +00:00
lib.rs Additional networking metrics (#2549) 2021-12-22 06:17:14 +00:00
metrics.rs Add peer score adjustment msgs (#2901) 2022-01-12 05:32:14 +00:00
service.rs Network performance tuning (#2608) 2022-01-14 05:42:47 +00:00