Function download_parameters

Source
pub fn download_parameters() -> Result<(), Error>
👎Deprecated since 0.6.0: please replace with download_sapling_parameters, and use download_sprout_parameters if needed
Available on crate feature download-params only.
Expand description

Download the Zcash Sapling parameters if needed, and store them in the default location. Always checks the sizes and hashes of the files, even if they didn’t need to be downloaded.

A download timeout can be set using the MINREQ_TIMEOUT environmental variable.

This mirrors the behaviour of the fetch-params.sh script from zcashd.