[][src]Trait storage_proofs::parameter_cache::CacheableParameters

pub trait CacheableParameters<E, C, P> where
    C: Circuit<E>,
    E: JubjubEngine,
    P: ParameterSetMetadata
{ fn cache_prefix() -> String; fn cache_meta(pub_params: &P) -> CacheEntryMetadata { ... }
fn cache_identifier(pub_params: &P) -> String { ... }
fn get_param_metadata(
        _circuit: C,
        pub_params: &P
    ) -> Result<CacheEntryMetadata> { ... }
fn get_groth_params(circuit: C, pub_params: &P) -> Result<Parameters<E>> { ... }
fn get_verifying_key(circuit: C, pub_params: &P) -> Result<VerifyingKey<E>> { ... } }

Required methods

Loading content...

Provided methods

fn cache_meta(pub_params: &P) -> CacheEntryMetadata

fn cache_identifier(pub_params: &P) -> String

fn get_param_metadata(_circuit: C, pub_params: &P) -> Result<CacheEntryMetadata>

fn get_groth_params(circuit: C, pub_params: &P) -> Result<Parameters<E>>

fn get_verifying_key(circuit: C, pub_params: &P) -> Result<VerifyingKey<E>>

Loading content...

Implementors

impl<E: JubjubEngine, C: Circuit<E>, P: ParameterSetMetadata> CacheableParameters<E, C, P> for ZigZagCompound[src]

impl<E: JubjubEngine, C: Circuit<E>, P: ParameterSetMetadata> CacheableParameters<E, C, P> for VDFPostCompound[src]

impl<E: JubjubEngine, C: Circuit<E>, P: ParameterSetMetadata> CacheableParameters<E, C, P> for BeaconPoStCompound[src]

impl<E: JubjubEngine, C: Circuit<E>, P: ParameterSetMetadata, H: Hasher> CacheableParameters<E, C, P> for PoRCompound<H>[src]

impl<E: JubjubEngine, C: Circuit<E>, P: ParameterSetMetadata, H: Hasher> CacheableParameters<E, C, P> for PoRCCompound<H>[src]

impl<E: JubjubEngine, C: Circuit<E>, H: Hasher, G: Graph<H>, P: ParameterSetMetadata> CacheableParameters<E, C, P> for DrgPoRepCompound<H, G>[src]

Loading content...