mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-04 22:23:07 +00:00
Fmt
This commit is contained in:
parent
22985c551f
commit
53d2526dcf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user