Expand description
The stage that turns a [DestinationRouting] into a [ResolvedTransportRouting] for every
packet this node originates.
It sits between the merged outgoing-data stream and the SPHINX encoder, so every packet the node originates passes through it: session payloads, Start-protocol replies, SURB keep-alives, probes and cover traffic. Forwarded packets and acknowledgements do not โ they are relayed from inside the ingress pipeline and never reach this stage.
That asymmetry is why this stage deserves its own tests: a fault here silences origination node-wide while forwarding, acking and receiving carry on looking perfectly healthy.
Constantsยง
- DEFAULT_
SURB_ ๐RESOLUTION_ WAIT - Default for
PacketPipelineConfig::surb_resolution_wait, used when it is unset. - SURB_
RETRY_ ๐INTERVAL - How often a return route whose SURBs have not arrived is retried.
Functionsยง
- resolve_
routing_ ๐stage - Resolves the routing of every outgoing packet, emitting the resolved packets in submission order.
- surb_
resolution_ ๐wait - The wait a node should use, given what its configuration says.