Skip to content

feat: mark Labs nodes and pools, and show external nodes and external bytes as their own counters #66

Description

@thiras

Problem

The page says 9 registered nodes. Most are ours. It does not say so, and a reader who finds out later trusts nothing else on the page. The same applies to pools: #65 adds "bytes paid by non-operator pools", but a Labs pool that is not a registered operator (the smoke-test buyer) still counts as external there.

Proposal

Mark Labs-run nodes and Labs-owned pools, and show external figures as their own counters:

  • Config. INTERNAL_OPERATORS and INTERNAL_OWNERS lists in wrangler.jsonc (addresses, lower-case), maintained from the fleet inventory (decdn/fleet). Both ship in the published JSON (internal: { operators: [...], owners: [...] }) so the page and anyone reading the file apply the same classification.
  • Nodes. nodes[].internal: true for a registered operator in the list. The by-region table shows "9 nodes (6 Labs, 3 external)"; the header liveness figure gets the same split.
  • Bytes. totals.externalBytesServed (Settled by an external operator) alongside the external-paid figure from feat: show bytes paid for by pools whose owner is not a registered operator #65 (PoolRedeemed from a pool whose owner is neither an operator nor in INTERNAL_OWNERS). Both get hourly and daily points like the headline metrics.
  • Settlements table. A "Labs" tag on internal operator rows.
  • Copy. One line under the metrics: "Labs runs N of the nodes; external counters exclude them and the pools we fund." Lowercase, type-micro, as the page does.

Empty states follow the existing emptyLabel switch per block; asStats validates the new fields; website/lib/stats.ts (decdn/website) shape-checks the same file, so land the additive fields there in the same window.

Related

Activity

  1. added
    enhancement
    on Oct 24, 2026
  2. added theissue type on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions