lighthouse/beacon_node/lighthouse_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
..
behaviour Fix some typos (#3376) 2022-07-27 00:51:06 +00:00
discovery [refactor] Refactor Option/Result combinators (#3180) 2022-05-16 01:59:47 +00:00
peer_manager Subscribe to subnets only when needed (#3419) 2022-09-05 00:22:48 +00:00
rpc Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
types Bump the MSRV to 1.62 and using #[derive(Default)] on enums (#3304) 2022-07-15 07:31:19 +00:00
config.rs Filter non global ips from discovery (#3023) 2022-03-02 03:14:27 +00:00
lib.rs libp2p upgrade + gossipsub interval fix (#3012) 2022-02-10 04:12:03 +00:00
metrics.rs Retry gossipsub messages when insufficient peers (#2964) 2022-02-03 01:12:30 +00:00
service.rs Custom RPC request management for sync (#3029) 2022-03-02 22:07:17 +00:00