-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(consensus)!: improve evidence, optimisations, bug fixes (#1141)
Description --- - consensus: simplify and optimise (size and compute) evidence struct - consensus: suspend leader failure while processing a proposal - consensus: optimise transaction prepare - consensus: propose foreign proposals before proposing transaction stage relating to foreign proposal - consensus: remove unjustified blocks - consensus: park block containing foreign proposals for missing transactions - consensus: add timer logs - consensus: track and persist no votes for debugging purposes - consensus: correct canonical command ordering in blocks - remove message logging due to poor performance - webui: show correct block status - swarm: reduce setup time for many VNs - consensus_tests: refactor to test unversioned input resolution - tariswap_test_bench fixes - log message size Motivation and Context --- Many consensus bug fixes and improvements. Removed message logging (replaced with NopLogger) for now as observed message queuing taking seconds. We can re-add and optimise it for async writes perhaps by sending messages on an unbounded channel and writing everything in the channel in a single sqlite transaction per batch. How Has This Been Tested? --- Existing tests, manually 20 VNs 2 shard groups What process can a PR reviewer use to test or verify this change? --- Run tariswap bench Breaking Changes --- - [ ] None - [x] Requires data directory to be deleted - [ ] Other - Please specify
- Loading branch information
Showing
130 changed files
with
3,845 additions
and
2,215 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.