-
Notifications
You must be signed in to change notification settings - Fork 938
Description
Description
The current syncing mechanism sequentially requests batches of blocks from peers. Although the requests are asynchronous an un-ordered between each peer, for an individual peer, these are requested sequentially and ordered.
The mechanism should updated to allow for batched, un-ordered, asynchronous requests from an individual peer. This will be useful to simultaneously request batches of blocks for any given peer and will be necessary for load-balancing block batches amongst peers with the same finalized root block.
The batched process should be load-balanced by grouping peers with identical finalized block roots and asynchronously requesting block batches from the group. Once updated to the finalized head, the standard batch process per-peer should be continued (grouping peers with identical root heads).