-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core-p2p): fix rollback condition (#4432)
* Fix rollback condition * Check each fork height once * Better variable names * Fix checkNetworkHealth test * Move blocksToRollback variable * Better rollback tests * Improve test readability * Test roolback when peers are below common height Co-authored-by: Sebastijan K <58827427+sebastijankuzner@users.noreply.github.com>
- Loading branch information
1 parent
39c2fa9
commit 8cde761
Showing
2 changed files
with
165 additions
and
91 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