Expand description
NodeId → registry-published direct dial addresses (ADR 001 § Node
Discovery), mirrored into an iroh MemoryLookup that the runtime registers
on the node’s endpoint.
A node publishes only its relay URL through pkarr, so a dial by bare
NodeId learns no IP address from pkarr and opens over the relay. The
CapacityBond registry watcher keeps this directory in step with each
node’s on-chain multiaddrs. With its lookup on the endpoint, every
EndpointAddr::new(node_id) dial (DHT RPCs, upstream probes and pulls,
waiver requests) resolves the registry addresses and connects directly when
the node is reachable.
The addresses are self-attested and additive. A stale or wrong address loses the path race to the relay, and the QUIC handshake authenticates the node id, so an address cannot redirect a dial to a different node.
Structs§
- Dial
Addr Directory - The registry’s
NodeId → direct dial addressesprojection and the iroh lookup it feeds. Cloning shares both.