Skip to main content

ensure_descriptor_compatible_with_params

Function ensure_descriptor_compatible_with_params 

Source
fn ensure_descriptor_compatible_with_params(
    desc: &HsDesc,
    params: &NetParameters,
) -> Result<(), DescriptorErrorDetail>
Expand description

Return an error if desc declares a set of parameters that is too far away from the consensus.