web(d-web): surface embedded-daemon synced state + tip on topology card - #452
Merged
Conversation
…logy card The node-topology StatsProvider hook (#415) already computes each embedded coin true synced flag and tip height from the live handles (LTC blocks_connected vs LTC_MINING_GATE_DEPTH, DOGE likewise, embedded_chain->height), but the front-end renderNodeTopology dropped both fields -- the card rendered peers and embedded/rpc tags only. So the binary knew whether embedded LTC :9333 was synced and at what tip, yet the dashboard never showed it: real data computed, silently discarded. That is the founding charter gap (a dashboard must not omit known prod truth). Render synced (green) / syncing (amber) and tip <height> per coin, gated on the field actually being present -- a coin we hold no handle for stays silent rather than claim a state. Front-end-only static drop-in; no backend or consensus change. Serves the LTC per-coin dashboard milestone (embedded LTC :9333 peers/synced/tip).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The node-topology StatsProvider hook (#415) already computes each embedded coin's real synced flag and tip height from the live handles (LTC
blocks_connectedvsLTC_MINING_GATE_DEPTH, DOGE likewise,embedded_chain->height()). But the front-endrenderNodeTopologydropped both fields — the card rendered peers + embedded/rpc tags only.So the binary knew whether embedded LTC :9333 was synced and at what tip, yet the dashboard never showed it: real data computed, silently discarded. That is the founding charter gap (the dashboard must not omit known prod truth — the 2026-06-22 bug was exactly a sync/peer lie).
Change
Front-end only. Render per coin:
synced→ green synced / amber syncingheight→ tipBoth gated on the field actually being present — a coin we hold no handle for stays silent rather than claim a state it cannot read (no fabrication).
Risk / deploy
web-static/dashboard.html) — deployable via static-swap like web(d-web4): viewport meta + mobile shim for legacy index/graphs pages #422/web(d-web4): narrow-phone (<=480px) hardening for embedded dashboard header #442/web(d-web): per-node topology card on embedded dashboard #446, no restart.Serves the LTC per-coin dashboard milestone (embedded LTC :9333 peers/synced/tip).