-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design statement distribution subsystem #4195
Comments
There are 2 versions of the statement distribution protocol.
|
Statement distribution subsystem V2
|
Statement distribution subsystem V1
Peer Receipt State MachineA: Initial State. Receive SignedFullStatement(Statement::Second): extract Statement, forward to Candidate Backing, proceed to B. Receive any other SignedFullStatement variant: drop it. B: Receive any SignedFullStatement: check signature and determine whether the statement is new to us. if new, forward to Candidate Backing and circulate to other peers. Receive OverseerMessage::StopWork: proceed to C. C: Receive any message for this block: drop it. Large statements
|
To implement v1, we need to handle the main 3 kinds of messages.
|
We need to have a separate Goroutine that will simultaneously process the requests we get from other validators to fetch the large statement for a candidate. This Goroutine should ensure we process only some predecided number of requests simultaneously. |
@EclesioMeloJunior add questions that left to be answered |
Issue summary
This parachain subsystem is responsible for
Acceptance criteria
The text was updated successfully, but these errors were encountered: