[−][src]Trait storage_proofs::circuit::apex_commitment::ApexCommitment
Required methods
fn new(allocated_nums: &[AllocatedNum<E>]) -> Self
fn includes<A, AR, CS: ConstraintSystem<E>>(
&self,
cs: &mut CS,
annotation: A,
num: &AllocatedNum<E>,
path: &[Boolean]
) -> Result<(), SynthesisError> where
A: FnOnce() -> AR,
AR: Into<String>,
&self,
cs: &mut CS,
annotation: A,
num: &AllocatedNum<E>,
path: &[Boolean]
) -> Result<(), SynthesisError> where
A: FnOnce() -> AR,
AR: Into<String>,
Provided methods
fn commit<CS: ConstraintSystem<E>>(
cs: &mut CS,
allocated_nums: &[AllocatedNum<E>],
params: &E::Params
) -> Result<(Self, AllocatedNum<E>), SynthesisError> where
Self: Sized,
cs: &mut CS,
allocated_nums: &[AllocatedNum<E>],
params: &E::Params
) -> Result<(Self, AllocatedNum<E>), SynthesisError> where
Self: Sized,
Implementors
impl<E: JubjubEngine> ApexCommitment<E> for BinaryApexCommitment<E>
[src]
fn new(allocated_nums: &[AllocatedNum<E>]) -> Self
[src]
fn includes<A, AR, CS: ConstraintSystem<E>>(
&self,
cs: &mut CS,
annotation: A,
num: &AllocatedNum<E>,
path: &[Boolean]
) -> Result<(), SynthesisError> where
A: FnOnce() -> AR,
AR: Into<String>,
[src]
&self,
cs: &mut CS,
annotation: A,
num: &AllocatedNum<E>,
path: &[Boolean]
) -> Result<(), SynthesisError> where
A: FnOnce() -> AR,
AR: Into<String>,
impl<E: JubjubEngine> ApexCommitment<E> for FlatApexCommitment<E>
[src]
fn new(allocated_nums: &[AllocatedNum<E>]) -> Self
[src]
fn includes<A, AR, CS: ConstraintSystem<E>>(
&self,
cs: &mut CS,
annotation: A,
num: &AllocatedNum<E>,
path: &[Boolean]
) -> Result<(), SynthesisError> where
A: FnOnce() -> AR,
AR: Into<String>,
[src]
&self,
cs: &mut CS,
annotation: A,
num: &AllocatedNum<E>,
path: &[Boolean]
) -> Result<(), SynthesisError> where
A: FnOnce() -> AR,
AR: Into<String>,