[−][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 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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,