Relay marks count every repeater; near relays are gone

The first build counted only the relays past the first hops of the
outbound paths. On JP's Public channel, 23 of 23 sent messages came back
only through the two home repeaters: each repeater relays one time, and
the next hop (8 km away) is too far for the companion to hear. So every
message showed the warning mark, and nothing was ever confirmed.

Now each repeater that sends a copy back counts, the same as a DM ack:
spinner, then a check with the number of repeaters, or a cross. The
warning state, the near-relay snapshot of each send, the ^P atom, and
heard_via are removed. heard_relays keeps only the paths; a database with
the first build of the table gets it made again (derived data only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 5.5 committed 2026-11-20 21:21:11 -05:00
1 parent f4b1d659d1
commit 5dc62cdc5b
13 files changed
+164 -379

No files matched your search

-1
View File
@@ -183,7 +183,6 @@ and in quoted text.
| path | An ordered list of hops that you write or force (`a1,3d,…`) | |
| route | The sequence of nodes that a trace went through or will go through | |
| hop | One node in a path or a route | |
| near relay | The first hop of an outbound path that applies now. A copy of our channel message that only near relays sent back proves that the message left our radio, not that it went farther | own repeater, home repeater, local relay |
| outbound path | A path that starts at our node and goes out into the mesh, one or more hops long. The user trusts it for the first hops of a route, because the user knows which way out works | outbound leg (for this: an outbound leg is the outbound half of a trace) |
| site | A name for where the user takes the computer (`Home`, `Foulab`), with its outbound paths in order. One site is active | profile (for this: a profile is a connection alias in `config.toml`) |
| fixed device | A companion that never moves. It keeps its own outbound paths, and the active site does not apply to it | |