Skip to main content

Module validate

Module validate 

Source
Expand description

Two-tier response validation for fetched federation data.

A cheap conformance check can cover every operation, followed by an opt-in deep PDU pass only for event and auth-event fetches. When either cryptographic flag is enabled, the deep pass invokes event verification, but currently ignores its Verified status and therefore does not reject a content-hash mismatch by itself.