-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2527 from EspressoSystems/ed/diagrams-part2
Ed/diagrams part2
- Loading branch information
Showing
10 changed files
with
821 additions
and
246 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# OptimisticDACertificateRecv | ||
|
||
![OptimisticDACertificateRecv](/docs/diagrams/images/HotShotFlow-OptimisticDACertificateRecv.drawio.png "OptimisticDACertificateRecv") | ||
|
||
## Basic Message Validation | ||
|
||
## Optimistic DA Certificate Processing | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# OptimisticDAProposalRecv | ||
|
||
![OptimisticDAProposalRecv](/docs/diagrams/images/HotShotFlow-OptimisticDAProposalRecv.drawio.png "QuorumProposalRecv") | ||
|
||
## Basic Message Validation | ||
* It is possible for some applications built on top of HotShot to listen for DA proposals but not vote on them (such as builders). | ||
|
||
## DA Proposal Validation and Processing | ||
* "Valid" DA proposal data is a no-op for now. More validation is done in the `VoteOnQuorumProposal` task. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# VIDShareRecv | ||
|
||
![VIDShareRecv](/docs/diagrams/images/HotShotFlow-VIDShareRecv.drawio.png "VIDShareRecv") | ||
|
||
## Basic Message Validation | ||
|
||
## VID Share Processing and Validation | ||
* A "valid" VID share is one that successfully passes the `VidScheme::verify_share` function | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# VoteOnQuorumProposal | ||
|
||
![VoteOnQuorumProposal](/docs/diagrams/images/HotShotFlow-VoteOnQuorumProposal.drawio.png "VoteOnQuorumProposal") | ||
|
||
## Mutually Verify Share, Cert, and Proposal | ||
* Nodes must verify that the `OptimisticDACertificate`, their `VIDShare`, and the `QuorumProposal` all commit to the same data. It is only possible to do this verification once we've receive all the necessary data. | ||
* The event/task dependency infrastructure should only spawn this task if the view for all 3 dependencies is the same. It is an internal error if this is not the case. |
Binary file added
BIN
+318 KB
docs/diagrams/images/HotShotFlow-OptimisticDACertificateRecv.drawio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.