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.

Re-exportsยง

use ruma::CanonicalJsonObject; ๐Ÿ”’
use ruma::RoomVersionId; ๐Ÿ”’
use serde::de::IgnoredAny; ๐Ÿ”’
use tuwunel_core::Err; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::err; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_matrix::event::gen_event_id; ๐Ÿ”’
use super::Op; ๐Ÿ”’
use super::Opts; ๐Ÿ”’