Skip to main content

Module records

Module records 

Source
Expand description

DNI / RAR / alias records (NET-19, identifier-resolution.md §§2.4–2.5, §5).

Compact hashes are lookup aids only. Route selection requires an explicit 48-byte requested_target: &StrongDigest, active validity window, monotonic sequence progression, and keyRole authorization (route-update or capabilityInvocation; session-authentication is rejected).

Structs§

RouteAdvert
VerifiedRar
Verified Route Advertisement Record (idf:RarShape, distinct from DniShape and QSessionProofShape).

Enums§

RarKeyRole
Closed idf:keyRole enum for route advertisement verification (F1 §5.11, identifier-resolution.md §2.5).
ResolveOutcome

Constants§

MAX_ALIASES
MAX_CANDIDATES
MAX_DIAL_RACES
MAX_RAR_ROUTES
MAX_RETURNED_ROUTES
MAX_VERIFICATIONS

Functions§

project_rar_to_network_quins
Project a verified RAR into canonical RouteAdvertisement NQuins with 5-field XOR parity, preserving DniShape != RarShape != QSessionProofShape.
select_routes
Select routes matching requested_target ([u8; 48]), enforcing: