Docs.rs
  • storage-proofs-core-19.0.0
    • storage-proofs-core 19.0.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • dignifiedquire
    • cryptonemo
    • Kubuxu
    • ZenGround0
    • Dependencies
      • aes ^0.8.1 normal
      • anyhow ^1.0.23 normal
      • bellperson ^0.26.0 normal
      • blake2b_simd ^1.0.0 normal
      • blstrs ^0.7.0 normal
      • byteorder ^1.3.4 normal
      • cbc ^0.1.2 normal
      • config ^0.14 normal
      • cpu-time ^1.0.0 normal optional
      • ff ^0.13.0 normal
      • filecoin-hashers ~14.0.0 normal
      • fr32 ~12.0.0 normal
      • fs2 ^0.4 normal
      • generic-array ^0.14.4 normal
      • gperftools ^0.2 normal optional
      • itertools ^0.13 normal
      • lazy_static ^1.2 normal
      • log ^0.4.7 normal
      • memmap2 ^0.5.6 normal
      • merkletree ^0.23.0 normal
      • num_cpus ^1.10.1 normal
      • rand ^0.8 normal
      • rand_chacha ^0.3 normal
      • rayon ^1.3.0 normal
      • semver ^1.0.6 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • sha2 ^0.10.2 normal
      • thiserror ^2 normal
      • blake2s_simd ^1.0.0 dev
      • criterion ^0.3.2 dev
      • filecoin-hashers ~14.0.0 dev
      • pretty_assertions ^1.2.0 dev
      • proptest ^1.0.0 dev
      • rand_xorshift ^0.3.0 dev
      • sha2raw ~14.0.0 dev
      • tempfile ^3 dev
    • Versions
    • 25.25% of the crate is documented
  • 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

storage_proofs_core19.0.0

Module parameter_cache

Module Items

  • Structs
  • Constants
  • Traits
  • Functions
  • Type Aliases

In crate storage_proofs_core

storage_proofs_core

Module 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
Reads parameter from parameter cache.
verify_production_entry
verifying_key_id
with_exclusive_lock
with_exclusive_read_lock
with_open_file

Type Aliases§

Bls12GrothParams
ParameterMap