willow_data_model/test_parameters/
mod.rs

1//! Types to instantiate the willow data model for testing.
2//!
3//! This module is only available when the `dev` feature is enabled.
4//!
5//! The types in this module are not cryptographically safe. And they are not flexible enough for real-world usage either. They are meant for testing willow-related code. In particular, they are so unsafe that randomly generating values suffices for testing code paths which for more typical parameter choices would require knowledge of secret keys, for example.
6//!
7//! Always use `Path<4, 4, 4>` when working with these test parameters (because that is what [`TestSubspaceSignature`] expects and implements the [`AuthorisationToken`](crate::authorisation::AuthorisationToken) trait for).
8
9mod namespace;
10pub use namespace::*;
11
12mod subspace;
13pub use subspace::*;
14
15mod digest;
16pub use digest::*;