lighthouse/beacon_node/network/src
Divma 473abc14ca Subscribe to subnets only when needed (#3419)
## Issue Addressed

We currently subscribe to attestation subnets as soon as the subscription arrives (one epoch in advance), this makes it so that subscriptions for future slots are scheduled instead of done immediately. 

## Proposed Changes

- Schedule subscriptions to subnets for future slots.
- Finish removing hashmap_delay, in favor of [delay_map](https://github.com/AgeManning/delay_map). This was the only remaining service to do this.
- Subscriptions for past slots are rejected, before we would subscribe for one slot.
- Add a new test for subscriptions that are not consecutive.

## Additional Info

This is also an effort in making the code easier to understand
2022-09-05 00:22:48 +00:00
..
beacon_processor Refactor op pool for speed and correctness (#3312) 2022-08-29 09:10:26 +00:00
router Remove unused method in HandlerNetworkContext (#3299) 2022-07-04 02:56:14 +00:00
service Filter non global ips from discovery (#3023) 2022-03-02 03:14:27 +00:00
subnet_service Subscribe to subnets only when needed (#3419) 2022-09-05 00:22:48 +00:00
sync Pause sync when EE is offline (#3428) 2022-08-24 23:34:56 +00:00
error.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
lib.rs Separate committee subscriptions queue (#3508) 2022-08-30 05:47:31 +00:00
metrics.rs Separate committee subscriptions queue (#3508) 2022-08-30 05:47:31 +00:00
nat.rs rust 1.53.0 updates (#2411) 2021-06-18 05:58:01 +00:00
persisted_dht.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
service.rs Separate committee subscriptions queue (#3508) 2022-08-30 05:47:31 +00:00
status.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00