mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-10-06 22:37:19 +00:00
MeshCore carries up to a 64-byte path, so a route can be 64 hops long at one byte per hop — and proportionally fewer with 2- or 3-byte hashes, which is where the observed ceilings of 32 and 21 come from. The chart capped at 32. That number was inherited from the old dashboard's `BETWEEN 0 AND 32` filters and carried forward without checking it against the protocol. On the live database it silently discarded 5,654 flood packets arriving from as far as 63 hops. Worse for the node series: the cap runs after the per-node MIN(), so a node whose *closest* route exceeded 32 hops disappeared from the chart altogether instead of appearing at the far end. The live history holds one such node, reachable only by a 48-hop path. The axis can now span 64 grouped categories, so bars drop their rounded corners and padding above 24 buckets and the x ticks auto-skip. 64 is kept as a hard ceiling: beyond it the path field could not have held the route, so the value is corrupt rather than distant.