Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(lib/sync): introduce fullsync strategy #4114

Open
wants to merge 83 commits into
base: development
Choose a base branch
from

Conversation

EclesioMeloJunior
Copy link
Member

@EclesioMeloJunior EclesioMeloJunior commented Aug 6, 2024

Changes

  • Remove dot/sync package
  • New sync package at lib/sync
  • Remove the concept of bootstrap and tip sync and just uses the fullsync as the default strategy
  • The SyncService uses the strategy approach as described in Refactor sync package to use the strategy approach #4112
  • This PR contains does not contains the concurrent request method process

Tests

go test -timeout 10m github.com/ChainSafe/gossamer/lib/sync --tags=integration -v

Issues

dot/services.go Outdated Show resolved Hide resolved
dot/services.go Outdated Show resolved Hide resolved
dot/services.go Outdated Show resolved Hide resolved
lib/sync/fullsync.go Outdated Show resolved Hide resolved
dot/sync/peer_view.go Outdated Show resolved Hide resolved
dot/sync/peer_view.go Outdated Show resolved Hide resolved
dot/sync/service.go Outdated Show resolved Hide resolved
dot/sync/worker_pool.go Outdated Show resolved Hide resolved
dot/sync/worker_pool.go Show resolved Hide resolved
dot/sync/fullsync.go Outdated Show resolved Hide resolved
dot/sync/fullsync.go Outdated Show resolved Hide resolved
dot/sync/fullsync.go Outdated Show resolved Hide resolved
dot/sync/fullsync.go Outdated Show resolved Hide resolved
dot/sync/fullsync_handle_block.go Outdated Show resolved Hide resolved
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.

Gossamer sync target is not being correctly updated Refactor sync package to use the strategy approach
6 participants