Skip to content

Commit

Permalink
Better documentation for the memberIndex type
Browse files Browse the repository at this point in the history
  • Loading branch information
pdyraga committed Oct 21, 2024
1 parent 2ea14cd commit 78a4eae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gjkr/member.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ package gjkr

import "threshold.network/roast/ephemeral"

// memberIndex represents a unique index of a member of GJKR protocol.
// The values start from 1. For a group size of N, the memberIndex is
// 1 <= memberIndex <= N.
type memberIndex uint16

// member includes the core pieces of GJKR protocol member important for every
Expand Down

0 comments on commit 78a4eae

Please sign in to comment.