Skip to content

tpd: a Root that repeats the last tree is a no-change - #5269

Merged
0pcom merged 1 commit into
skycoin:developfrom
0magnet:fix/tpd-no-change-roots
Sep 29, 2026
Merged

0pcom merged 1 commit into
skycoin:developfrom
0magnet:fix/tpd-no-change-roots

Conversation

@0pcom

@0pcom 0pcom commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

A visor republishes its Root every 45 s even when nothing changed; objects are content-addressed, so on the wire that heartbeat is just the small signed Root. TPD applied every one as new — every telemetry shard and the whole transport list, for every visor, every 45 s.

A Root whose tree hash matches the reporter's last Root applied in full is skipped, except once per 90 s, which keeps registrations (5-minute TTL) and uptime heartbeats (90 s cadence) alive.

A visor republishes its Root every 45 s even when nothing changed; the
objects are content-addressed, so on the wire that heartbeat is only the
small signed Root. TPD applied every one as new — every telemetry shard
and the whole transport list, for every visor, every 45 s.

A Root whose tree hash matches the reporter's last Root applied in full
is skipped, except once per 90 s, which keeps registrations (5-minute
TTL) and uptime heartbeats (90 s cadence) alive.
@0pcom
0pcom merged commit aaa48f0 into skycoin:develop Sep 29, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant