diff options
| author | tv <tv@krebsco.de> | 2026-11-09 05:36:38 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-09 06:42:57 +0100 |
| commit | 8a7df0caa51fc1b01e2a744c9e48dd3a1af39296 (patch) | |
| tree | 6a9c715e840d90171a162f4c9f4300dd8eb69838 /src/swarm/hop.rs | |
| parent | b2c5096744c99453856f7281251b3f0cb4b9baae (diff) | |
dashboard: a subscribed node's own figures when it is in focus
A node in focus showed this node's `/peers` entry for it and the links it reports:
what this node knows of it, never what it says of itself, though the page subscribes to
it. Now a subscribed node in focus shows its own figures first (`Node:`), as this
node's are (its `/admin/stats`), then this node's entry for it (`as this node sees it`)
and its links, each a branch. A link in focus shows each end's paths to the other as
that end has them: this node's, and a subscribed node's from its `/peers`.
The page reads them from the node every 2 s while it is in focus (`readFigures`,
`figuresOf`), with its narrow token, which may look at a node as any user with a
capability may; pages of other origins may now call `/admin/stats` and `/peers`
(`cors::open`), as they do a node's links and messages. Where they can't be read, the
box says why.
Diffstat (limited to 'src/swarm/hop.rs')
0 files changed, 0 insertions, 0 deletions
