-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-5271] Solo to new orderer validation flow
With all of the preliminary work finally done. It is safe for the solo consensus code to skip the second round of validation on transactions, so long as the configuration sequence for the channel has not advanced. This CR checks the current configSeq when processing a message, and if it has not advanced, commits it directly. If the confiSeq has advanced, only then does it revalidate the message, dropping it if it is invalid, or simply committing it otherwise. Very unscientific tests on my local laptop saw throughput on Broadcast for solo jump from 900 tps to 2000 tps. Change-Id: Ic7340cdb66631539df3826c7a52844a53849b3ad Signed-off-by: Jason Yellick <[email protected]>
- Loading branch information
Jason Yellick
committed
Jul 27, 2017
1 parent
204f0f4
commit 6506805
Showing
4 changed files
with
67 additions
and
48 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
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