zebra_consensus::primitives::groth16::params::parse_parameters

Function parse_sapling_parameters

source
pub fn parse_sapling_parameters<R: Read>(
    spend_fs: R,
    output_fs: R,
) -> SaplingParameters
Expand description

Parse Bls12 keys from bytes as serialized by groth16::Parameters::write.

This function will panic if it encounters unparsable data.