Skip to main content

MAX_CHAINED_JOIN_VALUES

Constant MAX_CHAINED_JOIN_VALUES 

Source
pub const MAX_CHAINED_JOIN_VALUES: usize = 100;
Expand description

The most join values one chained query can carry — the derived outer query is a single $id IN [...] clause, and in clauses admit at most 100 values (WhereClause::in_values). DriveDocumentQuery::validate_chained caps the inner limit here so every reachable page fits, and DriveDocumentQuery::chained_proof_path_queries enforces it on the (untrusted, verifier-supplied) join-value list itself.