pub struct DealerAwaitingBitCommitments<'a, 'b> { /* private fields */ }
Expand description
A dealer waiting for the parties to send their BitCommitment
s.
Implementations§
source§impl<'a, 'b> DealerAwaitingBitCommitments<'a, 'b>
impl<'a, 'b> DealerAwaitingBitCommitments<'a, 'b>
sourcepub fn receive_bit_commitments(
self,
bit_commitments: Vec<BitCommitment>
) -> Result<(DealerAwaitingPolyCommitments<'a, 'b>, BitChallenge), MPCError>
pub fn receive_bit_commitments( self, bit_commitments: Vec<BitCommitment> ) -> Result<(DealerAwaitingPolyCommitments<'a, 'b>, BitChallenge), MPCError>
Receive each party’s BitCommitment
s and compute the BitChallenge
.