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

feat: ban a peer if it's still in IBD with a very high probability #171

Conversation

yangby-cryptape
Copy link
Collaborator

The IBD status judgement condition is copied from CKB.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (86865db) 71.39% compared to head (d180c49) 71.45%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #171      +/-   ##
===========================================
+ Coverage    71.39%   71.45%   +0.05%     
===========================================
  Files           25       25              
  Lines         6479     6492      +13     
===========================================
+ Hits          4626     4639      +13     
  Misses        1853     1853              
Flag Coverage Δ
unittests 71.45% <100.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yangby-cryptape yangby-cryptape marked this pull request as ready for review December 29, 2023 17:18
@quake quake merged commit be21607 into nervosnetwork:develop Dec 30, 2023
6 checks passed
@yangby-cryptape yangby-cryptape deleted the feature/ban-peers-if-it-behind-too-many-blocks branch December 30, 2023 10:01
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.

3 participants