Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check mapThinBlocksInflight as well as mapBlocksInFlight before banning
There is a rare event that can happen when you have expedited processing turned on an by chance you re-request a full Block. If the expedited block beats your re-request then mapBlocksInFlight will be empty and you will end up banning a good node when the full Block returns from the re-request. This problem is a caused by mapBlocksInFlight not tracking by node id as well as hash. take out some exploit tests temporariliy since one of them is failing on travis
- Loading branch information
Showing
2 changed files
with
44 additions
and
28 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