lighthouse/beacon_node
Age Manning 1c667ad3ca PeerDB Status unknown bug fix (#2907)
## Issue Addressed

The PeerDB was getting out of sync with the number of disconnected peers compared to the actual count. As this value determines how many we store in our cache, over time the cache was depleting and we were removing peers immediately resulting in errors that manifest as unknown peers for some operations.

The error occurs when dialing a peer fails, we were not correctly updating the peerdb counter because the increment to the counter was placed in the wrong order and was therefore not incrementing the count. 

This PR corrects this.
2022-01-14 05:42:48 +00:00
..
beacon_chain Add peer score adjustment msgs (#2901) 2022-01-12 05:32:14 +00:00
client Additional networking metrics (#2549) 2021-12-22 06:17:14 +00:00
eth1 Bump crate versions (#2829) 2021-12-02 14:29:57 +11:00
execution_layer Rust 1.58 lints (#2906) 2022-01-13 22:39:58 +00:00
genesis Bump crate versions (#2829) 2021-12-02 14:29:57 +11:00
http_api Additional networking metrics (#2549) 2021-12-22 06:17:14 +00:00
http_metrics Additional networking metrics (#2549) 2021-12-22 06:17:14 +00:00
lighthouse_network PeerDB Status unknown bug fix (#2907) 2022-01-14 05:42:48 +00:00
network Remove penalty for attesting to unknown head (#2903) 2022-01-13 03:08:38 +00:00
operation_pool Bump crate versions (#2829) 2021-12-02 14:29:57 +11:00
src Network performance tuning (#2608) 2022-01-14 05:42:47 +00:00
store Additional networking metrics (#2549) 2021-12-22 06:17:14 +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
Cargo.toml Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00