-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(consensus)!: split block header and body (#1196)
Description --- refactor(consensus)!: split block header and body feat: add command Merkle root to header Updated validator node web UI Motivation and Context --- This PR allows for shorter command inclusion proofs by not requiring the entire block contents to be part of the proof. A proof (not implemented) would contain the block header, a Merkle proof and the justify QC chain. How Has This Been Tested? --- Existing tests and manually What process can a PR reviewer use to test or verify this change? --- Internal changes, nothing has changed on the DB level Breaking Changes --- - [ ] None - [x] Requires data directory to be deleted - [x] Other - Please specify BREAKING CHANGE: protobuf changes that are not compatible with previous versions. Blocks in database include a `command_merkle_root`
- Loading branch information
Showing
65 changed files
with
1,387 additions
and
747 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
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.