mirror of
https://github.com/logos-storage/nim-mysticeti.git
synced 2026-01-08 00:23:13 +00:00
formatting
This commit is contained in:
parent
96295461ae
commit
d478e438b0
@ -7,12 +7,11 @@ import ./validator/rounds
|
||||
|
||||
export slots
|
||||
|
||||
type
|
||||
Validator*[Signing, Hashing] = ref object
|
||||
identity: Identity[Signing]
|
||||
committee: Committee[Signing]
|
||||
membership: CommitteeMember
|
||||
rounds: Rounds[Hashing]
|
||||
type Validator*[Signing, Hashing] = ref object
|
||||
identity: Identity[Signing]
|
||||
committee: Committee[Signing]
|
||||
membership: CommitteeMember
|
||||
rounds: Rounds[Hashing]
|
||||
|
||||
func new*(T: type Validator; identity: Identity, committee: Committee): ?!T =
|
||||
let round = Round[T.Hashing].new(0, committee.size)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user