Skip to main content

generate_vector

Function generate_vector 

Source
pub fn generate_vector(n: u64) -> TestVector
Expand description

Generate a test vector for a tree with n entries.

Uses deterministic entries where each entry’s artifact hash is [i; 32] (all bytes set to the index). Timestamps are fixed to a known epoch value for reproducibility.