-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have GDD disconnect nodes in previously inconclusive situations
* Disconnect peers with 0 density This affects ChainSync jumping, where genesis windows with no headers prevent jumps from happening. * Don't mix idling in the computation of the upper bound * Simplify the condition to disconnect 0-density peers * Note the redundancy when checking for disagrement in chains * Peers with less than k+1 headers can disconnect peers which sent all headers in the genesis window * Rename fragment to clippedFragment in GDD
- Loading branch information
1 parent
a2bfae0
commit d994eb3
Showing
2 changed files
with
35 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters