propose_block

This commit is contained in:
mjalalzai 2023-10-08 22:16:41 -07:00
parent f1a4e04a47
commit 5a3c9d5f4e

View File

@ -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)