avalanchego icon indicating copy to clipboard operation
avalanchego copied to clipboard

Blocks backfilling option - 4 Peers tracker optimization

Open abi87 opened this issue 1 year ago • 1 comments

How this works

Backfilling is split in the following PRs

  • [X] Introduce new interface as well as empty implementation to unlock compilation. See https://github.com/ava-labs/avalanchego/pull/2343
  • [X] Implement block retrieval in engine, via GetAncestors. See https://github.com/ava-labs/avalanchego/pull/2144
  • [X] Implement backfil handling in proposervm. Mind need to rebuild backfilled blocks list upon restart (see https://github.com/ava-labs/avalanchego/pull/2241)
  • [X] Implement backfil in coreth. See https://github.com/ava-labs/avalanchego/pull/2255
  • [X] Experiment with bandwith aware peer tracker to speed up blocks download.

How this was tested

CI + successful mainnet sync with https://github.com/ava-labs/avalanchego/pull/2273 code

abi87 avatar Nov 08 '23 13:11 abi87

This PR has become stale because it has been open for 30 days with no activity. Adding the lifecycle/frozen label will cause this PR to ignore lifecycle events.

github-actions[bot] avatar Feb 04 '24 00:02 github-actions[bot]