pub const MAX_LEAVES: u64 = 1_000_000;Expand description
Hard cap on the number of leaves in a tree we are willing to build
a sparse manifest for. Matches the per-tree entry_count bound in
SPEC-OBJECTS §4. Verifier MUST enforce the same cap so a malicious
manifest.leaf_count can’t allocate unbounded memory.