[−][src]Struct bulletproofs::r1cs::prover::RandomizingProver
Prover in the randomizing phase.
Note: this type is exported because it is used to specify the associated type
in the public impl of a trait ConstraintSystem
, which boils down to allowing compiler to
monomorphize the closures for the proving and verifying code.
However, this type cannot be instantiated by the user and therefore can only be used within
the callback provided to specify_randomized_constraints
.
Fields
prover: Prover<'t, 'g>
Trait Implementations
impl<'t, 'g> ConstraintSystem for RandomizingProver<'t, 'g>
[src]
fn transcript(&mut self) -> &mut Transcript
[src]
fn multiply(
&mut self,
left: LinearCombination,
right: LinearCombination
) -> (Variable, Variable, Variable)
[src]
&mut self,
left: LinearCombination,
right: LinearCombination
) -> (Variable, Variable, Variable)
fn allocate(
&mut self,
assignment: Option<Scalar>
) -> Result<Variable, R1CSError>
[src]
&mut self,
assignment: Option<Scalar>
) -> Result<Variable, R1CSError>
fn allocate_multiplier(
&mut self,
input_assignments: Option<(Scalar, Scalar)>
) -> Result<(Variable, Variable, Variable), R1CSError>
[src]
&mut self,
input_assignments: Option<(Scalar, Scalar)>
) -> Result<(Variable, Variable, Variable), R1CSError>
fn multipliers_len(&self) -> usize
[src]
fn constrain(&mut self, lc: LinearCombination)
[src]
impl<'t, 'g> RandomizedConstraintSystem for RandomizingProver<'t, 'g>
[src]
fn challenge_scalar(&mut self, label: &'static [u8]) -> Scalar
[src]
Auto Trait Implementations
impl<'t, 'g> !RefUnwindSafe for RandomizingProver<'t, 'g>
impl<'t, 'g> !Send for RandomizingProver<'t, 'g>
impl<'t, 'g> !Sync for RandomizingProver<'t, 'g>
impl<'t, 'g> Unpin for RandomizingProver<'t, 'g>
impl<'t, 'g> !UnwindSafe for RandomizingProver<'t, 'g>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,