[−][src]Struct storage_proofs::circuit::ppor::ParallelProofOfRetrievability
This is an instance of the ParallelProofOfRetrievability
circuit.
Public Inputs
This circuit expects the following public inputs.
- for i in 0..values.len()
- [0] - packed version of
value
as bits. (might be more than one Fr) - [1] - packed version of the
is_right
components of the auth_path. - [2] - the merkle root of the tree.
- [0] - packed version of
Fields
params: &'a E::Params
Paramters for the engine.
values: Vec<Option<E::Fr>>
Pedersen commitment to the value.
auth_paths: Vec<Vec<Option<(E::Fr, bool)>>>
The authentication path of the commitment in the tree.
root: Option<E::Fr>
The root of the underyling merkle tree.
Trait Implementations
impl<'a, E: JubjubEngine> Circuit<E> for ParallelProofOfRetrievability<'a, E>
[src]
fn synthesize<CS: ConstraintSystem<E>>(
self,
cs: &mut CS
) -> Result<(), SynthesisError>
[src]
self,
cs: &mut CS
) -> Result<(), SynthesisError>
Auto Trait Implementations
impl<'a, E> Send for ParallelProofOfRetrievability<'a, E> where
<E as ScalarEngine>::Fr: Send,
<E as JubjubEngine>::Params: Sync,
<E as ScalarEngine>::Fr: Send,
<E as JubjubEngine>::Params: Sync,
impl<'a, E> Unpin for ParallelProofOfRetrievability<'a, E> where
<E as ScalarEngine>::Fr: Unpin,
<E as ScalarEngine>::Fr: Unpin,
impl<'a, E> Sync for ParallelProofOfRetrievability<'a, E> where
<E as ScalarEngine>::Fr: Sync,
<E as JubjubEngine>::Params: Sync,
<E as ScalarEngine>::Fr: Sync,
<E as JubjubEngine>::Params: Sync,
impl<'a, E> UnwindSafe for ParallelProofOfRetrievability<'a, E> where
<E as ScalarEngine>::Fr: UnwindSafe,
<E as JubjubEngine>::Params: RefUnwindSafe,
<E as ScalarEngine>::Fr: UnwindSafe,
<E as JubjubEngine>::Params: RefUnwindSafe,
impl<'a, E> RefUnwindSafe for ParallelProofOfRetrievability<'a, E> where
<E as ScalarEngine>::Fr: RefUnwindSafe,
<E as JubjubEngine>::Params: RefUnwindSafe,
<E as ScalarEngine>::Fr: RefUnwindSafe,
<E as JubjubEngine>::Params: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,