mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-20 19:40:52 +00:00
654b8d66bf
* addPeer() and addPeerNoWait() now returns PeerStatus, not bool. Minor refactoring of PeerPool. Fix tests. * Refactor PeerPool. Add lenSpace. Add tests for lenSpace. PeerPool.add procedures now return different error codes. Fix SyncManager break/continue problem. Fix connectWorker break/continue problem. Refactor connectWorker and discoveryLoop. Fix incoming/outgoing blocking problem. * Refactor discovery loop. Add checkPeer. * Fix logic and compilation bugs. * Adjust position of debugging log. * Fix issue with maximum peers in PeerPool. Optimize node record decoding. * fix discoveryLoop. * Remove aliases and fix tests using aliases.