mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-26 08:53:06 +00:00
Verifying committee member
This commit is contained in:
parent
aeb83ce2e8
commit
1a0d66a2bc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user