lighthouse/beacon_node
Paul Hauner 77f3539654 Improve eth1 block sync (#2008)
## Issue Addressed

NA

## Proposed Changes

- Log about eth1 whilst waiting for genesis.
- For the block and deposit caches, update them after each download instead of when *all* downloads are complete.
  - This prevents the case where a single timeout error can cause us to drop *all* previously download blocks/deposits.
- Set `max_log_requests_per_update` to avoid timeouts due to very large log counts in a response.
- Set `max_blocks_per_update` to prevent a single update of the block cache to download an unreasonable number of blocks.
  - This shouldn't have any affect in normal use, it's just a safe-guard against bugs.
- Increase the timeout for eth1 calls from 15s to 60s, as per @pawanjay176's experience with Infura.

## Additional Info

NA
2020-11-30 20:29:17 +00:00
..
beacon_chain Improve eth1 block sync (#2008) 2020-11-30 20:29:17 +00:00
client Improve eth1 block sync (#2008) 2020-11-30 20:29:17 +00:00
eth1 Improve eth1 block sync (#2008) 2020-11-30 20:29:17 +00:00
eth2_libp2p No string in slog (#2017) 2020-11-30 10:33:00 +00:00
genesis Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
http_api Improve eth1 block sync (#2008) 2020-11-30 20:29:17 +00:00
http_metrics Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
network No string in slog (#2017) 2020-11-30 10:33:00 +00:00
operation_pool Update pool/attestations and committees endpoints (#1899) 2020-11-18 23:31:39 +00:00
src Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
store Disable snappy in LevelDB to fix build issues (#1983) 2020-11-27 03:01:57 +00:00
tests Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
timer Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
websocket_server Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
Cargo.toml Bump to version v1.0.2 (#2001) 2020-11-28 13:22:37 +00:00