The tools

Network board & badges

The network health board replays every qledger-v1 rollup on QoreChain testnet in the background and shows how many of its settled batches reproduce, plus whether its latest batch yields a valid settlement receipt. The same measurements power README badges that any rollup team can embed.

The board right now

These totals are read from this server's /api/health-board as the page opens; the full table is at /network.

Rollups
—
qledger-v1
—
Batches replayed
—
Matched
—
Diverged
—
Fully reproduced
—
Reading /api/health-board…

For the record, the sweep at 16:20 UTC on 2026-11-30 listed 21 rollups, 17 of them qledger-v1 with 3,447 settled batches between them: 2,011 batches replayed, 2,011 matched, 0 diverged, 1,422 skipped, and 14 of the 17 fully reproduced. 17 of the 20 latest-batch receipts it checked were valid (quill-ledger-1 and rdk-v328-e2e-mwd5v89d unanchored, sealed-scouts-1 could not be checked).

Verdicts

VerdictMeaning
reproducedEvery settled batch re-executed to the chain's state root.
divergedAt least one batch re-executed to a different root (the first ten indexes are listed).
partialNo divergence, but not every batch was replayed (skipped, capped, or new batches since a carried-over replay).
no-batchesNothing settled yet.
not-replayableA custom VM: listed, with its receipt, but Qorva has no reference executor for it.
errorThe check itself failed (RPC, decoding). Not a statement about the rollup.

How it is built

src/lib/network-health.ts. A sweep lists every rollup, then checks three at a time, qledger-v1 rollups first. For each one it reads the batch list, replays up to 2,000 batches with replayRollup, and builds and verifies the latest batch's receipt (checkLatestReceipt). A value that was not measured is null, shown as a dash.

  • Stale-while-revalidate. The board is served from memory and refreshed in the background once it is older than 5 minutes; ?fresh=1 forces a new sweep. Each finished board is written to .qorva/health.json and loaded from there after a restart.
  • Unchanged rollups are not replayed again when their batch count and latest root are the same as last time.
  • Heavy rollups (a replay over 30 s) are re-replayed at most every 30 minutes; in between, the last replay's numbers are carried over with a note such as "2 batches settled since the last replay".
  • Receipts are cached per batch: 10 minutes when valid or invalid, 1 minute when unanchored or errored. Only the chain's own "nothing anchors this" answers count as unanchored.

README badges

Each badge is checked against the testnet when it is requested, through the same per-rollup report (getRollupHealth, reused for 60 s).

URLShows
/badge/<id>.svgReplay: "59/59 reproduced" in green, "diverged N" in red, a partial count in amber, or "no batches" / "not replayable" / "unknown" in grey.
/badge/<id>.svg?type=receiptThe latest batch's receipt: "receipt valid · batch N", "receipt invalid · batch N", or "unanchored · batch N".
/badge/<id>.jsonThe shields.io endpoint schema: { schemaVersion: 1, label, message, color }. Works with either type.

Live, from this server:

qorva replay badge for setoff-1qorva receipt badge for setoff-1qorva replay badge for vigil-pay-1
Markdown, as /network generates it
[![qorva replay](https://<your-qorva-host>/badge/my-rollup-1.svg)](https://<your-qorva-host>/network#my-rollup-1)
[![qorva receipt](https://<your-qorva-host>/badge/my-rollup-1.svg?type=receipt)](https://<your-qorva-host>/network#my-rollup-1)
![shields](https://img.shields.io/endpoint?url=https%3A%2F%2F<your-qorva-host>%2Fbadge%2Fmy-rollup-1.json)

/network generates these snippets for any rollup, using NEXT_PUBLIC_QORVA_URL as the host if it is set, otherwise the page's own origin. A badge answers within 20 s: if a first check takes longer, it says "checking" and the check finishes in the background. Responses carry access-control-allow-origin: * and are cacheable for 5 minutes (1 minute for unknown, checking or error states).