mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-09-16 12:02:35 +00:00
- node_links table: stores ITM-viable hop pairs from observed packet paths with directional counts (count_a_to_b / count_b_to_a) and path loss dB - Historical backfill: decodes all stored packets on first run to populate links - Per-node /api/nodes/:id/links endpoint: fetched on popup open (not preloaded) - Node popup: shows confirmed neighbours with directional arrows and path loss - Links layer: amber polylines on map showing all ITM-viable link pairs - Beta path resolver rewritten as backtracking DFS: - Confirmed neighbours tried first (real observed link data) - Falls back to closest node within terrain-derived radio range - Backtracks when a candidate leads to dead ends at subsequent hops - Skips capped at ceil(hops/3) to prevent degenerate all-skip paths - Visited set enforces each node appears at most once per path - hopCount used to slice path_hashes to actual relay count - Viable link pairs sent in WebSocket initial_state for path resolution - LINK_BUDGET_DB raised to 148 dB; fade margin removed from viability check - Viewshed worker: directional link tracking, UK mainland clipping fixes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>