lighthouse/beacon_node
Age Manning 280e4fe23d Increase connection limits and allow priority connections (#2604)
In previous network updates we have made our libp2p connections more lean by limiting the maximum number of connections a lighthouse node will accept before libp2p rejects new connections. 

However, we still maintain the logic that at maximum connections, we try to dial extra peers if they are needed by a validator client to publish messages on a specific subnet. The dials typically result in failures due the libp2p connection limits. 

This PR adds an extra factor, `PRIORITY_PEER_EXCESS` which sets aside a new allocation of peers we are able to dial in case we need these peers for the VC client.  This allocation sits along side the excess peer (which allows extra incoming peers on top of our target peer limit). 

The drawback here, is that libp2p now allows extra peers to connect to us (beyond the standard peer limit) which the peer manager should subsequently reject.
2021-09-21 07:45:13 +00:00
..
beacon_chain Update sloggers to v2.0.2 (#2588) 2021-09-14 06:48:26 +00:00
client Update sloggers to v2.0.2 (#2588) 2021-09-14 06:48:26 +00:00
eth1 Update sloggers to v2.0.2 (#2588) 2021-09-14 06:48:26 +00:00
eth2_libp2p Increase connection limits and allow priority connections (#2604) 2021-09-21 07:45:13 +00:00
genesis Updates to make crates publishable (#2472) 2021-09-03 01:10:25 +00:00
http_api Updates to make crates publishable (#2472) 2021-09-03 01:10:25 +00:00
http_metrics Upgrade dependencies (#2513) 2021-08-17 01:00:24 +00:00
network Subscribe to altair gossip topics 2 slots before fork (#2532) 2021-09-17 01:11:16 +00:00
operation_pool Optimize process_attestation with active balance cache (#2560) 2021-09-03 07:50:43 +00:00
src Shutdown after sync (#2519) 2021-08-30 13:46:13 +00:00
store Update sloggers to v2.0.2 (#2588) 2021-09-14 06:48:26 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Upgrade dependencies (#2513) 2021-08-17 01:00:24 +00:00
websocket_server Server sent events (#1920) 2020-12-04 00:18:58 +00:00
Cargo.toml v1.5.2 (#2595) 2021-09-13 23:01:19 +00:00