Add missing docs

This commit is contained in:
Marek 2021-08-06 09:01:25 +00:00
parent 0a048e7c89
commit 40c15a458a
1 changed files with 5 additions and 0 deletions

View File

@ -104,10 +104,15 @@ pub struct Header {
#[derive(Serialize, Deserialize, PartialEq, Debug, Clone)]
#[cfg_attr(test, derive(Arbitrary))]
pub enum Payload {
/// The data required to serialize [`frost::SharePackage`].
SharePackage(SharePackage),
/// The data required to serialize [`frost::SigningCommitments`].
SigningCommitments(SigningCommitments),
/// The data required to serialize [`frost::SigningPackage`].
SigningPackage(SigningPackage),
/// The data required to serialize [`frost::SignatureShare`].
SignatureShare(SignatureShare),
/// The data required to serialize a successful output from [`frost::aggregate()`].
AggregateSignature(AggregateSignature),
}