Docs.rs
  • storage-proofs-core-11.1.0
    • storage-proofs-core 11.1.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • dignifiedquire
    • cryptonemo
    • Kubuxu
    • ZenGround0
    • Dependencies
      • aes ^0.6 normal
      • anyhow ^1.0.23 normal
      • bellperson ^0.21.0 normal
      • blake2b_simd ^0.5 normal
      • blake2s_simd ^0.5 normal
      • block-modes ^0.7 normal
      • blstrs ^0.4.0 normal
      • byteorder ^1 normal
      • config ^0.10.1 normal
      • cpu-time ^1.0 normal
      • ff ^0.11.0 normal
      • filecoin-hashers ^6.0.0 normal
      • fr32 ^4.0.0 normal
      • fs2 ^0.4 normal
      • generic-array ^0.14.4 normal
      • gperftools ^0.2 normal
      • hex ^0.4.0 normal
      • itertools ^0.9 normal
      • lazy_static ^1.2 normal
      • log ^0.4.7 normal
      • memmap ^0.7 normal
      • merkletree ^0.21.0 normal
      • neptune ^5.2.0 normal
      • num_cpus ^1.10.1 normal
      • pairing ^0.21 normal
      • rand ^0.8 normal
      • rand_chacha ^0.3 normal
      • rayon ^1.0.0 normal
      • semver ^0.11.0 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • sha2 ^0.9.1 normal
      • tempfile ^3 normal
      • thiserror ^1.0.6 normal
      • toml ^0.5 normal
      • bitvec ^0.17 dev
      • criterion ^0.3 dev
      • filecoin-hashers ^6.0.0 dev
      • pretty_assertions ^0.6.1 dev
      • proptest ^0.10 dev
      • rand_xorshift ^0.3.0 dev
      • sha2raw ^6.0.0 dev
    • Versions
    • 23.48% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module parameter_cache

  • Structs
  • Constants
  • Traits
  • Functions
  • Type Definitions
logo
Change settings

Module storage_proofs_core::parameter_cache

source · [−]

Structs

CacheEntryMetadata
LockedFile
PARAMETERS
ParameterData
SRS_PARAMETERS

Constants

GROTH_PARAMETER_EXT
PARAMETERS_DATA
PARAMETER_METADATA_EXT
SRS_KEY_EXT
SRS_MAX_PROOFS_TO_AGGREGATE
SRS_PARAMETERS_DATA
SRS_SHARED_KEY_NAME
VERIFYING_KEY_EXT
VERSION

Bump this when circuits change to invalidate the cache.

Traits

CacheableParameters
ParameterSetMetadata

Functions

get_parameter_data

Get the correct parameter data for a given cache id.

get_parameter_data_from_id

Get the correct parameter data for a given cache id.

get_srs_parameter_data_from_id

Get the correct srs parameter data for a given cache id.

get_verifying_key_data

Get the correct verifying key data for a given cache id.

metadata_id
parameter_cache_dir
parameter_cache_dir_name
parameter_cache_metadata_path
parameter_cache_params_path
parameter_cache_srs_key_path
parameter_cache_verifying_key_path
parameter_id
read_cached_params
verifying_key_id
with_exclusive_lock
with_exclusive_read_lock
with_open_file

Type Definitions

ParameterMap