Discover, connect, age and reconnect
This figure documents the historical i386 source baseline. Current native x86-64/AArch64 qualification is recorded separately; this is not an ELF64 or native SMP implementation diagram.
TCP peers age from last-seen time; local inter-core peers bypass network stale checks.
Text equivalent and source references
- UDP announcements on 5100 discover up to eight peers. TCP on 5101 performs the simplified Noise_XX-like handshake before encrypted traffic.
- At 100 Hz, connected peers become stale beyond 6000 ticks and disconnected beyond 12000; refresh can restore a stale peer, and a disconnected peer retries with backoff. Transport failures can disconnect immediately. Local peers use SPSC channels, not TCP/Noise.
Peer state machine. Source paths refer to the atlas baseline; the kernel checkout is private.
include/mesh.h · limits, peer states, transportskernel/graph/mesh.c · mesh_tick, mesh_connect_peer, handle_handshake