zebra-chain 11.1.0

Core Zcash data structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Randomised data generation for Ironwood types.

use proptest::prelude::*;

use crate::{ironwood::Nullifier, orchard};

impl Arbitrary for Nullifier {
    type Parameters = ();

    fn arbitrary_with(_args: Self::Parameters) -> Self::Strategy {
        any::<orchard::Nullifier>().prop_map(Nullifier).boxed()
    }

    type Strategy = BoxedStrategy<Self>;
}