lighthouse/beacon_node/network/src/subnet_service
Age Manning fdea8f2b27 Shift subnet backbone structure (attnets revamp) (#4304)
This PR address the following spec change: https://github.com/ethereum/consensus-specs/pull/3312

Instead of subscribing to a long-lived subnet for every attached validator to a beacon node, all beacon nodes will subscribe to `SUBNETS_PER_NODE` long-lived subnets. This is currently set to 2 for mainnet. 

This PR does not include any scoring or advanced discovery mechanisms. A future PR will improve discovery and we can implement scoring after the next hard fork when we expect all client teams and all implementations to respect this spec change.

This will be a significant change in the subnet network structure for consensus clients and we will likely have to monitor and tweak our peer management logic.
2023-05-30 06:15:56 +00:00
..
tests Shift subnet backbone structure (attnets revamp) (#4304) 2023-05-30 06:15:56 +00:00
attestation_subnets.rs Shift subnet backbone structure (attnets revamp) (#4304) 2023-05-30 06:15:56 +00:00
mod.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
sync_subnets.rs Separate BN for block proposals (#4182) 2023-04-26 01:12:36 +00:00