Skip to content
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

consensus: Update naming convention #1178

Open
fed-franz opened this issue Dec 4, 2023 · 1 comment
Open

consensus: Update naming convention #1178

fed-franz opened this issue Dec 4, 2023 · 1 comment
Assignees
Labels
module:consensus Issues related to consensus module

Comments

@fed-franz
Copy link
Contributor

fed-franz commented Dec 4, 2023

Summary

With the introduction of #1177, the following naming system will be employed:

  • Phase 1 (Selection/Generation) will be called Proposal
    • In the Proposal phase, the Block Generator broadcasts a Candidate message
  • Phase 2 (First Reduction) will be called Validation
    • In the the Validation phase, committee members broadcast Validation messages
  • Phase 3 (Second Reduction) will be called Ratification
    • In the the Ratification phase, committee members broadcast Ratification messages
    • If a quorum of Ratification votes is reached, a Quorum message is produced

With the introduction of failed-iteration "certificates", the following naming system will be employed:

  • Attestation: is a collection of votes (both Validation and Ratification votes)
    • A Quorum Attestation is an Attestation containing a quorum of votes
    • Other Attestations will be used to prove a missed Quorum on a failed iteration
  • Certificate: it includes two Quorum Attestations (the Validation one and the Ratification one)
    • It is produced by the block generator to certify the previous block

Following discussions on Voting Committees (see #905), the following naming system will be introduced:

  • Each committee member is assigned one or more ballots (or voting credits)
  • Committee Size (the number of ballots in the committee) is replaced by Voting Pool (or credits pool)
@fed-franz fed-franz added the module:consensus Issues related to consensus module label Dec 4, 2023
@goshawk-3 goshawk-3 self-assigned this Dec 7, 2023
@fed-franz
Copy link
Contributor Author

While at this, I'd suggest to rename mrb (most recent block) to tip to be consistent with the rest of the blockchain space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:consensus Issues related to consensus module
Projects
None yet
Development

No branches or pull requests

2 participants