update MsgSigningPackage and MsgSignatureShare

This commit is contained in:
Alfredo Garcia 2021-05-04 13:01:02 -03:00 committed by Deirdre Connolly
parent a26691ead2
commit 38c11c2761
1 changed files with 7 additions and 4 deletions

View File

@ -107,16 +107,19 @@ struct MsgCommitments {
binding: jubjub::ExtendedPoint,
}
// The aggergator decide what message to be signed,
// prepare it and broadcast to signers.
// The aggergator decide what message is going to be signed and
// send it to each participant with all the commitments collected.
struct MsgSigningPackage {
// Consist of a [u8] and vector of commitments.
// Commitments are a signer id and a hiding and binding point.
signing_package: frost::SigningPackage,
}
// Each signer send the signatures to the agregator who is going to collect them
// and generate a final spend signature
// and generate a final spend signature.
struct MsgSignatureShare {
signature_share: frost::SignatureShare,
// The signature to be shared as a Scalar
signature: frost::Scalar,
}
// The final signature is broadcasted by the aggegator