lighthouse/beacon_node/network
Age Manning 8311074d68 Purge out-dated head chains on chain completion (#1538)
## Description

There can be many head chains queued up to complete. Currently we try and process all of these to completion before we consider the node synced. 

In a chaotic network, there can be many of these and processing them to completion can be very expensive and slow. This PR removes any non-syncing head chains from the queue, and re-status's the peers. If, after we have synced to head on one chain, there is still a valid head chain to download, it will be re-established once the status has been returned. 

This should assist with getting nodes to sync on medalla faster.
2020-08-18 05:22:34 +00:00
..
src Purge out-dated head chains on chain completion (#1538) 2020-08-18 05:22:34 +00:00
Cargo.toml Keep track of failed head chains and prevent re-lookups (#1534) 2020-08-18 03:54:09 +00:00