Struct tari_bulletproofs::range_proof::dealer::Dealer
source · pub struct Dealer {}
Expand description
Used to construct a dealer for the aggregated rangeproof MPC protocol.
Implementations§
source§impl Dealer
impl Dealer
sourcepub fn new<'a, 'b>(
bp_gens: &'b BulletproofGens,
pc_gens: &'b PedersenGens,
transcript: &'a mut Transcript,
n: usize,
m: usize
) -> Result<DealerAwaitingBitCommitments<'a, 'b>, MPCError>
pub fn new<'a, 'b>( bp_gens: &'b BulletproofGens, pc_gens: &'b PedersenGens, transcript: &'a mut Transcript, n: usize, m: usize ) -> Result<DealerAwaitingBitCommitments<'a, 'b>, MPCError>
Creates a new dealer coordinating m
parties proving n
-bit ranges.