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 1.6k
Collator protocol subsystem #1659
Merged
montekki
merged 20 commits into
paritytech:master
from
montekki:fs-collator-protocol-subsystem
Sep 10, 2020
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a12b1ee
WIP
montekki b97ab57
Merge branch 'master' into fs-collator-protocol-subsystem
montekki b6c5c2c
The initial implementation of the collator side.
montekki a2255d6
Improve comments
montekki 2e9d3c4
Merge branch 'master' into fs-collator-protocol-subsystem
montekki 26ff153
Multiple collation requests
montekki 00456c0
Add more tests and comments to validator side
montekki d463407
Add comments, remove dead code
montekki eda8d7e
Apply suggestions from code review
montekki 0b6c572
Fix build after suggested changes
montekki b58d785
Also connect to the next validator group
montekki 232db34
Remove a Future impl and move TimeoutExt to util
montekki bbd1c6a
Minor nits
montekki 3ebad8a
Fix build
montekki a43e7a0
Merge branch 'master' into fs-collator-protocol-subsystem
montekki 36745f6
Change FetchCollations back to FetchCollation
montekki bad21c9
Merge branch 'master' into fs-collator-protocol-subsystem
montekki b1c5c66
Try this
montekki 0c48ed6
Final fixes
montekki 3be73a1
Fix build
montekki 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
Fix build after suggested changes
- Loading branch information
commit 0b6c57256276b0fb4456f1b9773ef8b460e7561f
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this immediately request the collation again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, yeah, that was coming from the perspective of there being no
CandidateSelectionsubsystem. If there isCandidateSelection, it should beCandidateSelectionthat decides to make another request. It doesn't really make sense to request from the collator who just timed out over and over again - the implication of the line quoted from the guide is that we should make another request of another collator.