Function narwhal_test_utils::make_certificates
source · [−]pub fn make_certificates(
committee: &Committee,
range: RangeInclusive<Round>,
initial_parents: &BTreeSet<CertificateDigest>,
keys: &[PublicKey],
failure_probability: f64
) -> (VecDeque<Certificate>, BTreeSet<CertificateDigest>)