forked from tari-project/tari
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert: fix ban header syn peer if no headers provided (tari-project#…
…3297) (tari-project#3306) Description --- This reverts commit 570e222. Motivation and Context --- tari-project#3297 (comment) Having thought about it a bit - header sync is designed to be self contained. It does not have the information required to ban a peer that "lied" in listening mode. Suggest that we pass through the chain metadata and peer that 'kicked' the base node into sync into header sync so that the peer can be banned if it fails to follow through. We should also not prevent mining when in header sync until a split and better chain have been comfirmed by header sync. How Has This Been Tested? --- Existing tests pass
- Loading branch information
Showing
2 changed files
with
0 additions
and
16 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