This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commits on Jun 16, 2022
-
Don't import backing statements directly
into the dispute coordinator. This also gets rid of a redundant signature check. Both should have some impact on backing performance. In general this PR should make us scale better in the number of parachains. Reasoning (aka why this is fine): For the signature check: As mentioned, it is a redundant check. The signature has already been checked at this point. This is even made obvious by the used types. The smart constructor is not perfect as discussed [here](https://github.com/paritytech/polkadot/issues/3455), but is still a reasonable security. For not importing to the dispute-coordinator: This should be good as the dispute coordinator does scrape backing votes from chain. This suffices in practice as a super majority of validators must have seen a backing fork in order for a candidate to get included and only included candidates pose a threat to our system. The import from chain is preferable over direct import of backing votes for two reasons: 1. The import is batched, greatly improving import performance. All backing votes for a candidate are imported with a single import. And indeed we were able to see in metrics that importing votes from chain is fast. 2. We do less work in general as not every candidate for which statements are gossiped might actually make it on a chain. The dispute coordinator as with the current implementation would still import and keep those votes around for six sessions. While redundancy is good for reliability in the event of bugs, this also comes at a non negligible cost. The dispute-coordinator right now is the subsystem with the highest load, despite the fact that it should not be doing much during mormal operation and it is only getting worse with more parachains as the load is a direct function of the number of statements. We'll see on Versi how much of a performance improvement this PR
Configuration menu - View commit details
-
Copy full SHA for a5ff4ca - Browse repository at this point
Copy the full SHA a5ff4caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0155ab9 - Browse repository at this point
Copy the full SHA 0155ab9View commit details
Commits on Jun 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 550aa6b - Browse repository at this point
Copy the full SHA 550aa6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2d2b1d - Browse repository at this point
Copy the full SHA c2d2b1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f43db1 - Browse repository at this point
Copy the full SHA 7f43db1View commit details
Commits on Jul 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f97e43b - Browse repository at this point
Copy the full SHA f97e43bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c49214d - Browse repository at this point
Copy the full SHA c49214dView commit details
Commits on Jul 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7ee2e14 - Browse repository at this point
Copy the full SHA 7ee2e14View commit details -
Send out approval votes in dispute-distribution.
Use BTreeMap for ordered dispute votes.
Configuration menu - View commit details
-
Copy full SHA for 6a99120 - Browse repository at this point
Copy the full SHA 6a99120View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ae234e - Browse repository at this point
Copy the full SHA 5ae234eView commit details
Commits on Jul 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7f950a9 - Browse repository at this point
Copy the full SHA 7f950a9View commit details
Commits on Jul 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 986e01d - Browse repository at this point
Copy the full SHA 986e01dView commit details -
Note that the introduced complexity is actually redundant.
Configuration menu - View commit details
-
Copy full SHA for 32cabb4 - Browse repository at this point
Copy the full SHA 32cabb4View commit details
Commits on Jul 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 19ecc78 - Browse repository at this point
Copy the full SHA 19ecc78View commit details
Commits on Aug 2, 2022
-
Finish guide changes about dispute-coordinator
conceputally. Requires more proof read still. Also removed obsolete implementation details, where the code is better suited as the source of truth.
Configuration menu - View commit details
-
Copy full SHA for 19833e6 - Browse repository at this point
Copy the full SHA 19833e6View commit details
Commits on Aug 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 32e67a8 - Browse repository at this point
Copy the full SHA 32e67a8View commit details
Commits on Aug 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 98d4389 - Browse repository at this point
Copy the full SHA 98d4389View commit details -
Implement logic for retrieving approval-votes
into approval-voting and approval-distribution subsystems.
Configuration menu - View commit details
-
Copy full SHA for e5fb770 - Browse repository at this point
Copy the full SHA e5fb770View commit details
Commits on Aug 5, 2022
-
Update roadmap/implementers-guide/src/node/disputes/dispute-coordinat…
…or.md Co-authored-by: asynchronous rob <rphmeier@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 24275ba - Browse repository at this point
Copy the full SHA 24275baView commit details
Commits on Aug 8, 2022
-
In particular: Add note about disputes of non included candidates.
Configuration menu - View commit details
-
Copy full SHA for dd0ac1d - Browse repository at this point
Copy the full SHA dd0ac1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 912daf3 - Browse repository at this point
Copy the full SHA 912daf3View commit details -
Merge remote-tracking branch 'origin/rk-fast-dispute-coordinator' int…
…o rk-fast-dispute-coordinator
Configuration menu - View commit details
-
Copy full SHA for 39e913a - Browse repository at this point
Copy the full SHA 39e913aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11ab0e3 - Browse repository at this point
Copy the full SHA 11ab0e3View commit details
Commits on Aug 9, 2022
-
Logical vote import is now separated, making the code more readable and maintainable. Also: Accept import if there is at least one invalid signer that has not exceeded its spam slots, instead of requiring all of them to not exceed their limits. This is more correct and a preparation for vote batching.
Configuration menu - View commit details
-
Copy full SHA for a890970 - Browse repository at this point
Copy the full SHA a890970View commit details
Commits on Aug 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8395724 - Browse repository at this point
Copy the full SHA 8395724View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31e0769 - Browse repository at this point
Copy the full SHA 31e0769View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2011f35 - Browse repository at this point
Copy the full SHA 2011f35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6624bc6 - Browse repository at this point
Copy the full SHA 6624bc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3be4c2 - Browse repository at this point
Copy the full SHA e3be4c2View commit details
Commits on Aug 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 24537b6 - Browse repository at this point
Copy the full SHA 24537b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 793666b - Browse repository at this point
Copy the full SHA 793666bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 943b064 - Browse repository at this point
Copy the full SHA 943b064View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4287137 - Browse repository at this point
Copy the full SHA 4287137View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ae6797 - Browse repository at this point
Copy the full SHA 8ae6797View commit details
Commits on Aug 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c126b76 - Browse repository at this point
Copy the full SHA c126b76View commit details -
Configuration menu - View commit details
-
Copy full SHA for b11eadf - Browse repository at this point
Copy the full SHA b11eadfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b356acc - Browse repository at this point
Copy the full SHA b356accView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8cea8a - Browse repository at this point
Copy the full SHA f8cea8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d46b03a - Browse repository at this point
Copy the full SHA d46b03aView commit details
Commits on Aug 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1cdf49c - Browse repository at this point
Copy the full SHA 1cdf49cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73669dc - Browse repository at this point
Copy the full SHA 73669dcView commit details
Commits on Aug 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4ac86f4 - Browse repository at this point
Copy the full SHA 4ac86f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6754bb - Browse repository at this point
Copy the full SHA e6754bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ec17cc - Browse repository at this point
Copy the full SHA 3ec17ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c7fa5c - Browse repository at this point
Copy the full SHA 2c7fa5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b44d94 - Browse repository at this point
Copy the full SHA 2b44d94View commit details -
Configuration menu - View commit details
-
Copy full SHA for de0e85f - Browse repository at this point
Copy the full SHA de0e85fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f1ee0 - Browse repository at this point
Copy the full SHA 23f1ee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ed7a1a - Browse repository at this point
Copy the full SHA 0ed7a1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4466d30 - Browse repository at this point
Copy the full SHA 4466d30View commit details -
Configuration menu - View commit details
-
Copy full SHA for a002cb6 - Browse repository at this point
Copy the full SHA a002cb6View commit details
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.