Skip to main content

MAX_HAVING_LIMIT

Constant MAX_HAVING_LIMIT 

Source
pub const MAX_HAVING_LIMIT: u16 = 100;
Expand description

Hard ceiling on a having-range request’s LIMIT. Same value and same rationale as super::drive_document_ranked_query::MAX_RANKED_LIMIT: the proof commits one secondary entry per returned group, so proof bytes grow linearly in the limit, and the ceiling is a hard rejection rather than a clamp because the limit is part of the traversal the verifier re-executes: a server-side clamp would truncate the walk and fail coverage under the client’s own reconstruction.