lighthouse/beacon_node/lighthouse_network
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
..
src PeerDB Status unknown bug fix (#2907) 2022-01-14 05:42:48 +00:00
tests Add peer score adjustment msgs (#2901) 2022-01-12 05:32:14 +00:00
Cargo.toml Update to superstruct v0.4.1 (#2886) 2022-01-06 03:14:58 +00:00