-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(evidence): send evidence only once (#683)
Right now, evidence is sent to all peers, which is not necessary and can generate huge load during chain halt. Reproduction scenario: 1. Stop majority of chain nodes (except one) 2. Remove WAL from stopped nodes 3. Break the code so that the chain will be halted 4. Start stopped nodes As a result, these nodes will generate huge amount of evidence messages, which will be sent to all peers repeatedly. On big enough network, this will cause significant load.
- Loading branch information
Showing
2 changed files
with
54 additions
and
67 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