Struct bulletproofs::range_proof_mpc::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
) -> Result<PartyAwaitingPosition<'a>, MPCError>
pub fn new<'a>( bp_gens: &'a BulletproofGens, pc_gens: &'a PedersenGens, v: u64, v_blinding: Scalar, n: usize ) -> Result<PartyAwaitingPosition<'a>, MPCError>
Constructs a PartyAwaitingPosition
with the given rangeproof parameters.
Auto Trait Implementations§
impl Freeze for Party
impl RefUnwindSafe for Party
impl Send for Party
impl Sync for Party
impl Unpin for Party
impl UnwindSafe for Party
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more