Expand description
Limit the size of a parameter list for a specific parameter
Used for:
- the external facing RPC
- limiting SQL statements not exceeding parameter limits
The 1st is good to terminate invalid requests as early as possible, where the second is both a fallback and a safeguard not benching pointless parameter combinations.
Structs§
- Query
Limit Error - Query
Param Account IdLimit - Used for the following RPC endpoints
- Query
Param Block Limit - Only used internally, not exposed via public RPC.
- Query
Param Note Commitment Limit - Used for internal queries retrieving note inclusion proofs by commitment.
- Query
Param Note IdLimit - Used for the following RPC endpoints
select_notes_by_id - Query
Param Note TagLimit - Used for the following RPC endpoints
- Query
Param Nullifier Limit - Used for the following RPC endpoints
- Query
Param Nullifier Prefix Limit - Used for the following RPC endpoints
Traits§
- Query
Param Limiter - Checks limits against the desired query parameters, per query parameter and bails if they exceed a defined value.