Expand description
Module for reading parameters for Halo2 proving system from the file system.
Functions§
- Generates the SRS for the KZG scheme and writes it to a file found in “./params/kzg_bn2_{k}.srs
or
{dir}/kzg_bn254_{k}.srsif
PARAMS_DIR` env var is specified, creates a file it if it does not exist” - Attempts to read the srs from a file found in
./params/kzg_bn254_{k}.srs
or{dir}/kzg_bn254_{k}.srs
ifPARAMS_DIR
env var is specified, creates a file it if it does not exist. - Reads the srs from a file found in
./params/kzg_bn254_{k}.srs
or{dir}/kzg_bn254_{k}.srs
ifPARAMS_DIR
env var is specified.