Skip to content

Conversation

@AgeManning
Copy link
Member

@AgeManning AgeManning commented Dec 4, 2019

Description

This is another re-write of Lighthouse's syncing logic. This employs a new long-range syncing algorithm which has a variety of features and improvements on its predecessor:

  • Groups peers to similar chains and load-balances the downloading of batches from pool'd peers.
  • Groups peers based on identical finalised chains then on identical head chains
  • Removes polling and searching to progress state and now a single action progresses the global syncing state machine to completion

Note that this syncing version is not entirely complete. Error handling and malicious actors are not accounted for yet.

Along with the syncing improvement, this PR comes with minor bug fixes:

  • Corrects maxpeers lock
  • Changes ports for gossipsub tests
  • Cleans up logging

This addresses #509

@AgeManning AgeManning added this to the Public Testnet milestone Dec 4, 2019
@AgeManning AgeManning merged commit 5853326 into master Dec 9, 2019
@AgeManning AgeManning deleted the sync-load-balancing branch January 3, 2020 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants