From 5a3c9d5f4ee2c5b2675fe7ccfe166dfc8855c15a Mon Sep 17 00:00:00 2001 From: mjalalzai <33738574+MForensic@users.noreply.github.com> Date: Sun, 8 Oct 2023 22:16:41 -0700 Subject: [PATCH] propose_block --- carnot/carnot-vote-aggregation.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/carnot/carnot-vote-aggregation.py b/carnot/carnot-vote-aggregation.py index e810002..de30a34 100644 --- a/carnot/carnot-vote-aggregation.py +++ b/carnot/carnot-vote-aggregation.py @@ -197,6 +197,14 @@ class Overlay: """ pass + @abstractmethod + def my_committee(self, _id: Id) -> Optional[Committee]: + """ + :param _id: + :return: Some(committee) of the participant with Id _id withing the committee tree overlay + """ + pass + @abstractmethod def is_child_of_root_committee(self, _id: Id) -> bool: """ @@ -454,4 +462,4 @@ class Carnot: timeout_qc=self.last_view_timeout_qc, sender=self.id ) - return Send(payload=timeout_msg, to=self.overlay.) + return Send(payload=timeout_msg, to=self.overlay.m)