A public page with the live state of the Tier network: the backbone nodes, the validator registry, and how reachable each node is from the network's witness nodes. It is a static site with no build step and no dependencies, meant to be served from IPFS.
The page runs entirely in the browser:
-
Witnesses. Every 30 seconds it fetches
GET <witness>/statusfrom each witness listed insite/config.js. A witness is a foundation node with thewitnessrole: it dials every backbone node at each of its addresses about once a minute and serves the result as JSON (CORS enabled). The document's schema is described inapps/node/src/witness_json.hppin tier-core. -
Registry. Every 10 minutes it lists
validators/<network>/in tier-core through the GitHub API and reads each<node_id>.tomlfrom raw.githubusercontent.com. If GitHub is unreachable or rate-limits the visitor (60 API requests an hour per IP), the page works without the registry columns. -
Merging. Nodes are merged by node id across the witnesses and the registry. A node is:
- up when a majority of the witnesses that probed it reach it;
- degraded when some reach it, but not a majority;
- down when none does;
- pending when it is known but not probed yet;
- not seen when it is registered but no witness knows it.
A witness does not probe itself; the other witnesses do. A witness whose last good answer is older than three poll rounds is left out.
-
Uptime is the share of successful probe rounds since each witness last started (the counters live in the witness's memory), averaged over the witnesses.
Registrations are signature-checked when they are added to the registry (by the registration workflow and CI in tier-core), not in this page.
Everything that comes from the witnesses or the registry is put into the page
only as text, never as HTML, and the Content-Security-Policy in index.html
allows scripts from the page itself only and network requests to the listed
origins only.
#/: summary, witnesses and the node table (search by node id, operator or address; click a column to sort).#/node/<node_id>: one node, with its reachability per address and witness. Validator operators can bookmark this link for their node.
site/config.js: the network, the witness URLs, the registry repository and
the poll intervals. When you change the witness list, also change connect-src
in the Content-Security-Policy in site/index.html, or the browser will refuse
the requests.
The link-preview tags (Open Graph, Twitter card) and the canonical link in
site/index.html use the absolute address https://explorer.tier.org/, since
crawlers need absolute URLs; change them there if the page moves. The preview
image is site/assets/og-image.png (1200x630).
cd site
python3 -m http.server 8000 --bind 127.0.0.1Open http://127.0.0.1:8000/. The witnesses send Access-Control-Allow-Origin: *,
so the live network works from localhost too.
build.Dockerfile has an export stage with the contents of site/, the same
contract as the Tier website's IPFS deploy:
docker build -f build.Dockerfile --target export --output out .All paths in the page are relative, so it works from an IPFS gateway path
(/ipfs/<cid>/) as well as from its own domain.
Apache-2.0, see LICENSE.