This commit is contained in:
danielsanchezq 2023-06-30 11:18:07 +02:00
parent 22985c551f
commit 53d2526dcf

View File

@ -32,7 +32,7 @@ class CarnotTree:
def __init__(self, nodes: List[Id], number_of_committees: int):
# useless to build an overlay with no committees
assert number_of_committees > 0
# inner_commitees: list of tree nodes (int index) matching hashed external committee id
# inner_committees: list of tree nodes (int index) matching hashed external committee id
self.inner_committees: List[Id]
# membership committees: matching external (hashed) id to the set of members of a committee
self.membership_committees: Dict[Id, Committee]
@ -110,7 +110,6 @@ class CarnotTree:
return self.committee_by_committee_idx(committee_idx)
class CarnotOverlay(EntropyOverlay):
def __init__(self, nodes: List[Id], current_leader: Id, entropy: bytes, number_of_committees: int):
self.entropy = entropy