lighthouse/beacon_node
divma 8a16548715 Misc Peer sync info adjustments (#1896)
## Issue Addressed
#1856 

## Proposed Changes
- For clarity, the router's processor now only decides if a peer is compatible and it disconnects it or sends it to sync accordingly. No logic here regarding how useful is the peer. 
- Update peer_sync_info's rules
- Add an `IrrelevantPeer` sync status to account for incompatible peers (maybe this should be "IncompatiblePeer" now that I think about it?) this state is update upon receiving an internal goodbye in the peer manager
- Misc code cleanups
- Reduce the need to create `StatusMessage`s (and thus, `Arc` accesses )
- Add missing calls to update the global sync state

The overall effect should be:
- More peers recognized as Behind, and less as Unknown
- Peers identified as incompatible
2020-11-13 09:00:10 +00:00
..
beacon_chain Standard beacon api updates (#1831) 2020-11-09 23:13:56 +00:00
client Add --testnet mainnet and start HTTP server before genesis (#1862) 2020-11-09 05:04:03 +00:00
eth1 Return eth1-related data via the API (#1797) 2020-11-02 00:37:30 +00:00
eth2_libp2p Misc Peer sync info adjustments (#1896) 2020-11-13 09:00:10 +00:00
genesis Return eth1-related data via the API (#1797) 2020-11-02 00:37:30 +00:00
http_api Peer endpoint updates (#1893) 2020-11-13 02:02:41 +00:00
http_metrics Support pre-flight CORS check (#1772) 2020-10-22 04:47:27 +00:00
network Misc Peer sync info adjustments (#1896) 2020-11-13 09:00:10 +00:00
operation_pool Refine op pool pruning (#1805) 2020-10-22 04:47:29 +00:00
src Small network adjustments (#1884) 2020-11-13 06:06:33 +00:00
store Compact database on finalization (#1871) 2020-11-09 07:02:21 +00:00
tests Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
timer Upgrade discovery and restructure task execution (#1693) 2020-10-05 18:45:54 +11:00
websocket_server Update external deps (#1711) 2020-10-05 08:22:19 +00:00
Cargo.toml Release v0.3.4 (#1894) 2020-11-13 06:06:35 +00:00