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(sync): refactoring sync process #807

Merged
merged 6 commits into from
Nov 11, 2023
Merged

refactor(sync): refactoring sync process #807

merged 6 commits into from
Nov 11, 2023

Conversation

themantre
Copy link
Contributor

Description

The syncing process should be faster by 30% after this PR.
This PR simply re-downloads the incomplete sessions, if any exist.
It is normal to lose connection with some peers during the download.
Instead of downloading from the beginning, we attempt to fill the gaps between the downloaded blocks.

Copy link

codecov bot commented Nov 10, 2023

Codecov Report

Merging #807 (555b6a1) into main (c834346) will increase coverage by 0.09%.
The diff coverage is 84.97%.

@@            Coverage Diff             @@
##             main     #807      +/-   ##
==========================================
+ Coverage   82.91%   83.01%   +0.09%     
==========================================
  Files         173      173              
  Lines        8254     8319      +65     
==========================================
+ Hits         6844     6906      +62     
- Misses       1090     1093       +3     
  Partials      320      320              

@b00f b00f merged commit 2797b2a into main Nov 11, 2023
12 checks passed
@b00f b00f deleted the refactor-sync branch November 11, 2023 04:59
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.

2 participants