lighthouse-pulse/beacon_node
Age Manning 6625aa4afe Status'd Peer Not Found (#2761)
## Issue Addressed

Users are experiencing `Status'd peer not found` errors

## Proposed Changes

Although I cannot reproduce this error, this is only one connection state change that is not addressed in the peer manager (that I could see). The error occurs because the number of disconnected peers in the peerdb becomes out of sync with the actual number of disconnected peers. From what I can tell almost all possible connection state changes are handled, except for the case when a disconnected peer changes to be disconnecting. This can potentially happen at the peer connection limit, where a previously connected peer switches to disconnecting. 

This PR decrements the disconnected counter when this event occurs and from what I can tell, covers all possible disconnection state changes in the peer manager.
2021-11-28 22:46:17 +00:00
..
beacon_chain Update Lighthouse Dependencies (#2818) 2021-11-18 05:08:42 +00:00
client Update Lighthouse Dependencies (#2818) 2021-11-18 05:08:42 +00:00
eth1 Update Lighthouse Dependencies (#2818) 2021-11-18 05:08:42 +00:00
genesis Update Lighthouse Dependencies (#2818) 2021-11-18 05:08:42 +00:00
http_api Revert peer DB changes from #2724 (#2828) 2021-11-25 03:45:52 +00:00
http_metrics Update Lighthouse Dependencies (#2818) 2021-11-18 05:08:42 +00:00
lighthouse_network Status'd Peer Not Found (#2761) 2021-11-28 22:46:17 +00:00
network Correctly update range status when outdated chains are removed (#2827) 2021-11-26 01:13:49 +00:00
operation_pool Add op pool metrics for attestations (#2758) 2021-11-01 05:52:31 +00:00
src De-duplicate attestations in the slasher (#2767) 2021-11-08 00:01:09 +00:00
store Add API version headers and map_fork_name! (#2745) 2021-10-28 01:18:04 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Update Lighthouse Dependencies (#2818) 2021-11-18 05:08:42 +00:00
websocket_server Server sent events (#1920) 2020-12-04 00:18:58 +00:00
Cargo.toml Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00