From 4ebe426aa8cb978caf4ef8ce6aaa2fab6838ed75 Mon Sep 17 00:00:00 2001 From: mjalalzai <33738574+MForensic@users.noreply.github.com> Date: Fri, 24 Feb 2023 11:41:15 -0800 Subject: [PATCH] Update Carnot-Specs Adding commit condition --- .../roadmap/consensus/candidates/carnot/Carnot-Specs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/content/roadmap/consensus/candidates/carnot/Carnot-Specs b/content/roadmap/consensus/candidates/carnot/Carnot-Specs index 28837c70f..c17f29aa6 100644 --- a/content/roadmap/consensus/candidates/carnot/Carnot-Specs +++ b/content/roadmap/consensus/candidates/carnot/Carnot-Specs @@ -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 + + }