mirror of
https://github.com/logos-co/roadmap.git
synced 2025-01-23 22:49:21 +00:00
Update Carnot-Specs
Adding commit condition
This commit is contained in:
parent
a9f2566cc5
commit
4ebe426aa8
@ -33,7 +33,8 @@ Types:
|
||||
|
||||
|
||||
Local Variables:
|
||||
highQC
|
||||
highQC_r
|
||||
qc_c # QC built from messages received from child committees
|
||||
curView
|
||||
latestCommittedBlock
|
||||
|
||||
@ -57,6 +58,13 @@ Utilities:
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Func tryToCommitGrandParent(block){
|
||||
parentBlock = block.qc.block
|
||||
grandparentBlock = parentBlock.qc.block
|
||||
return parentBlock.view = grandparentBlock.view+1
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user