Add comments

This commit is contained in:
Marek 2021-03-22 14:19:18 +00:00 committed by Deirdre Connolly
parent ba4b89c80a
commit 7cf6eeb9e4
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,8 @@ pub struct GroupCommitment(jubjub::ExtendedPoint);
/// To derive a FROST keypair, the receiver of the [`SharePackage`] *must* call
/// .into(), which under the hood also performs validation.
pub struct SharePackage {
/// Denotes the participant index each share is owned by.
/// Denotes the participant index each share is owned by. We implicitly
/// restrict the number of participants to 255.
pub index: u8,
/// This participant's share.
pub(crate) share: Share,