mirror of
https://github.com/logos-co/roadmap.git
synced 2025-01-24 06:59:19 +00:00
Update Carnot-Specs
Adding commit condition
This commit is contained in:
parent
a9f2566cc5
commit
4ebe426aa8
@ -33,7 +33,8 @@ Types:
|
|||||||
|
|
||||||
|
|
||||||
Local Variables:
|
Local Variables:
|
||||||
highQC
|
highQC_r
|
||||||
|
qc_c # QC built from messages received from child committees
|
||||||
curView
|
curView
|
||||||
latestCommittedBlock
|
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