From 3bd479853ef4f548b174328f82cff1042dc35cc0 Mon Sep 17 00:00:00 2001 From: mjalalzai <33738574+MForensic@users.noreply.github.com> Date: Tue, 17 Oct 2023 21:48:27 -0700 Subject: [PATCH] Forward qc --- carnot/carnot-vote-aggregation.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/carnot/carnot-vote-aggregation.py b/carnot/carnot-vote-aggregation.py index 1c6f2e4..b269476 100644 --- a/carnot/carnot-vote-aggregation.py +++ b/carnot/carnot-vote-aggregation.py @@ -397,10 +397,11 @@ class Carnot: ) # A node initially forwards a vote or qc from its subtree to its parent committee. There can be two instances this - # can happen: 1: - # If a node forms a QC qc from votes and QCs it receives from its subtree such that the total number of votes in the qc is at two-third of votes from the subtree, then + # can happen: 1: If a node forms a QC qc from votes and QCs it receives from its subtree such that the total number of votes in the qc is at two-third of votes from the subtree, then # it forwards this QC to the parent committee members or a subset of parent committee members. # 2: After sending the qc any additional votes are forwarded to the parent committee members or a subset of parent committee members. + # 3: After type 1 timeout a node builds a QC from arbitrary number of votes+QCs it has received, building a QC qc such that total number of votes in qc is less + #than the two-thirds of the number of the nodes in the sub-tree.