Each node gets a clock offset, and its node page shows it
ADVERT packets now keep their own time (observations.sent_at, schema 22). With the arrival times of messages, each advert, DM, and channel message is a clock sample: the sender time minus ours. A channel sender counts for the node its name resolves to, or under its name. A node's offset is the median of its three newest samples. The node page's Info tab shows "clock 3h 12m behind" in warn past the tolerance, or "in sync". Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2cf0e09eb4
commit
adb79d051a
6 files changed
+484
-6
No files matched your search
@@ -196,7 +196,8 @@ and in quoted text.
|
||||
| message | A text message, direct or on a channel | |
|
||||
| sender time | The time that a message or an advert carries, from the clock of the node that sent it. It is a claim, and a node with a wrong clock makes it false | timestamp (alone) |
|
||||
| arrival time | Our clock when MeshTerm got a received message from the companion (`received_at`) | receive time |
|
||||
| clock offset | The sender time minus the arrival time. A positive offset is a clock ahead of ours | skew, drift (for this) |
|
||||
| clock offset | The sender time minus the arrival time. A positive offset is a clock ahead of ours. The offset of a node is the median of its three newest clock samples | skew, drift (for this) |
|
||||
| clock sample | One packet that gives a clock offset: an advert, a direct message, or a channel message, with its sender time and our time | |
|
||||
| corrected time | The arrival time that the screen shows in place of a wrong sender time, with the `?` mark | |
|
||||
| send | MeshTerm gives a message, a packet, or a command to the device | emit |
|
||||
| transmit | A radio puts a packet on the air | |
|
||||
|
||||
Reference in new issue
Block a user