pub struct DealerAwaitingPolyCommitments<'a, 'b> { /* private fields */ }
Expand description
A dealer which has sent the BitChallenge
to the parties and
is waiting for their PolyCommitment
s.
Implementations§
source§impl<'a, 'b> DealerAwaitingPolyCommitments<'a, 'b>
impl<'a, 'b> DealerAwaitingPolyCommitments<'a, 'b>
sourcepub fn receive_poly_commitments(
self,
poly_commitments: Vec<PolyCommitment>
) -> Result<(DealerAwaitingProofShares<'a, 'b>, PolyChallenge), MPCError>
pub fn receive_poly_commitments( self, poly_commitments: Vec<PolyCommitment> ) -> Result<(DealerAwaitingProofShares<'a, 'b>, PolyChallenge), MPCError>
Receive PolyCommitment
s from the parties and compute the
PolyChallenge
.