pub const fn ensure_supported_n(n: usize) -> usize
Expand description
Ensuring only supported N
can be specified for BalancedMerkleTree
.
This is essentially a workaround for the current Rust type system constraints that do not allow a nicer way to do the same thing at compile time.