Expand description
Sends federation requests and tracks per-peer reachability.
The service resolves and signs outbound requests, records selected outcomes, ranks fallback candidates, and exposes bounded multi-destination fanout.
Re-exportsΒ§
use std::sync::Arc;πuse std::time::Duration;πuse tuwunel_core::Result;πuse tuwunel_core::utils::exponential_backoff_streak_cap;πuse tuwunel_database::Map;πuse self::peer::MAX_BACKOFF;πpub use self::peer::Classification;pub use self::peer::PeerBackoff;pub use self::peer::ShouldAttempt;pub use self::peer::is_content_rejection;pub use self::rank::Candidates;pub use self::rank::WhenAllBackedOff;use crate::services::OnceServices;π
ModulesΒ§
- execute π
- Resolves, signs, sends, and decodes one outbound federation request.
- feds
- Bounded federation fanout for surveys and broadcasts.
- format π
- Outgoing federation event formatting.
- peer π
- Stores and evaluates per-server federation reachability.
- rank π
- Verdict-ranked candidate selection shared by the fetcher and backfill.
- scheme
- Adapters that build the
Inputfor rumaβs [AuthScheme] and [PathBuilder] traits from tuwunelβs federation context.
StructsΒ§
- Service
- Executes outbound federation traffic and maintains peer status.