This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Storing multiple Justifications per block #7640
Merged
Merged
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
b1561e7
primitives/runtime: initial changes on supporting multiple Justificat…
octol 16bfd2c
primitives/runtime: make Justifications strongly typed
octol d72b5eb
Encode/decode Justifications
octol 88d1e1a
primitives/runtime: add Justification type
octol 12f8f7e
backend: apply_finality and finalize_block takes a single Justification
octol 75dc977
manual-seal: create engine id and let rpc take encoded justification
octol 9920319
backend: skeleton functions for appending justifications
octol 1f7f2d1
backend: initial implementation append_justification
octol 523038a
backend: guard against duplicate consensus engine id
octol 52a0dff
client/db: add check for block finality
octol a25d33d
client/api: add append_justification to in_mem db
octol f023cca
client/light: add no-op append_justification
octol 2a6e9cd
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 46b4584
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 544c8e2
network: fix decode call for Justification
octol 6aabece
network: only send a single Justification in BlockData
octol 10e9f22
network: minor comment update
octol 3613fdb
protocol: update field names to distinguish single justification
octol ce5dad9
client: further field renames to plural
octol b0f9b5c
client: update function names to plural justifications
octol 4dc856e
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 2e23810
client/db: upgrade existing database for new format
octol 66b2c4e
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 0b69a39
network: remove dependency on grandpa crate
octol b91f821
db: fix check for finalized block
octol 9301c86
grandpa: check for multiple grandpa justifications hwne importing
octol 63291b5
backend: update Finalizer trait to take multiple Justifications
octol 206447c
db: remove debugging statements in migration code
octol 4185aa5
manual-seal: update note about engine id
octol d0adabb
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 5cae4b1
db: fix check for finalized block
octol 1d7e50b
client: update variable name to reflect it is now plural
octol 4d1ed93
grandpa: fix incorrect empty Justications in test
octol a0cb5e3
primitives: make Justifications opaque to avoid being empty
octol c32e538
network: fix detecting empty Justification
octol 2545ed2
runtime: doc strings for Justifications functions
octol 45f9e20
runtime: add into_justifications
octol 47bda20
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol b65b38a
primitives: check for duplicates in when adding to Justifications
octol c69833e
network/test: use real grandpa engine id in test
octol 1019de3
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 8391a9d
client: fix reviewer comments
octol c9cc2c8
primitives: rename Justifications::push to append
octol 7bbc156
backend: revert changes to Finalizer trait
octol a42122b
backend: revert mark_finalized
octol 356176f
backend: revert changes to finalize_block
octol 609bbe0
backend: revert finalized_blocks
octol 037e0a4
db: add a quick early return for performance
octol c5fe8f2
client: minor reviewer comments
octol 5c4a735
service/test: use local ConsensusEngineId
octol 693757f
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 1667e41
network: add link to issue for sending multiple Justifications
octol d7ea7bd
Apply suggestions from code review
octol 87cf0d3
Apply suggestions from code review
octol b266679
network: tweaks to review suggestions
octol 7f8e0b3
network: revert change to BlockData for backwards compatibility
octol ad05998
Apply suggestion from code review
octol bcc69ce
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 3af1962
Apply suggestions from code review
octol 3f5e07c
primitives: update doc comment for Justifications
octol a829791
client/db/upgrade: avoid grandpa crate dependency
octol dda0b2d
consensus: revert to single Justification for import_justification
octol 711984f
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol 9a2ba3c
Merge branch 'master' into jon/store-multiple-justifications
andresilva e405ce9
primitives: improve justifications docs
andresilva aaac8c5
style cleanups
andresilva 3e4443f
use and_then
andresilva 340e092
client: rename JUSTIFICATIONS db column
andresilva 5c5449e
network: revert to using FRNK in network-test
octol c338058
Merge remote-tracking branch 'upstream/master' into jon/store-multipl…
octol ed93ea0
Merge branch 'master' into jon/store-multiple-justifications
andresilva File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
backend: revert mark_finalized
- Loading branch information
commit a42122b54e36a37fecdb6a260da612dcc2805be5
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.