forked from MystenLabs/sui
-
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.
[checkpoints] Simplify checkpoint roots calculation (MystenLabs#10772)
Because we used to have 'streaming' interface from narwhal to sui, we needed two tables (`consensus_message_order` and `checkpoint_boundary`) to derive checkpoint roots on the commit boundary. However, now that the interface is simplified, and we have an entire commit, those tables are not needed. Bunch of code is removed and DB writes are reduced
- Loading branch information
Showing
3 changed files
with
94 additions
and
38 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