[−][src]Struct bulletproofs::r1cs::verifier::RandomizingVerifier
Verifier 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
verifier: Verifier<'t>
Trait Implementations
impl<'t> ConstraintSystem for RandomizingVerifier<'t>
[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> RandomizedConstraintSystem for RandomizingVerifier<'t>
[src]
fn challenge_scalar(&mut self, label: &'static [u8]) -> Scalar
[src]
Auto Trait Implementations
impl<'t> !RefUnwindSafe for RandomizingVerifier<'t>
impl<'t> !Send for RandomizingVerifier<'t>
impl<'t> !Sync for RandomizingVerifier<'t>
impl<'t> Unpin for RandomizingVerifier<'t>
impl<'t> !UnwindSafe for RandomizingVerifier<'t>
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>,