Struct tari_bulletproofs::range_proof::party::Party
source · pub struct Party {}
Expand description
Used to construct a party for the aggregated rangeproof MPC protocol.
Implementations§
source§impl Party
impl Party
sourcepub fn new<'a>(
bp_gens: &'a BulletproofGens,
pc_gens: &'a PedersenGens,
v: u64,
v_blinding: Scalar,
n: usize,
pvt_rewind_key: Scalar,
pvt_blinding_key: Scalar,
proof_message: Scalar
) -> Result<PartyAwaitingPosition<'a>, MPCError>
pub fn new<'a>( bp_gens: &'a BulletproofGens, pc_gens: &'a PedersenGens, v: u64, v_blinding: Scalar, n: usize, pvt_rewind_key: Scalar, pvt_blinding_key: Scalar, proof_message: Scalar ) -> Result<PartyAwaitingPosition<'a>, MPCError>
Constructs a PartyAwaitingPosition
with the given rangeproof parameters.