Skip to main content

MAX_COMMITMENT_KEY_COUNT

Constant MAX_COMMITMENT_KEY_COUNT 

Source
pub const MAX_COMMITMENT_KEY_COUNT: u32 = 1_000_000;
Expand description

Maximum number of keys a single commitment may cover.

Bounds the Merkle path depth (audit responses carry O(log2 key_count) hashes per key) and the responder-side tree memory. A node storing more keys than this would need to split its claim — out of scope for v1.