Verifying committee member

This commit is contained in:
mjalalzai 2023-09-28 17:18:12 -07:00
parent aeb83ce2e8
commit 1a0d66a2bc

View File

@ -161,6 +161,13 @@ class Overlay:
pass
@abstractmethod
def is_member_of_my_committee(self, _id: Id) -> bool:
"""
:param _id:
:return: true if the participant with Id _id is member of the committee of the verifying node withing the tree overlay
"""
pass
@abstractmethod
def is_member_of_child_committee(self, parent: Id, child: Id) -> bool:
"""
:param parent:
@ -205,6 +212,7 @@ class Overlay:
"""
pass
@abstractmethod
def super_majority_threshold(self, _id: Id) -> int:
pass