Update Carnot-Specs

This commit is contained in:
mjalalzai 2023-03-01 07:13:35 -08:00 committed by GitHub
parent 238e056b05
commit 3623e0af39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -29,9 +29,16 @@ Types:
4: An aggQC has the following fields: 4: An aggQC has the following fields:
qcs qcs
highQC # latest qc in qcs
view view
signers signers
signature signature
5: A newView message has the followiing fields:
view
highQC
signer
signature
Local Variables: Local Variables:
@ -127,6 +134,7 @@ Utilities:
# Since verification of signatures is not included in this psuedocode, it is worth mentioning that here verification of block.aggQC.highQC # Since verification of signatures is not included in this psuedocode, it is worth mentioning that here verification of block.aggQC.highQC
# along with the block.aggQC.signature is suffice. No need to verify each qc inside block.aggQC # along with the block.aggQC.signature is suffice. No need to verify each qc inside block.aggQC
if block.aggQC.highQC.view <= latestCommittedBlock.view {return} if block.aggQC.highQC.view <= latestCommittedBlock.view {return}
#if block.aggQC.view < curView
} }
if safeBlock(block){ if safeBlock(block){