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

fix(sync): ignore block request if blocks are already inside the cache #817

Merged
merged 2 commits into from
Nov 16, 2023

Conversation

themantre
Copy link
Contributor

Description

This PR updates the logic to avoid sending the block request message if the requested blocks are already present in the cache.

Copy link

codecov bot commented Nov 16, 2023

Codecov Report

Merging #817 (a0d1894) into main (b6ff47d) will decrease coverage by 0.01%.
Report is 1 commits behind head on main.
The diff coverage is 54.54%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #817      +/-   ##
==========================================
- Coverage   82.76%   82.75%   -0.01%     
==========================================
  Files         172      172              
  Lines        8355     8357       +2     
==========================================
+ Hits         6915     6916       +1     
- Misses       1114     1116       +2     
+ Partials      326      325       -1     

@b00f b00f merged commit deeb8bd into main Nov 16, 2023
11 of 12 checks passed
@b00f b00f deleted the sync-block-cache branch November 16, 2023 15:58
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