Skip to content

Latest commit

 

History

History
1947 lines (1678 loc) · 149 KB

dashboard.md

File metadata and controls

1947 lines (1678 loc) · 149 KB

The Dashboard

A single web page that monitors every service, charts hashrate, and shows the XvB switching engine's decisions. Caddy serves it over HTTPS at https://<hostname> (the URL is printed when the stack starts); with dashboard.secure: false it serves plain HTTP.

The dashboard has two states. While the nodes catch up to the network it shows Sync Mode. Once both chains are synced it switches to the operational view.


Connect a miner

The Connect a miner block is available while syncing and in the running dashboard. It shows the LAN pool URL and, when stratum TLS is enabled, the certificate's SHA-256 fingerprint. A configured stratum password has Reveal and Copy controls. With dashboard authentication disabled, anyone on that LAN can retrieve it; enable a dashboard login before sharing access. An onion-published dashboard requires a login. With no stratum password, the block says No stratum password and miners connect without one.

Sync Mode

The dashboard shows Sync Mode the first time you start the stack, or any time the Monero or Tari node is still catching up. A Syncing... badge appears next to the hostname, the headline reads "System is currently synchronizing with the network," and no hashrate is routed yet.

The screen also says what it is waiting on, because two of the clocks involved are not the progress bars and an operator watching only those reads a working machine as a stuck one. If the node went unreachable and is catching up again, workers are readmitted once the node has stayed reachable for a recovery window rather than on the first check that succeeds — a machine starting for the first time has no rejected workers, so that wait belongs to a node that dropped out, not to a first run. And dashboard.tari_required is read when the dashboard starts, so changing it takes effect once you apply the change, not while the screen is up.

Sync Mode

Sync Mode gives each chain its own progress card:

  • Monero Sync: verified block height vs. the network tip, with blocks remaining. A green check means the chain is caught up. It also shows Pruned or Full mode and the on-disk DB size (also in the XMR Network panel of the operational view) — local node only; with monero.mode: remote the mode reads Unknown, since the stack doesn't probe a node it doesn't run — so you can confirm a reused chain matches your monero.prune setting.
  • Tari Sync: the same, as a percentage ring, for the Minotari chain.

The top bar shows live host telemetry throughout: CPU, load average, RAM, HugePages (to confirm RandomX optimization is active), and disk usage, for watching resources during the initial download.

A Monero or Tari node cannot mine until it has downloaded and verified the blockchain. On a first run that takes a few hours to over a day, depending on hardware, disk, and network. Once the required chains report synced, the dashboard swaps Sync Mode for the operational view and mining begins — no refresh or restart needed.

While the chains sync, the dashboard keeps p2pool and xmrig-proxy stopped (a Miner held (sync) badge shows next to the hostname) and starts them once the chains are ready. A local Monero node is ready when monerod itself reports synchronized, so a node that has just restarted and has no peers yet keeps the miner held. Running p2pool against an unsynced node does nothing and floods Tari's logs with merge-mining chatter. Releasing the miner is one-way: once it starts it stays up. Two changes are exceptions. A restore at setup: the release belongs to the machine the backup was taken on, so after such a restore the dashboard holds the miner again until this machine's chains are ready. ./pithead restore, the same-box recovery command, is not this door — its box's chains never desynced, so it keeps whatever gate state the backup carried. An applied Monero node host or RPC-port change also re-arms the full hold until the required chains are ready. A change only to Tari's mode or endpoint on an already-mining machine preserves its earned release: Monero mining continues; merge-mining starts when Tari has synced. A transient unavailable sample of the unchanged Monero endpoint during apply does not re-hold mining; a sustained outage uses the debounced worker-failover path. The Tari card shows its progress in the operational dashboard. This policy survives dashboard restarts, but a later Monero change or setup restore restores the full hold. A machine that has never released mining still waits for both chains by default. With dashboard.tari_required: false the initial hold waits only for Monero and mines while Tari finishes syncing in the background.

With tari.mode: remote the dashboard reads sync state from tari.remote.host over gRPC. A remote node still catching up holds the first mining release or a full re-arm, just as a local node would. An earned Tari-only endpoint change keeps Monero mining while that node catches up. Set dashboard.tari_required: false to omit Tari from the first-install/full-reset hold.

Want to skip most of the wait? Point the stack at an existing synced blockchain, or connect to a remote node. See Configuration › Reusing an existing node.

You can also follow sync progress from the command line. ./pithead status prints each chain's percent and blocks remaining while it's still syncing (no ETA — block rate isn't sampled), or watch the node logs directly:

./pithead status
./pithead logs monerod
./pithead logs tari

The operational view

Once both nodes are synced, the dashboard shows the operational view. P2Pool then syncs its own sidechain. While its reported difficulty is at the default minimum (100,000) and its sidechain height is below its reported PPLNS window, Global P2Pool Stats and Pool Cadence & Luck show "P2Pool is syncing its sidechain" instead of pool figures. Local worker hashrate remains visible. The cards return to their figures on the next poll when that bootstrap state clears. P2Pool's data API has no explicit sync flag or progress percentage; this detects its initial minimum-difficulty view, not later stalls or peer loss.

Operational dashboard — Simple view

The page updates every 30 seconds, refreshing each panel in place rather than reloading. Scroll position, the worker-table sort column, and the chart stay put between updates. View preferences — theme, Simple/Advanced view, the chart's averaging window and series toggles, the worker-table sort, the earnings tab, and the topology mesh toggle — are also remembered across reloads. A poll that fails — or hangs, as a dropped Tor circuit can — aborts after 25 seconds and shows a red banner naming the timestamp of the data still on screen ("Disconnected — showing data from …"); it clears on the next successful refresh. After polls keep failing for 60 seconds, recovery guidance appears, including on the initial loading screen and during chain sync. Reload the page or open the same address in a new tab to inspect a browser warning or login prompt. On an appliance, an address change can replace the certificate even when the hostname stays the same. Compare a replacement certificate's SHA-256 fingerprint with the current one on the appliance console; stop on a mismatch and accept only a match. Polling reconnects after trust is restored. Certificate and network failures look alike; an expired session does not — a refresh answered 401 reloads the tab to the sign-in page, as described below.

A tab remembers the version from its first successful refresh. When a later refresh reports a different version, or the first successful refresh after the disconnected banner, the page shows "Pithead was updated or restarted. Reloading…" and reloads itself, so an open tab does not keep running old code after a restart, rollback or update. A refresh answered 401 — an expired session — shows "Pithead restarted or the page is out of date. Reloading…" and reloads on the first poll, landing on the sign-in page. The page reloads only after the dashboard has answered, never into a browser error page, and at most once every 2 minutes per tab: a trigger inside that window shows the message but leaves the reload to a later refresh. The page also checks once when the window regains focus or becomes visible. An update-dialog step in progress holds the reload until it finishes or fails; the Configuration draft is kept across it.

Top bar

A status strip across the top shows the hostname, host telemetry (CPU, load, RAM, HugePages, disk), the last-update time, and 1h / 24h routed averages for both P2Pool and XvB (your split). The disk readout switches from GB to TB once the volume reaches 1 TB, on the same scale in the Telegram /system reply. An XMR Pruned / XMR Full badge sits with the other badges beside the stack name, showing the bundled node's blockchain mode. It appears for a local node only — with monero.mode: remote the pruning state is unknown, so neither badge is shown.

A red Mining paused here: <reason> badge leads the badges whenever this Pithead is not serving work. The reason is the first that holds of: stratum closed, node out of sync (the local Monero health verdict is red), node syncing, and P2Pool isolated (P2Pool is running with no peers). When rigs have moved to a backup pool the line ends with , N rigs on backup pool, counted from the workers whose mining verdict is on_backup; the clause is omitted at zero. The line clears on the next poll once the condition ends.

When the dashboard host is a name (not already an IP), the machine's IP shows beside it as hostname @ ip (e.g. pithead.local @ 192.168.1.42), a way back in when the hostname doesn't resolve from a phone or another LAN machine.

A version badge sits beside the hostname. A released build shows the version (e.g. v1.3.0); a development or working-tree build shows a dashed dev · branch @ commit marker instead, so it is not mistaken for a release. It appears on every screen, including Sync Mode, so a screenshot in a bug report shows the build. To switch a dev build to a published release, see Switching a source checkout to release images.

When a newer Pithead release is out, a clickable New release vX.Y.Z available ↗ badge appears next to the version badge, linking to the GitHub release. The badge itself never updates anything. The check is on by default and routed over Tor, so it does not reveal your IP. Turn it off with dashboard.check_for_updates: false (see Configuration). The badge can never name the version you are already running: it is suppressed whenever the advertised release is not strictly newer than the running one, so right after an upgrade it clears with the restart instead of lingering until the next hourly check (#664).

With the control channel enabled, an Upgrade to vX.Y.Z button appears beside the badge — see Upgrading from the dashboard. Without it, upgrade from the host per Operations › Updating the stack.

Host & performance warnings

The top bar also surfaces the persistent host conditions that setup warns about, derived from live metrics so they self-correct rather than going stale:

Badge Means Fix
⚠ HugePages off HugePages aren't reserved — RandomX hashrate is capped. Run setup's tuning (or edit GRUB) and reboot; the badge clears once they're reserved.
⚠ Low RAM (N GB) Under what this machine's workload wants: ~14 GB running both nodes locally, ~8 GB with one remote, ~3 GB with both remote, plus ~3 GB more when the appliance's built-in miner is on (its RandomX dataset holds that much alongside the stack's own). Remote nodes take their memory appetite with them; a nominal 16 GB machine reports ~15 and is fine for the full stack — but mining on the same box as both local nodes wants more. Add RAM, point a node at a machine that has it, or mine from a separate rig.
⚠ Memory pressure (N GB free) Live signal: under 1.5 GB actually available right now, whatever the machine's size — the next spike can OOM a container. Check which service is growing on the System panel.
⚠ No AVX2 The CPU lacks AVX2, so RandomX mining is much slower. A hardware limit; nothing to change at runtime.
⚠ Payout wallet changed The wallet p2pool mines to changed within the last 72 hours (old → new, truncated). A confirmation if you changed it; an alarm if you didn't. Verify monero.wallet_address in config.json; see Operations › wallet changes. The badge expires on its own after 72 h.
Disk N% full The data filesystem is 85% or more used. Free space, or move a data_dir — the chains keep growing.
⚠ Disk N% full 95% or more used. A full disk corrupts monerod's database mid-write. Act now: free space or move the chain to a larger volume.

The first two also push a Telegram alert (hugepages, low_ram) when first detected, if the bot is on; the wallet badge pairs with the wallet_changed alert; AVX2 is badge-only (see Telegram Bot). All active warning badges are echoed in the bot's /status reply.

Monero node offline banner

When monerod is red (no outgoing peers, or a height that has stopped moving) or, with tor.auto_heal on, Tor clearnet egress has failed past the auto-heal's 15-minute broken window, a red banner above the dashboard reads Monero node offline and lists the reasons. With auto-heal on it also adds the heal state: the last action and its age, the cooldown before the next one, and, once the three attempts of an outage are spent, a line saying the auto-heal has stopped and to run ./pithead doctor. The banner is computed from the dashboard's existing health verdicts and served over the LAN, so it needs no Tor and no Telegram, the two paths that fail together in a Tor outage. It clears when the verdicts do.

Hero band

A strip of headline KPIs sits below the top bar:

KPI Meaning
Total Hashrate Your combined hashrate across all workers.
Shares in Window Shares you currently hold in the P2Pool PPLNS window (green when above zero).
Raffle Eligible Whether you'd actually win and collect an XvB raffle payout: green Yes, red No. (Full definition in Overview.)
Blocks Found P2Pool sidechain blocks your node has found.
XvB Tier The donation tier you're currently holding.
Mining Mode What your hashrate is routed to right now: P2Pool, XvB, or a split.

While XvB is disabled the two raffle KPIs stand down entirely — the mode badge already says XvB is off, and a strip of N/A and None would just repeat it.

Mine cart train

A pixel-art train runs under the hero band on every view. It is the chart's history retold as cargo: the strip splits the loaded chart window into equal intervals, one cart each (the newest sits under the tipple chute on the right), and what landed in an interval rides in its cart as a token coin poking over the rim:

In the cart Means
Empty cart Plain hashing, nothing landed in this interval.
One orange ɱ coin One or more P2Pool shares found.
A pair of orange ɱ coins A block found.
Purple gem coin A confirmed Tari payout — for solo merge-mining, the wallet's proof of a found Tari block. Needs payout confirmation on for Tari.
Blue X coin An XvB raffle win.

Hover a cart for its exact interval and haul ("14:20–14:30 — 2 shares"). A cat sleeps by the track; clouds drift past; the coins bob as the track rumbles. The train is decorative: shares, blocks, and raffle wins all appear on the chart above with precise timestamps. The one thing the train alone marks is the Tari gem coin — Tari payouts stay off the chart (see Payout confirmation), and the cart's hover tooltip is their timeline. All motion stops when your system asks for reduced motion, and the strip disappears while there is no history to show.

Node status & failover

If a local or remote node becomes unreachable, a red monerod DOWN or Tari DOWN badge appears in the top bar: Monero after 90 seconds, Tari after 15 minutes continuously unreachable. Both clear after 60 seconds of confirmed reachability. Sync state is read from monerod's get_info RPC and Tari's gRPC, so "down" means the node itself is unreachable, not just that a log line changed.

A red ⚠ DB write failing badge appears if the dashboard can't write to its SQLite database (full or read-only disk, permissions problem). The dashboard keeps serving live data, but hashrate history, shares, and stats won't survive a restart until it's fixed.

If the database file is found corrupt (malformed, e.g. after a container was recreated twice in quick succession while a write was mid-flight), the dashboard heals itself rather than erroring forever: it quarantines the bad file to mining_data.db.corrupt-<UTC> (kept for post-mortem), starts a fresh database, and keeps running. A db_reset alert (Telegram and the other sinks) tells you history before that point was cleared. Payout and XvB state rebuild from the chain and the live feed; only the historical charts reset.

Fail-closed miner hold. By default, every health failure above — DB write failing, DB corruption, a crash-looping container — only alerts; the dashboard is an observability layer, and the mining datapath (xmrig-proxy → p2pool → monerod) runs independently of it. Set dashboard.fail_closed to true to hold the miner instead, but only for genuinely unrecoverable failures: the DB self-heal above failing on its own rebuild attempt (not an ordinary write blip, which stays alert-only), or the dashboard container itself crash-looping. A red Miner held (fail-closed) badge shows while held, next to p2pool and xmrig-proxy, stopped the same way the Sync Mode hold does; unlike that one-way sync gate, both containers start again on their own once the condition clears — no restart needed. The database also keeps three smaller series: pool block-found events, hourly monerod-DB-size and host-disk-usage samples, and XvB-credited scalar samples taken roughly every 5 minutes. /api/state serves them as blocks, disk_growth, and xvb_history, range-filtered the same way as share_stats. The mine cart train reads blocks and the chart's donation overlay reads xvb_history; only disk_growth is persistence and API exposure alone, no renderer yet.

A sustained outage of a required node stops xmrig-proxy so workers fail over to their configured backup pools. A Workers rejected badge shows; confirmed recovery restarts the proxy. Monero is always required, for local and remote nodes. The dashboard probes the configured Monero RPC; stale P2Pool stats do not count as reachability. Monero uses a 90-second outage debounce; Tari uses 15 minutes. Both require 60 seconds of confirmed reachability for recovery. Readmission waits for every required node to be confirmed healthy, so a dashboard restart mid-outage does not admit workers prematurely.

Work that P2Pool or monerod cannot make valid also stops xmrig-proxy, so a rig is never left hashing a stale tip. A monerod with zero peers still reports itself synchronized, so the guard does not rely on that flag. Each trigger below must hold continuously for its wait, then stay clear before it releases:

Trigger Holds when Waits before stopping
Monero node unhealthy the Monero card is red: out of sync for 10 minutes (NODE_STALE_AFTER_SEC), 0 outgoing peers for 10 minutes, or no new height for 30 minutes the card's own clocks: 10 minutes out of sync or peerless, 30 minutes without a new height
Monero node has 0 outgoing peers the current reading shows 0 outgoing peers MINING_GUARD_GRACE_SEC, default 600 s
Monero node not synchronized monerod's own synchronized flag is false MINING_GUARD_GRACE_SEC
Monero node behind P2Pool's peers at least two different peers appear in P2Pool's log in the last 2 minutes as at least P2POOL_LAG_BLOCKS (default 5) blocks ahead, and monerod's height has not moved for 15 minutes NODE_DOWN_AFTER_SEC, default 90 s
P2Pool reports monerod is not synchronized P2Pool logged monerod is not synchronized in the last 30 seconds (it repeats the line every second while it waits, so a burst that has ended stops holding) NODE_DOWN_AFTER_SEC
P2Pool has no sidechain peers P2Pool reports 0 outgoing and 0 incoming connections MINING_GUARD_GRACE_SEC
P2Pool has no ZMQ messages P2Pool's last ZMQ message is older than P2POOL_ZMQ_STALE_SEC, default 600 s NODE_DOWN_AFTER_SEC
monerod, p2pool or tor container down the container is not running, is restarting, or its healthcheck is starting or unhealthy (Tor's check is bootstrap complete); a container the stack does not run is skipped NODE_DOWN_AFTER_SEC

The current-reading rows exist so that a dashboard restart during a pause cannot readmit rigs onto a node that is still peerless or unsynchronized. An active hold whose key is missing from its input (the Docker proxy, P2Pool's stats or its logs) is kept; its recovery timer resets while the key is missing and the normal NODE_RECOVERY_AFTER_SEC window applies once a healthy reading returns. An active hold whose container is permanently removed lasts until the dashboard restarts, because the key can never reappear. A trigger that has not fired drops out the moment its reading goes away: a recreate rotates P2Pool's stats, and a hold no reading supports must not keep the proxy stopped for ten minutes with nothing to show for it — the cost of a dropped reading is readmission onto a P2Pool of unknown peer state, chosen over an invisible hold. A read that flaps away before a trigger fires restarts that trigger's wait, so flaky input delays a stop rather than producing a hold with no visible cause. A monerod that is unreachable is the existing outage above. A brief dip inside the wait stops nothing. The Workers rejected badge names the active trigger and when it began, and /api/state carries the same as mining_pause; the time is when the trigger began holding, not when it fired. A trigger clears after 60 seconds (NODE_RECOVERY_AFTER_SEC) without it, and readmission waits for every trigger to clear; once the last one has, the proxy starts again on the next poll cycle. A guarded container inside its healthcheck start period (starting) counts as a fault like unhealthy: after apply, Restart all or a per-service restart the guard holds until each container's own verdict in the table above clears, then the recovery window runs and the proxy readmits. The dashboard stops only xmrig-proxy: the stratum port closes, connected rigs get a disconnect, and P2Pool keeps running. The built-in local miner is a rig on the same stratum, so it stops with them.

The dashboard log records each transition once. The stop line, Mining work is not valid (...), names every holding trigger, including a Monero or Tari outage past its debounce. While the proxy stays stopped, a xmrig-proxy stays stopped: ... line names what blocks readmission and repeats only when that set changes. The readmission line gives the seconds since the stop, or says the stop predates the dashboard process after a restart. The support bundle's dashboard container log carries both for the chosen window.

The lag row reads P2Pool's own peer ... is ahead on mainchain log line. It also needs two peers and a stalled monerod height, because a hostile peer can make P2Pool log that line, and it is not used for a remote node, which has no height-progress verdict. Limits: after a dashboard restart the "no new height for 30 minutes" clock starts again.

xmrig keeps retrying its first pool while it mines on a backup and switches back by itself when the login succeeds (FailoverStrategy in the xmrig source), so rigs return once xmrig-proxy restarts. The bench fault-injection phase checks this with a borrowed rig: its active pool leaves the stack when the stratum closes and comes back on its own after readmission.

With dashboard.tari_required: true (the default), a Tari outage also rejects workers, for local and remote Tari nodes. This costs Monero revenue until Tari recovers: p2pool could keep mining Monero through a Tari-only outage. Set dashboard.tari_required: false to keep accepting workers and earning Monero during Tari outages. Tari-down alerts fire either way. A live Tari readiness reply that reports startup or migration, or a live sync reading, is progress rather than an outage: it alerts but never rejects workers. The dashboard checks GetNetworkState readiness when GetTipInfo fails; stale cached progress cannot hide an RPC outage. The initial-sync hold still waits for required chains on a new stack.

Non-blocking Tari. With tari_required: false, a Tari-only (re)sync doesn't take over the screen: the operational view stays up, mining continues, and a Tari syncing badge shows Tari's progress until it catches up and merge-mining resumes.

Hashrate chart

A time-series chart of hashrate with selectable ranges (1h / 24h / 1w / 1mo / all history) that switch without reloading. Shaded bands show the P2Pool/XvB split over time.

Every layer on the chart has a legend button that shows or hides it: the two routed bands, the share triangles, the event diamonds, and the raffle stars. A hidden layer stays hidden across reloads.

Diamond markers along the top flag hashrate events (#99): an amber one where total hashrate dropped sharply and stayed down (an outage or a rig gone dark), a green one where it recovered. Hover for the size of the drop. They mark the same transitions as the hashrate_loss Telegram alert and survive a dashboard restart, so a drop that happened overnight is still on the chart in the morning.

A gold star marks each XvB raffle round your wallet won, at the time the round was drawn. Hover for the round type and the hashrate XvB credited the win at. Wins come from XvB's published winners log (fetched over Tor, like every XvB read) and are stored permanently, so the stars stay on the chart across restarts; the same wins are listed in the XvB Donation Stats card's Raffle Wins log.

An Avg control picks the hashrate-averaging window the chart plots: 1 Min / 10 Min / 1 Hr / 12 Hr / 24 Hr (the native windows xmrig-proxy reports). It is independent of the Range control: the range sets how much time the x-axis spans; the averaging window sets how smooth each plotted point is. Short windows (1–10 min) react within a poll or two, so a rig dropping or joining shows up fast. Long windows (12–24 h) ride out the noise to show the trend. The choice is remembered across reloads. Two things to know:

  • 10 Min is the default and matches the dashboard's headline hashrate.
  • The longer windows need that much rig uptime to fill. Right after a (re)start, 12 Hr/24 Hr read low and climb until enough history exists. Per-window history is kept only going forward from the version that introduced this control, so those lines are flat at the far-left edge of a long range until new data accumulates. Expected, not a fault.

Overview

The summary panel pulls the key numbers together:

Field Meaning
Total Hashrate Your combined hashrate across all workers.
Mining Mode What the stack is routing hashrate to right now (e.g. P2Pool, XvB, or a split).
Workers Alive How many rigs are connected and online right now.
Current Tier The XvB tier you're currently holding, the one cleared by the lower of your credited 1h and 24h donation averages, so a recent hashrate drop shows up right away.
Raffle Eligible Yes only when you're set up to both win and collect an XvB payout: you're donating at least the donor tier (1 kH/s on XvB's credited 1h and 24h averages, the same threshold as Current Tier) and you hold a P2Pool PPLNS share (XvB's "VIP" gate; without it a win is skipped and you take a fail). Reads No when donating but a gate is unmet, and N/A (XvB off) when XvB is disabled. Intentionally stricter than XvB's bare "VIP = just a share" so a green Yes means a win is paid.
Share in Window Your shares in the current P2Pool PPLNS window.
Target Tier The tier the engine is aiming for (from xvb.donation_level). If your hashrate can't sustain an explicitly chosen tier, a ⚠ Hashrate low for tier badge appears.
P2Pool 1h / 24h (routed) Time-weighted average hashrate the proxy actually routed to P2Pool.
XvB 1h / 24h (routed) Time-weighted average hashrate the proxy actually routed to XvB. (The XvB-API credited figure, XvB's definitive record, appears in the Advanced view's XvB Donation Stats card.)
Last Share Time since your last accepted share.
Tari Mining Whether merge-mining of Tari is active and healthy.
Wallet XMR / Wallet TARI Your configured Monero and Tari payout addresses, one card each.

While XvB is disabled the five raffle/split tiles (Current Tier, Raffle Eligible, Target Tier, XvB routed averages) drop out of the card, along with the header's XvB routed line and the whole XvB Donation Stats card — one mode badge says XvB is off; nothing else repeats it.

Earnings — Expected vs Actual

One compact table, shown in both views, that answers "am I earning what this hashrate should?" — the comparison you'd otherwise assemble by hand from the Earnings tabs. Every row shares one trailing 30-day window:

Row Expected Actual
Monero + XvB (30d) The P2Pool linear estimate at your 30-day average routed hashrate — the hashrate that actually ran the window — plus the XvB share for your current tier, when XvB is on and the estimate is fresh (the label drops "+ XvB" otherwise). Once enough of your wins have confirmed payouts to measure, the XvB share is XvB's published figure scaled to what your wins actually paid — the tooltip names the measured percentage and sample. Until then the published face value stands, and the tooltip says it is an upper bound. All confirmed on-chain payouts to your configured address over the window (payout confirmation) — wallet-wide: every stack or rig paying that address counts, while Expected covers only this stack, and a footnote on the card says so. With a percent-of-expected; a percent computed while the payout history on record is shorter than the window reads as a lower bound, "at least N%". Past 999% the percent is withheld and the card says why in visible text, typically: the address also receives payouts earned elsewhere, or this box was idle or unrecorded for most of the window, and either turns the ratio into noise.
Tari (30d) Expected blocks (hashrate × window ÷ Tari difficulty). Tari is merge-mined solo, so blocks are the honest unit — at fractions of a block per month, zero found is the normal case, not a fault. All confirmed payouts to the configured address over the window (each is one solo-found block) and the XTM they paid.
XvB wins (30d) Forecast wins for your tier, from XvB's own winners file: how often your tier's rounds are drawn ÷ how many qualifiers they have (summed with the lower donor rounds you also qualify for). While no tier is held yet — a fleet still ramping, or an operator weighing whether donating is worth it — the forecast uses your target tier instead. — while the file hasn't been read or has gone stale. Raffle wins recorded in the window, and how long ago the most recent win on record landed (which can predate the window).

Monero and XvB share one row on both sides deliberately: an XvB win pays out through ordinary small payouts that can't be told apart from P2Pool payouts, so the confirmed actual always contains the wins' XMR — a P2Pool-only expectation would overshoot on every winning box. Folding XvB's published estimate into the expected side keeps the percent comparing like with like; the wins row tracks only that wins keep landing.

Rows degrade honestly rather than guess: a stream with payout confirmation off shows a link into Configuration instead of a zero that would read as "earned nothing" — except Tari under a remote node, where the view key that link points at is one tari.mode: remote rejects, so the Tari row instead says confirmation isn't available there; the XvB row disappears when XvB is off; a * marks a window that reaches back past the oldest recorded payout.

Payouts swing with mining luck — P2Pool pays when the pool finds blocks, and solo Tari blocks are rarer still. A sustained gap between expected and actual is the signal worth checking (workers offline, a misconfigured payout address); a single quiet stretch is not.

Workers Alive

A live table of every connected rig: worker name, IP, uptime, and per-worker hashrate over the 1m and 10m windows — the same 10m window the chart's averaging toggle and Telegram's totals report — for spotting a rig that has dropped off or is underperforming. A worker whose direct API is unreachable still counts (with proxy-derived hashrate); a worker whose miner has stopped drops out of the total. A failed proxy worker fetch retains the last successful worker list for less than five minutes from that fetch; after that, cached workers stop counting as online. A nonempty response missing workers is a failed fetch. A successful empty list stops counting disconnected workers immediately. On a narrow screen the table scrolls sideways within its card so columns stay readable. Until the first worker ever connects, the card shows a connect hint ("point each rig at <host-ip>:3333") in place of the empty table; see Connecting Miners.

A RigForge rig that serves its enriched read API adds chips next to its name for what needs attention or changes minute to minute: alarming states (throttling, thermal hold, a non-performance governor) read red or amber, and power draw in watts and watchdog temperature are muted read-outs, with the efficiency and temperature ceiling in each chip's tooltip. The static detail (agent version, firmware board, HugePages, governor when healthy, tuning target, next autotune) lives in the worker's Inspect dialog, so the table fits a 1280px viewport without scrolling sideways. Each chip shows only when the rig reports that field, so a partial reading never leaves a blank, and a plain-xmrig rig shows no chips at all. If RigForge is up but its miner isn't, the rig stays in the table with a miner down chip rather than dropping to offline. Point the rig's descriptor at the enriched feed to turn this on — see Connecting Miners › RigForge enriched feed.

With dashboard.check_for_updates on, a rig reporting a RigForge version older than the latest published release also gets a clickable rf vX.Y.Z available ↗ badge — the per-worker twin of the header's new-release badge. Clicking it opens Worker Inspect, where the one-click upgrade lives (or the adopt flow that enables it); the release-notes link moves inside that dialog as a secondary action. See Connecting Miners › RigForge new-release badge.

Each rig shows accepted and rejected share counts (invalid shares folded into the rejected column as 3 (+2 inv) when present). A rig whose reject rate climbs past ~5% gets a red ⚠ flag next to its rejected count — a rig submitting stale or bad shares (bad overclock, flaky network, clock drift) rather than earning. Every column is sortable — the sorted column shows a direction arrow; click Rejected to float the worst offenders to the top. Shares are cumulative since the proxy last started, so a brief early-run blip clears as good shares accumulate.

Below the table, a Proxy totals line sums the stack's share health as reported by xmrig-proxy: total accepted / rejected (with aggregate reject %) / invalid shares submitted upstream, plus the best difficulty any share has hit. Hidden until the proxy submits its first shares.

The dashboard also persists these pool-wide counts as a time series: each 30-second poll stores how much the accepted / rejected / invalid / expired counters advanced (a proxy restart re-baselines the counters without corrupting the series), retained for 30 days like the hashrate history. /api/state serves the series as share_stats and a trailing-24-hour reject rate as reject_pct_24h — a rate over recent shares rather than the cumulative-since-proxy-start percentage in Proxy totals. The same series drives the high_reject_rate Telegram alert when the trailing-hour rate crosses 5%.

Worker Inspect

With the control channel on (dashboard.control.enabled), a worker's name in the Workers Alive table is a link. Click it to open Worker Inspect — a dialog with that rig's live telemetry, a hashrate chart, an editor for the writable slice of its config, and the change history. Close it with the ✕ button, a click outside it, or Escape. A click outside it or Escape is refused while the editor holds an unsaved change (a table edit, or JSON text that no longer matches what was loaded): the panel stays open and shows an "Unsaved" line under Apply instead of discarding it silently; the ✕ button still closes unconditionally (#1877).

A hashrate chart sits above the editor: the rig's own worker_history samples (~5-minute cadence) as a line, with 24 Hr / 1 Wk / All range buttons — no "1 Mo" button, since at the 30-day retention it would show the same thing "All" already does. There's no averaging-window toggle here (unlike the main chart) — the per-rig table stores only one window. Every config apply and rig upgrade in the change history below also marks the chart, so a step in the line has a visible cause; hover a marker for what changed. A rejected or rolled-back attempt still gets a marker, muted rather than dropped, since it tried but nothing on the rig actually changed. A rig with no samples yet (just added, or never online) shows an empty-chart message instead of a blank axis.

The editor covers the keys RigForge lets the control path change: pools, DONATION, autotune, watchdog, watchdog_interval_min, and max_temp_c. Nothing else (identity, filesystem paths, API ports, the control token) is editable from here. Two modes edit the same set of keys and submit the same {worker, changes} request:

  • Table (the default) — one row per writable key, prefilled from the last config the dashboard applied. Only the rows you touch go into the change.
  • JSON — paste or edit the writable-keys object directly, for copying a whole profile between rigs or moving faster than the table allows. A Load from file control inside this mode reads a local JSON file into the textarea (FileReader, no upload) so you can push the same profile to several rigs without retyping it. A malformed edit is flagged inline before you click Apply.

Either way, click Apply to rig; RigForge validates the change, applies it, and — if the miner doesn't come back to a live hashrate — rolls it back on its own. The panel shows the outcome (applied / rejected / rolled back — or failed with the rig's reason, when its own rollback path broke) and appends it to the history.

NOTE: An appliance rig defaults DONATION to 0 and honours any value from 0 up; the compiled minimum is 0 from RigForge 1.18.1. Worker Inspect shows the value in the rig's config.json, not the rate the miner runs, because the rig's feed does not report XMRig's live donate level.

A pools edit from Worker Inspect on an appliance rig is refused with appliance-pools-read-only; change the pool in Pithead configuration instead.

Remote rig control is beta in 2.0.0. An appliance rig listens for control at every boot, pinned to the coordinator and gated by its token; dashboard writes need the rig adopted first.

To make a rig editable, give it host, token, and (unless it's the default 8082) control_port in its workers.list[] descriptor. A rig with neither yet shows an adopt form instead of the editor: the control address prefilled from the IP the proxy observed, control_port defaulted to 8082, and a blank token field. The prefilled address is a suggestion, not a fact — confirm or correct it before submitting; the rig's own name is not enough proof of who is actually listening there. Submitting writes the descriptor through the same control channel the Configuration view uses (preview, then commit) — no separate write path. The preview names the rig and the address the dashboard will send its control token to; type APPLY to confirm, or Cancel. It can only ADD a new descriptor: it can never change the host or token of a rig that already has one, so adopting rig #4 can't be used to repoint rig #1. The address also can't resolve to this machine: loopback, link-local, any address on its own network interfaces (its LAN address included), and every container bridge on it (the stack's own, docker0, and any other) are refused, so an adopted rig has to be a real, distinct machine on your LAN. A rig with no host yet, or the control channel off, still gets a plain explanation instead of the form.

The write is durable immediately, but a rig descriptor renders to no .env key, so adopting alone never recreates any container — the dashboard reads its worker list once at process start, so this editor may not appear until the dashboard itself restarts. The next config apply, a stack upgrade, or a manual ./pithead restart all pick it up; there is no faster dashboard-only way to force it yet.

When the rig's new-release badge shows and the rig is editable, an Upgrade rig… button appears beside it: arm it, confirm, and the rig upgrades its own RigForge to the latest release — the per-worker twin of the stack's one-click upgrade. The rig may rebuild its miner (about ten minutes when the XMRig pin changed) and rolls itself back if the miner doesn't come back live. The panel shows the outcome (applied / already up to date / rolled back / failed); a repeat click inside the rig's own six-hour upgrade window reads as "throttled — retry later", not an error. Like a config apply, the outcome appends to the change history — with the version it moved to — so it isn't lost once the dialog closes, and both the hashrate chart above and the hashrate-by-config table below attribute what the hashrate does next to the upgrade, not to whatever config version happened to be active when it ran. See Connecting Miners › One-click rig upgrade for what the rig must enable and how the target is derived.

Above the history, a line says where the rig's current config came from — the rig's own account, not ours. The history table below it can only list what this dashboard did; this line is the one place a change it never saw can show up. RigForge stamps each config change it records with what applied it and a change id, and the dashboard looks that id up among the changes it recorded for this rig. The lookup is by id, not a search of the table below, so it still answers on a rig with more changes than that table shows:

  • Last changed from this dashboard — the id matches a change recorded for this rig, and that change is recorded as having been applied. Only that outcome earns this line: every other one, including an outcome that was never recorded at all, gets one of the lines below instead.
  • Last change from this dashboard was rolled back — the id matches a change this dashboard records as rolled back or failed. When a control change does not come back live, RigForge restores the previous config and stamps that restore with the same change id it just reverted, so the rig goes on naming a change it is no longer running. The rig is on whatever config came before it.
  • Last change from this dashboard is unconfirmed — the id matches a change recorded for this rig, and no outcome was ever recorded for it. The dashboard waits on the rig for the result of a change it sends; when the rig has not said what it did within that wait, the change is recorded as acknowledged but unsettled. It may be running, or the rig may have rolled it back. This line says only that the record cannot tell you which, and it can still resolve on a later reading.
  • Last changed from another dashboard — applied over a control channel, but with an id this dashboard has never issued. Another host drove this rig, or its record here is gone.
  • Cannot tell — this dashboard could not read its own history — the dashboard's own change history would not open. It is the one line here that is about this dashboard rather than the rig: nothing was compared, so nothing is claimed either way. It says nothing about what the rig did.
  • Last changed on the rig itself — applied on the rig, not over a control channel at all.
  • Last restored from a saved config — someone ran RigForge's restore command on the rig. This covers only that command; the rig's own rollback after a failed change reads as the rolled-back line above, not as a restore.
  • No recorded config change — the rig is running a config whose change it never recorded. A rig that has never been changed reads the same way as one whose config file was edited underneath RigForge, so the line claims neither.

A rig running plain XMRig, or a RigForge too old to publish the block, shows no line at all rather than a guess. The words come from a fixed set the dashboard controls, never from the rig — a rig cannot write its own provenance in text you would read as ours. The line carries the rig's own timestamp beside it; hover it for the revision of the config the rig is running.

Read it as evidence, not as proof, and know the case it gets wrong. The line reports the last change RigForge recorded. A config file edited underneath RigForge — by hand, with nothing running to record it — is not a recorded change, so the line keeps naming whatever came before it. On a rig where the dashboard applied the previous change, that reads as "Last changed from this dashboard" while the rig runs something else.

Two further checks answer that one directly. The first, beside the provenance line, compares what this dashboard last applied to the values the rig reports it is running, key by key, and names each key that disagrees — "we applied max_temp_c 75, the rig is running 80". It needs nothing recorded on the rig, so it sees the hand-edit the provenance line cannot.

Three things bound what the comparison claims, and each bound is deliberate:

  • It judges only keys this dashboard has set. What it compares against is a record of the changes we pushed, not a copy of the rig's config, so a hand-edit to a key we have never applied has nothing to disagree with. The second check below is what covers that case.
  • It never compares pool passwords. RigForge serves a stored credential as a marker, never the value, and the dashboard strips both sides so the marker cannot read as drift. A changed pool password would otherwise read as drift on every rig, forever. This comparison cannot see one either way.
  • It says nothing while a change is in flight. A change that has been sent and not yet settled is not in the applied record, though the rig may already be running it, so the comparison is held back until the outcome lands rather than reporting a key we ourselves just set.

The second check watches the config as a whole. RigForge publishes a revision — a digest over every writable key, including the ones this dashboard has never set — and the dashboard records the one each rig is serving on every poll. When that revision moves with no new change id beside it, nothing recorded the change, and a line appears beside the provenance line saying so: the rig's config changed with nothing recording it. It covers the first bound above, at a coarser resolution. A digest cannot be read backwards, so this line can say only that the config moved, never which key; hover it for the two revisions.

It reports the config the rig is running now. The moment the rig serves a revision this dashboard can account for — because someone applied a change through it, or the rig recorded one of its own — the line goes quiet, even though the earlier move stands. The durable record is the rig-drift row in the Security panel, which is written once and never withdrawn; this line is a statement about the config in front of you.

A revision that moves in the same poll that shows a different RigForge version is a re-base by the upgrade, not an edit, so it writes no rig-drift row and raises no line. A dashboard upgraded past a rig's last seen version has no stored version for it and treats its first move the same way.

Neither check has an all-clear. Both either report a disagreement or say nothing at all, and their silence is not evidence: a clear line would be a reassurance bounded by everything listed above, which is the reading the whole section exists to prevent. Where they are silent the older reading still holds — treat the provenance line as an alarm that fires, not as an all-clear.

Everything behind it is the rig's own account, so a rig that has been taken over can also say whatever it likes, including replaying a change id you really did send it. Within what the rig does report honestly, the dashboard's own half errs one way only: a change id belonging to a different rig lands on "another dashboard" rather than on a false reassurance.

A history the dashboard cannot read at that moment used to land there too, and that was wrong in a way worth naming. "Another dashboard" is not a neutral fallback — it is an accusation, and reaching it because our own database would not open sources that accusation from a fault on this side rather than from anything the rig did. That case now gets its own line, above: the dashboard says it could not tell, and says why.

That contract is no longer local to this one read. A read that wants its failure to be distinguishable from an empty answer widens its return type to T | None and returns None on failure, so the decision is one a reader can see in the signature rather than one hidden in a handler. dashboard/tests/service/test_collapsed_return_channels.py holds that as a package rule and re-checks it on every change: a failure path may not return a value the declared success type admits. The reads that still collapse the two are reported by name in that test's output rather than recorded anywhere as accepted — a list of them would say someone had read and approved them, and nobody has.

A rule of that shape can only judge a function that declares a return type at all, and most of the package does not. dashboard/tests/service/test_annotation_coverage.py holds the other half (#1556): once a module's failure returns have been annotated and read, that file reds if any of them goes back to declaring nothing. It pins coverage of the rule rather than the rule's verdicts — a pinned module may still hold a reported collapse, and the report is where that belongs. The pin also says less than its name suggests, and now says so: it covers the failure returns the rule can reach, never the whole module, and several pinned modules hold functions that declare no return type and hand back an empty answer from a path the rule cannot see. That file counts those per pinned module and prints them in its own output, so a module holding none reads as measured rather than merely unmentioned. The two files share one classifier, dashboard/tests/service/annotation_gate.py, which is a plain module and not a test. The pin's data sits in two more plain modules beside it: dashboard/tests/service/annotation_pins.py holds the modules pinned and the anchor function each one is checked through, and dashboard/tests/service/annotation_readings.py holds the exceptions somebody read and signed, each with its reading. They are separate because they are the part that grows: a slice adds rows to them, while the file holding the laws records a ceiling in docs/dev/file-budget.tsv that only ever goes down. Being the part that grows, they are also the part that can quietly shrink, and every law above is a statement about a set that a smaller set satisfies. So the laws record a floor under each of the three: adding a row passes untouched, removing one reds, and the way back to green is to lower the recorded number in the same change. That does not stop anyone from narrowing what the pin covers — it makes the narrowing something a reviewer reads rather than something that happens in a data file in silence.

How it stays safe:

  • The dashboard never holds the rig's token. It spools the worker name and the change into the same host-side control channel the config editor uses; the host resolves the rig's address and token from config.json and dials the rig. A compromised dashboard container can neither read the token nor point the write at a host it wasn't configured for (the same SSRF rule as the read path).
  • Fail-closed. The write path exists only when the control channel is on, which requires a dashboard password; every request carries the CSRF header; and only the writable allowlist is accepted, at every layer.
  • Masked values stay masked. If a writable value is ever a masked secret (the same {__secret__: true} sentinel the Configuration view uses), the table editor renders it as a blank password field, never as JSON you could copy or mangle; leave it blank to keep it, type a value to replace it. The JSON mode carries the sentinel through untouched unless you edit that key yourself — it diffs the whole textarea against the same values it was prefilled from, so leaving a field alone never resends it (#1548). The server scrubs a leftover sentinel from a worker-apply request too, on the way to the rig — not the primary defence, since the editor is expected to have already left it out, but there is no live value here to swap it back FOR the way the host does for its own config secrets (#440), only one to drop.
  • The pool password is not kept, and leaving pools untouched can never wipe it (#1548). Neither editor mode resends a pools you didn't open: JSON mode diffs the whole textarea against its prefill, table mode only ever emits a key you changed. The change record never gets a chance to hold the value either way — it strips the password and the TLS fingerprint out before writing, and strips them again out of every read. Editing a pool entry keeps its password, with one exception. RigForge serves a stored pass or tls-fingerprint as the {__secret__: true} sentinel and never the value (rigforge.sh's _api_config_json, rigforge#415, in the build this appliance bakes); a pool that stores no password arrives with no pass key at all, so "not set" stays distinguishable from "set but hidden". The editor keeps the sentinel in its prefill, the scrub chain drops it again before the request reaches the rig, and _control_commit restores the stored value for an incoming entry that omits pass or carries the sentinel — matched on the entry's url and user. Change a pool's URL or its user and that match finds nothing: the entry commits as a brand-new pool with no password, which parse_config defaults to the literal string x, and the rig starts running with password x, silently. Re-supply the password whenever you change a pool's URL or user; editing any other field on the pool keeps it. A rig on a RigForge build older than 1.17.0 still deletes pass outright before serving it, and there every pool edit needs the password re-supplied.

RigForge keeps no config history on the rig, so Pithead owns it: every change the dashboard applies is recorded with its keys, outcome, and time. The editor prefills from the rig's own current writable config when RigForge's enriched feed carries it (#1235) — not a live read for every field, since a handful of fields (the pool credential among them) are masked before this dashboard ever sees the raw value — falling back to the last config this dashboard applied when the rig sends nothing, so a change made directly on the rig (via rigforge.sh) shows here on the next poll rather than waiting for the next dashboard apply.

Below the change history sits a Hashrate by config version table: each applied change — a config apply or a rig upgrade — with the rig's measured hashrate (the same per-rig worker_history samples, taken roughly every 5 minutes) averaged over the window that change was active — from the moment it was applied to the moment the next one was, or now for the current one. A rig upgrade starts its own window the same way a config change does, so a version comparison here reflects a build change, not whatever config value happened to be active when the build changed. A row with no samples yet (just applied) shows a dash rather than zero. This is a correlation over existing data, not a new measurement — no rig-side change was needed to add it — so use it to compare changes empirically ("v1.11 did 5.1 kH/s, v1.12 did 4.8 kH/s") rather than as a precise A/B test; a window can include restarts, sync gaps, or other noise the average doesn't separate out.

Simple vs. Advanced view

A Simple / Advanced toggle sits above the chart. Simple (the default) shows the chart, the Overview summary, the Earnings — Expected vs Actual table, and the worker table. Advanced swaps the Overview for cards that break out the same data in more detail: My P2Pool Node Stats, Global P2Pool Stats, XvB Donation Stats, XMR Network, Tari Merge-Mining, Pool Cadence & Luck, Stack Topology & Egress, and the P2Pool Earnings (estimated) calculator below. The expected-vs-actual table stays in both views. The choice is remembered across reloads.

The XMR Network card's tick means monerod is at the tip with peers: Node Health, Peers (outgoing / incoming) and Height Moved (the age of the last height change) sit in its headline, and hovering them says what green means. It goes red with the numbers after 10 minutes with no outgoing peers or 30 minutes with no new height. A remote node's peers are not visible, so the card says so instead of guessing.

XMR Network and Tari Merge-Mining say whether each node runs here or somewhere else; the sync screen gives that location for Tari too. The Stack Topology & Egress diagram moves a remote monerod or tari outside the host zone and captions its route as LAN, Clearnet, or Unverified. The diagram also draws three host-OS nodes below the stack (time sync, OS and release fetches, image pulls) under a scope pill that says whether host traffic is audited or not observed; a warning appears when the host audit counted flows outside the allowlist, and a notice appears when the audit table is not loaded (Privacy). The difference is operational: a node you run is yours to restart and resync, and a node you point at (monero.mode: remote, tari.mode: remote) is somebody else's to fix, so it is the first thing worth knowing when one stalls. It also makes the remote-node setting visible without opening config.json. A row reads — when the dashboard cannot tell — a payload from before this shipped, rather than a node it has decided is local. The card also keeps the dead-man's switch honest: a Monitoring ping line under the diagram shows the recent failed Healthchecks.io pings — timestamps and reason classes, nothing else — or says none failed. Monitoring says what is recorded and why the ping URL itself is never part of it.

The what-if earnings calculator and the XvB tier calculator live only in Advanced view. Simple view shows a one-time banner pointing there; it goes away once you dismiss it or open Advanced view, and stays away across reloads.

Dashboard — Advanced view

P2Pool Earnings (estimated)

A P2Pool mining calculator (Advanced view). It estimates the XMR earned from P2Pool mining, plus the XTM the same hashrate merge-mines alongside it, from your P2Pool hashrate and the live network figures.

The card is split into tabs — Monero, Tari, XvB, and Energy — driven by one what-if hashrate input that sits above the tabs, so switching tabs keeps the value you entered. Monero holds the XMR estimate, time-to-share, and block reward; Tari holds the solo time-to-block, per-block reward, and long-run average; XvB holds the tier/cost block, the current tier's expected reward (tempered by measured delivery — see the decision table below), and the per-tier payout comparison. The XvB tab stays with XvB disabled — its decision table is the "should I enable it?" aid — and the Energy tab appears only when the fleet reports power (see Energy & profit).

Every tab presents its rate estimate in the same Day / Month / Year table: the coin figure, plus a ≈ fiat column once that coin's price is known (see Prices under Energy & profit). The three rows of a table share one precision — picked from the day figure, the smallest — so the column aligns. Colours follow one rule across the card: coin estimates in the accent colour, fiat mirrors plain, and net figures green in profit and red in loss — the only judgment colour in the calculator.

It is scoped to P2Pool — not an XvB calculator:

  • XvB donations are excluded. Hashrate you route to XvB earns no P2Pool payout, so it isn't counted. The default is your P2Pool 1h-average hashrate, the same P2Pool (1h) figure shown in the header and the Overview / My Node cards, which already excludes any XvB-donated slice. So if you're running an XvB split, the estimate reflects your real P2Pool earnings, not an inflated total, and it stays consistent with the hashrate shown elsewhere on the page. (When that average is 0, a fresh start with no history yet, or donating everything to XvB, the estimate is 0 until you enter a what-if value.)
  • Tari merge-mining is included — but it is SOLO, so income is lumpy. Merge-mining puts the same P2Pool hashrate to work on the Tari chain at no cost to the XMR side, but here it is solo: you get the whole Tari block reward at once when your own hashrate finds a Tari block, not as a steady trickle. At the current network difficulty that can be months between blocks, so the honest headline is the expected time to a Tari block (difficulty ÷ hashrate) and the full per-block reward — the per-day XTM figure is only a long-run average, not steady income. The estimate assumes the merge-mine channel stays connected; while merge-mining is inactive or Tari is still syncing, the XTM estimates show — and the XMR figures are unaffected — only the per-block reward keeps showing once known, because it is a fact about the Tari chain, not about your hashrate. XvB-donated hashrate does not merge-mine, so the same P2Pool-only default keeps the XTM estimate honest too.
Field Meaning
Your P2Pool Hashrate The hashrate the estimate is based on. Defaults to your P2Pool 1h average (the same figure the header shows, excluding any XvB-donated portion). Enter a non-negative decimal (e.g. 50000, .5) with an optional k, M, or G multiplier and optional H/s (case-insensitive, whitespace allowed between parts), such as 50k or 1.2 MH/s, for a what-if projection. Commas must group thousands in the integer part (e.g. 1,000, 1,234.5 kH/s). Malformed comma grouping, scientific notation, trailing text, and values that overflow H/s are rejected; hashrate-based estimates show — for invalid or blank input.
XMR Day / Month / Year Expected Monero earned over each horizon, computed as hashrate × block reward ÷ network difficulty, the standard variance-free mining expectation. P2Pool's zero-fee PPLNS payout makes this the right long-run expectation.
Est. Time to Tari Block Expected time for your hashrate to solo-find one Tari block: network difficulty ÷ hashrate. This is the honest headline for solo merge-mining — the reward lands here, all at once. — while merge-mining is inactive or Tari is still syncing.
XTM per Block The full Tari block reward paid when you find a block — you get all of it at once, not spread over time. Shown whenever the reward is known (the Tari Merge-Mining card shows the same figure): it depends on the Tari chain, not on your hashrate or the merge-mine channel.
Long-run Average (XTM) The Tari tab's Day / Month / Year table: the per-block reward spread across the expected time-to-block — a long-run average, not steady income, and headed as such. — while merge-mining is inactive or Tari is still syncing.
Time / Share How long, on average, that hashrate takes to find one P2Pool (sidechain) share.
XMR Block Reward The current Monero block reward, for context.

These are estimates, not guarantees. Mining is variance-heavy, so real payouts swing well above and below these figures. The calculator says so in a disclaimer on the card. If the network figures aren't available yet, the card shows — rather than a bogus number.

Energy & profit

The Energy tab turns "what does my hashrate earn" into "what does it earn after power." It sums each worker's power draw and shows fleet efficiency, and — once you set a price — the net profit after electricity.

Power draw comes from RigForge's enriched feed (the watts and hs_per_watt in the rigforge block, sampled via RAPL every 15s — see Connecting Miners). A worker whose feed reports no watts (macOS, a non-RigForge rig, an older kit) can carry a manual estimate: add "watts": <number> to its workers.list[] descriptor and it counts toward the total, marked estimated. A worker with neither a measured nor a configured draw is left out and the Fleet Power figure turns amber to show the total is a lower bound, not a fabricated zero. Its kWh and power cost are incomplete too; net can read too high when some workers' draw is unknown. With no power inputs the tab is unavailable, rather than showing a measured zero.

The tab always shows fleet watts and H/s-per-watt, plus the same Day / Month / Year table as the other tabs — here its columns grow as prices are set. kWh (a naive extrapolation of the current draw) is always there; three optional prices add the money columns:

Config Adds
dashboard.energy.cost_per_kwh The Power Cost column (kWh × price).
dashboard.energy.xmr_price The Revenue (est.) and Net columns: P2Pool XMR earnings × your XMR price, gross and then minus power cost. Needs cost_per_kwh set too — without a power cost there is no net for revenue to lead into. Also values the current-tier XvB expected reward (an estimate, tempered by measured delivery — never XvB's face value) into both when XvB has a fresh figure.
dashboard.energy.tari_price Folds Tari merge-mining earnings into that same revenue and net, at your Tari price. Requires xmr_price to be set too.

All three are in your dashboard.energy.currency label (e.g. USD, EUR) — a label only, no conversion happens. Leave cost_per_kwh unset and the tab shows only draw and efficiency; set it but leave xmr_price unset and you get the energy cost but no net. Net profit scales with the same what-if hashrate as the other tabs (power draw does not — it is the measured fleet), and it goes red when power costs more than it earns.

Net profit counts P2Pool XMR, plus Tari merge-mining earnings once a Tari price is also known (Tari's contribution uses the same what-if Tari/day estimate the Tari tab already shows), plus the XvB raffle's expected reward for the tier you currently hold, valued at your XMR price. The whole net is already probabilistic, so it stays one figure — but the XvB slice is an estimate, and never XvB's face value: the published expected reward for your current tier (the lower of your credited 1h and 24h averages) is tempered by measured delivery — scaled to what your own wins measurably paid once enough wins have confirmed payouts, else by the midpoint of the measured delivery band (28–39% of face value — the XvB delivery study). The raffle draw is random among qualifiers, so it is not a payout you are owed either way. The card's heading and the Net column's tooltip label it XvB (est.) and say exactly what the figure counts, so it is never silently partial. XvB folds in only while its published estimate is fresh (the same staleness rule as the XvB Donation Stats card) and you clear a donor tier; otherwise it is left out rather than guessed, and the label reverts to P2Pool (and Tari, if priced) alone. The API's energy disclaimer describes these same conditional contributions. The tooltips name missing XvB as having no usable fresh donor-tier estimate, and missing Tari as having no priced merge-mining estimate. All earnings remain subject to mining variance; projected kWh is not a metered bill.

Prices come from one of two places, and the card always says which:

  • Static (default): you type xmr_price / tari_price into config.json yourself. No network request is made — the default posture stays free of price-feed egress.
  • Live feed (opt-in): set dashboard.energy.price_feed: true and the dashboard fetches both prices from CoinGecko every 15 minutes, in your currency — over Tor, like every other dashboard egress, so CoinGecko sees a Tor exit and never your IP (see Privacy › Runtime egress). The static numbers remain the fallback until the first fetch lands; on a failed fetch the last good prices stand and their age is shown.

Once a price is known (either way), each estimate table grows its ≈ fiat column: the Monero tab's Day / Month / Year figures, the Tari tab's Long-run Average (plus a per-block fiat card), the XvB tab's published-reward table and a fiat mirror of the tier comparison. A Prices: line at the foot of the card states the exact prices in use and their source — live feed (with age) or config.json — so no fiat figure is ever unattributed.

Payout confirmation

Beta in 2.0.0. Payout confirmation is optional and off until you set a view key; a defect seen only with it enabled may ship as a known issue.

Everything above is a model. The earnings card also shows what actually landed in your wallet, when you give the stack a way to check the chain. Set monero.view_key (the private view key for your payout address) and the stack runs a view-only monero-wallet-rpc against your local node, scanning for confirmed incoming payouts. P2Pool pays each miner's share directly in a Monero block's coinbase, so the wallet is the only ground truth that a payout arrived. The Monero tab of the earnings card then shows a Confirmed on-chain block under the estimate — and a payout_confirmed alert fires once per payout (Telegram and the other sinks). If every channel fails, the dashboard keeps the alert queued, retries it each five-minute payout scan, and stops after one channel accepts it or seven days. The Tari tab carries the same Confirmed on-chain block in XTM once Tari payout confirmation is on (see the Tari note below).

Receipt history and scan progress are separate for each configured wallet on each chain. Switching from wallet A to B starts B's history independently; switching back restores A's receipts and cursor. Dashboard totals, chart markers, Telegram earnings and completeness markers use only the current wallet. Equivalent Tari address encodings share one identity.

On upgrade, receipts saved without a wallet identity remain in the database under unknown. They do not contribute to current totals or scan progress. The first scan for each wallet starts from height zero and records the receipts it finds under that wallet's identity; rediscovered legacy receipts can therefore trigger confirmation alerts again. No receipts are assigned to a wallet merely because it is configured during the upgrade.

Figure What it sums
Yesterday The previous full calendar day, midnight to midnight in the dashboard's timezone (dashboard.timezone) — the same clock the daily summary fires on. Not a trailing 24 hours.
Confirmed 24h The trailing 24 hours from now. Deliberately a different span from Yesterday, so the two disagree during the day.
Running 7d The trailing 7 days from now.
Running 30d The trailing 30 days from now.
Confirmed all-time Every payout recorded for the current wallet, however far back.
Last payout Time since the most recent confirmed payout, hover for the payout count.

A running window is marked with a * when it reaches back further than the oldest payout on record — the total then covers only the history the wallet gave the dashboard, not the full span its label names, and a footnote says where that history starts. Read the marker as may be incomplete: a wallet that genuinely earned nothing for six weeks is marked too, because the recorded payouts alone can't tell "no payout arrived" apart from "we weren't watching yet". A fresh install marks every running window until history builds up behind it.

Each confirmed Monero payout also drops a Payouts marker — a green coin at the block time it landed — onto the hashrate chart, on the same marker row as the event diamonds and raffle stars. Toggle it from the chart legend like any other series. When XvB is on, a dashed XvB donation % line overlays the chart on its own right-side 0–100% axis, drawn from the recorded donation history, so you can line a payout up against how much hashrate you were donating when it arrived. Tari payouts are solo and lumpy, so they stay in the earnings card and off the chart — the mine cart train marks each one with a purple gem coin instead.

The dashboard polls the wallet on a slow cadence (about every 5 minutes) and records each confirmed payout to a small local table, so a restart never re-alerts. Coinbase outputs become spendable only after 60 blocks; a payout is recorded and announced when it's confirmed in a block, not when it matures — once, never twice. A pruned node confirms payouts fine (coinbase outputs are never pruned). If the wallet is still doing its first scan or is briefly unreachable, the confirmed totals stay put. The card checks each enabled payout wallet every dashboard cycle and remembers whether its slower payout scan answered. A wallet whose address probe or payout scan stops answering turns the card red after the node-down debounce (NODE_DOWN_AFTER_SEC, default 90 seconds), with the time it became unreachable; an empty answered scan leaves the card normal. The outage time stays visible until answers remain healthy through NODE_RECOVERY_AFTER_SEC (default 60 seconds). A wallet whose own address differs from the configured payout address shows both addresses and a red warning. Each enabled wallet emits one debounced payout_wallet_down alert per outage when alert delivery is configured. If sending that alert raises an error, the card still turns red and the dashboard retries the alert on the next checks while the failure persists, up to three attempts per outage. Healthy answers during the recovery debounce do not retry the down alert. This alert has no event-specific opt-out. The Tari container's bounded first-scan health grace does not delay the card or alert.

The view key is a secret. Treat it like a password. A view key cannot spend — it can only scan — but it reveals every incoming payout amount and its timing to anyone who can read it. The stack keeps it in the owner-only .env, never logs or echoes it, sends only a masked sentinel to the Configuration editor and browser, and never puts it on a container command line. Replacing it from Configuration requires typed APPLY. The wallet receives the key and the dashboard receives its wallet RPC credential at runtime, so masking protects the editor/browser, not a compromised backend process. It stays on the box: the view-only monero-wallet-rpc is published only to the host loopback (127.0.0.1:18082), runs non-root with a read-only root filesystem, and authenticates the dashboard with a generated password. Phase 1 is local node only — scanning through a third-party daemon would change the trust story, so a view key set with monero.mode: remote is refused. To change payout wallets, replace the address and its matching monero.view_key; apply rejects a mismatched pair. Leave monero.view_key empty (the default) and none of this runs — the card shows only the estimate.

The Tari side of the merge-mine works the same way (#462). Tari merge-mining here is solo — the whole block reward lands at once when your hashrate finds a Tari block, so a payout is a rare, large event worth confirming. Set tari.view_key for the dual-key tari.wallet_address (Tari Universe’s default) and the stack runs a view-only minotari_console_wallet against your local Tari node. The Tari tab of the earnings card then shows Confirmed XTM totals (24 hours, 7 days, all-time) beside the time-to-block estimate, and the same payout_confirmed alert fires once per Tari payout, carrying the chain. The Tari view key is a secret and is handled exactly like the Monero one — owner-only .env, never logged or on a container command line, and visible to the Configuration editor/browser only as a masked sentinel; replacement requires typed APPLY. The running wallet necessarily receives the key. As an extra safeguard, because Tari has no key-import file, the three wallet secrets are delivered in an owner-only host file bind-mounted read-only into the wallet container, so their values never appear in docker inspect. The pinned wallet does not shut down on SIGTERM or SIGINT (upstream issue), so a container stop kills it after 10 seconds. The appliance test requires the pinned wallet to reopen the same SQLite database after this stop, retain its nonempty public identity (compared by fingerprint without logging the address) and reported state, and provide readable logs with no database-integrity errors before the forced stop is accepted. Local Tari node only. Its restore point is a birthday (tari.payout_scan_birthday, days since 2022-01-01, as Tari Universe's wallet_birthday), not a block height. The wallet scans only through the local node's wallet HTTP service on the internal network, never Tari's public fallback node. Leave tari.view_key empty and none of the Tari half runs.

Each address/view-key pair keeps a separate view-only wallet. Changing the pair opens its wallet and keeps the previous one; reverting reopens the saved scan progress. Apply verifies that each view key belongs to its address. A fresh Monero wallet starts 100 blocks behind the local tip unless monero.payout_scan_height is set. Tari keeps its configured birthday. On upgrade, the legacy wallet is adopted without a rescan only after its own address matches the configured address. The pinned wallet binary reads a private copy of the legacy keys or database; Monero's optional .address.txt is not an ownership check. A mismatch or unreadable identity leaves the legacy files untouched and unclaimed, and opens a fresh wallet for the configured pair.

Getting your view keys

Payout confirmation needs one secret from each wallet, its private view key, plus the wallet's restore point so the first scan starts where the wallet was born instead of at genesis. The steps below cover the two standard desktop wallets, the Monero GUI wallet and Tari Universe; the command-line wallets follow. A view key can only see incoming payments, never spend them. Never give the stack your spend key, seed words, mnemonic, PIN or wallet password.

Setting What it is Format
monero.view_key Monero secret view key 64 lowercase hex characters
monero.payout_scan_height Monero wallet restore height block height (integer), or auto
tari.view_key Tari private view key 64 lowercase hex characters
tari.payout_scan_birthday Tari wallet birthday days since 2022-01-01 (integer), or auto

Apply checks each view key against its address (monero.wallet_address, tari.wallet_address) and refuses a key from another wallet, so a wrong key fails at apply instead of scanning forever.

Monero GUI wallet

Menu names are from the English Monero GUI v0.18.x; translated or older versions may differ. The official View Only Wallets guide uses the same Settings › Wallet path.

  1. Open the wallet that owns your payout address (monero.wallet_address, the primary address starting with 4).
  2. Click Settings in the left panel (Ctrl+E, or ⌃E on macOS), then the Wallet tab.
  3. Click Show seed & keys and enter your wallet password.
  4. Shield your screen: this page also shows your Mnemonic seed and Secret spend key in plain text.
  5. Under Primary address & Keys, check that Primary address is your payout address, then copy Secret view key into monero.view_key. Not Public view key: it is also 64 hex characters, but it is not the private key, so apply refuses it. Not Secret spend key, and not the Mnemonic seed.
  6. Under Wallet restore height, copy Block # into monero.payout_scan_height so past payouts are found. If it reads 0, use a block height from before your first payout, or leave auto.
  7. Close the page. Do not use the Export wallet QR labelled Spendable Wallet: it contains your spend key.

Hardware wallets: the GUI shows a Secret view key field; whether that value works for scanning has not been checked on a device, so test with a small payout first.

Monero address generated by Tari Universe? Universe shows its Monero Seed Words under Settings › Wallet but has no screen for the Monero view key. Restore those 25 words in the Monero GUI (Restore wallet from keys or mnemonic seed) on a machine you trust, set a restore height near when you first ran Universe, then follow the steps above. Never type the words anywhere else, including Pithead.

Tari Universe

Tari Universe has no screen that shows the view key (checked on v1.6.15). It keeps the key in a plain-text settings file:

System File
macOS ~/Library/Application Support/com.tari.universe/app_configs/mainnet/config_wallet.json (seen on an install)
Windows %APPDATA%\com.tari.universe\app_configs\mainnet\config_wallet.json (from the source; not yet checked on an install)
Linux ~/.config/com.tari.universe/app_configs/mainnet/config_wallet.json, or under $XDG_CONFIG_HOME (from the source; not yet checked on an install)

Beta builds use com.tari.universe.beta, and sandboxed packages may use another folder; if the file is not there, search for config_wallet.json under your system's app-config folder.

  1. Open config_wallet.json read-only in a text editor. Do not change it, and do not paste the whole file anywhere.
  2. In the "tari_wallet_details" section, check that "tari_address" (base58) is your tari.wallet_address. Settings › Wallet › Tari Wallet Address in Universe shows the same wallet. If "selected_external_tari_address" is set, Universe mines to an outside address and the keys in this file belong to Universe's own wallet, not to that address.
  3. Copy "view_private_key_hex" into tari.view_key.
  4. Copy "wallet_birthday" (a plain number) into tari.payout_scan_birthday. If apply rejects it, or you are unsure, use auto.

The file's "spend_public_key_hex" is a public key. You do not need it: apply derives the public spend key from your address, and tari.spend_public_key is only checked against the address if you set it. There is no secret spend key in this file, and the stack never needs one.

Only have seed words? Universe's Settings › Wallet tab can restore a 24-word Tari seed, which replaces the wallet it holds. Check that the resulting address matches tari.wallet_address before using any key.

Your Tari address must be dual-key. Only a dual-key address carries a public view key to check the private view key against, so apply refuses a single-key tari.wallet_address while tari.view_key is set. Every wallet Tari Universe creates is dual-key. Mining to a single-key address still works; only confirmation needs the dual key. By length:

  • dual-key: about 90 characters in base58 (more with a payment ID), or 67 or more emoji;
  • single-key: about 46 characters in base58, or exactly 35 emoji.

The first characters do not tell them apart.

Command-line wallets

Monero. Open the wallet in monero-wallet-cli and run viewkey; copy the secret view key.

Tari. From the wallet that owns your payout address:

minotari_console_wallet --base-path <your-wallet-dir> export-view-key-and-spend-key

It prints the private view key (for tari.view_key) and the public spend key, which apply derives on its own.

Where to put them

Add the values under monero and tari in config.json and run ./pithead apply, or enter them in the dashboard's Configuration view behind a typed APPLY. Placeholders:

"monero": { "view_key": "<64 hex>", "payout_scan_height": <block height> },
"tari":   { "view_key": "<64 hex>", "payout_scan_birthday": <days since 2022-01-01> }

Keep view keys private. A view key cannot move funds, but anyone holding it can see every payment you receive, with amounts and times. Paste it only into config.json or the Configuration view, never into chats, screenshots or issues. Tari Universe keeps it unencrypted in config_wallet.json, so copy the one field, not the file.

Sources for the menus and paths: monero-gui v0.18.5.2 (pages/settings/SettingsWallet.qml, pages/Keys.qml), the getmonero.org view-only guide, and Tari Universe v1.6.15 (src-tauri/src/internal_wallet.rs, public/locales/en/settings.json). Key reference: the monero.view_key and tari.* rows in Configuration.

XvB Tier (raffle)

A block inside the earnings card, driven by the same what-if hashrate input, that answers "which XMRvsBeast tier could this hashrate hold, and what would it cost?". It renders with XvB disabled too (xvb.enabled: false) — the decision table below is exactly the enable/don't-enable aid, so it must be readable before you enable anything. While disabled, the two live-credit rows (Current Tier, Target Tier) disappear, and — because disabling XvB stops every fetch from xmrvsbeast.com — the reward columns run from the last cached read when one exists, or otherwise from a bundled snapshot of XvB's own published table, labelled with the date it was captured so you can see how old it is; either way nothing is fetched to produce it. The odds column has no such stand-in — draw frequency and qualifier counts are live numbers XvB's winners feed alone carries. Rather than a bare dash, which reads as odds of zero, each row says what it is waiting for: needs XvB enabled on a box that has never turned XvB on, and awaiting sync on one that has, until that feed is read again. The raffle winner is drawn at random among everyone above the threshold, so donating more than the threshold buys zero extra win chance — but the odds themselves are knowable: XvB's winners file publishes the qualifier count for every round, and the comparison below shows them.

Field Meaning
Sustainable Tier The highest XvB donor tier the entered hashrate sustains while leaving P2Pool its share of the split — the same auto rule the donation controller uses (hashrate × max donation fraction ≥ tier threshold, default fraction 0.85). None when even the lowest tier is out of reach.
Hashrate Cost What holding that tier costs: about its threshold in continuous donation, because XvB qualifies a tier on both the 1h and 24h credited averages. This hashrate earns no P2Pool shares while donated.
Current Tier The tier your credited XvB donation clears right now (the lower of XvB's 1h and 24h averages). Only while XvB is enabled.
Target Tier The tier the donation controller is configured to aim for (xvb.donation_level), flagged when your hashrate can't sustain it. Only while XvB is enabled.

Below the tier figures sits the per-tier decision table — every donor tier on one row, so the whole choice is visible at once:

Column Meaning
Odds / 30d How often this tier's rounds pay out and among how many qualifiers, computed from XvB's public winners feed. The draw is random among qualifiers — donating above a threshold buys no extra odds. With no round statistics cached the cell names what it needs — needs XvB enabled, or awaiting sync once XvB is on — never a dash, which would read as odds of zero.
Cost / yr The P2Pool earnings given up by donating the tier threshold for a year, at your current rate.
XvB says / yr XvB's own published expected reward — face value: it prices every bonus hash at full block reward. Shown as their number, never blended.
Study est. / yr The same figure scaled by the measured delivery band: across 25 audited won rounds, verified on-chain across all three P2Pool sidechains (June–August 2026), winners received 33% of the advertised prize work (95% CI 28–39%; single-wallet on-chain audit, corroborated by a 14-winner public crawl), with at most a small margin effect. Once this box has enough measured wins of its own, the column becomes Yours (N% × M wins) and uses your wallet's measured figure instead. The full record — method, data, and scripts — is the XvB delivery study.
Net / yr The verdict: estimated reward minus the cost. Red when even the optimistic end of the band loses; green when even the pessimistic end profits; neutral when the band spans zero. Withheld (with a ⚠ on the tier) when your hashrate cannot sustain the tier — an unreachable payout must never look reachable.

A fiat line prices the best sustainable tier's net at your configured XMR price.

Raffle mechanics, flat: the winner of a donor round is drawn at random among wallets above the tier threshold on both credited averages; a win terminates if the 1h average then drops below the round minimum; and collecting any win needs a share in the P2Pool PPLNS window (what XvB calls being a "VIP"). So the optimum donation is the minimum that clears your tier — never more. A tier is raffle status, not an XMR payout, and the card says so. The tier thresholds come from the server's tier table — the same one the donation controller steers by — so the two can't disagree. Because the credited 1h average lags what the controller actually routes, the controller also watches that average's own trend: when it is falling, steering switches to the projected value — never the other way around — so a decay toward the round minimum is answered before it lands rather than after. A rising trend changes nothing.

NOTE: on the mini/nano sidechains the block adds a reminder that switching the P2Pool sidechain resets your PPLNS shares — and with them XvB win collectability until a new share lands.

Raffle Wins log. The XvB Donation Stats card (Advanced view) lists the rounds your wallet actually won — time, round type, and the hashrate XvB credited the win at — newest first, capped at the 20 most recent. The dashboard reads XvB's public winners log over Tor, matches your wallet by the masked form the file uses, and stores each win permanently, so the list (and the chart's gold stars) survives restarts and covers wins far older than the ~4 days the file itself keeps. The read runs about every half hour, tightening to every few minutes while your credited 1h average sits within 25% above its tier threshold or a recorded win is under 90 minutes old — the windows where a fresh win needs the donation controller's in-round hold engaged within minutes, not up to half an hour later. Each new win is also announced once in the dashboard's container log. The file carries only masked wallets and the fetch sends nothing about you.

Pool Cadence & Luck

A read-only card (Advanced view) that answers "is my share-finding on pace?" with four figures:

Field Meaning
Since Pool's Last Block Time since the pool found a Monero block — pool-wide, not a payout to you specifically. Pool blocks are what trigger PPLNS payouts, so a long gap here means the whole pool is waiting, not that your rigs are misbehaving.
Est. Time / Share How long your P2Pool hashrate takes, on average, to find one sidechain share: share difficulty ÷ your P2Pool 1h average. The same figure the earnings calculator shows as Time / Share.
Luck Actual vs. expected shares in the PPLNS window, as a percentage: expected = your 1h average × window length ÷ share difficulty, luck = actual ÷ expected × 100. Over 100 % means you found shares faster than the math predicts (running lucky); under 100 %, slower.
Your PPLNS Weight The sum of the difficulty of your shares inside the PPLNS window — the figure that sizes your slice of the next pool payout. Distinct from the pool-wide PPLNS Weight in the My P2Pool Node Stats card, which covers everyone's shares.

Luck and Est. Time / Share need a P2Pool hashrate average and a live share difficulty; on a fresh start (no history yet) the card shows — until the first samples land. Every figure derives from data the dashboard already stores — the per-share difficulty recorded with each found share — so there is nothing to configure.


Configuration view

Edit config.json from the dashboard. Off by default: set dashboard.control.enabled: true in config.json, set a dashboard.auth.password (required — this channel can change the payout wallet, so it refuses to run without a login), and run ./pithead apply. A Configuration button sits next to the Simple/Advanced toggle whether or not the channel is on; with it off, the view explains how to turn it on and nothing else.

The panel does not show the config_version stamp. Only a newer stamp shows a card warning that saving is blocked while the config contains settings this version does not know: update the OS first. Form, JSON and API edits to the stamp are ignored, and previews and recent changes omit it. See configuration versioning.

One editing surface: the form on top and, beneath it, a collapsed Advanced pane holding the full proposed configuration — both live views of a single candidate. Editing a field rewrites the pane; editing the pane refills the fields. The pane shows the whole candidate, developer-only keys aside (named below). Save sends the complete explicit configuration because the host stages and commits it as a replacement, but removes every config.reference.json default that was absent from config.json and remains untouched, default arrays such as workers.list and notifications.webhooks included, so a one-field save adds no empty containers. Existing values and masked secrets survive, while a placeholder default can't be committed as if the operator had typed it (#2365). (This is the setup wizard's pattern — the first page and the config tab now behave identically.) The pieces: (#529):

  • The form pins a Core group at the top — the same wallet-address / monero.mode / p2pool.pool / dashboard-auth-and-host shortlist ./pithead setup asks, read from the one file the wizard and this view share, config.core-keys.json, so the two can't drift apart. Below it, the rest of the schema is grouped by operator purpose — Mining, Payouts, Monero node, Tari node, Workers, Dashboard & access, Notifications, Energy, Alerts, Advanced — in the same order as config.reference.json, instead of one section per top-level config.json key, so a grab-bag key like dashboard (auth, remote access, the energy calculator, alert thresholds, …) splits across the sections its fields actually belong to. Each section is a collapsed <details> as before; within Notifications, the 27 telegram.events toggles, the ntfy/webhook sinks, and Healthchecks each nest one level deeper into their own collapsed sub-group (#612) instead of dominating the section's field list. Rows in a section whose fields span more than one top-level key carry their full dotted path (monero.view_key, tari.view_key) so two leaves with the same name read as two different keys; a single-key section keeps the shorter relative label — its heading names the rest. Every group carries a one-line explanation. A frontend test requires every reference path to have an intentional named group, so a new key cannot silently vanish or drift into an Other bucket. workers.list[] (the per-rig descriptors) isn't a form field here — a variable-length list has no single form control for it; edit the complete list in the Advanced JSON pane. Only an appended rig commits, behind the typed APPLY and the host's worker-target checks; repointing, reordering or removing an existing descriptor is refused. Worker Inspect is a different thing: it retunes the rig's own settings (pools, donation, autotune, watchdog, temperature cap) through that rig's control API, never the stack's descriptor list.

    Ordinary fields are editable directly. Other editable settings below the physical-presence boundary renders editable but confirm-gated, tooltipped "you'll type APPLY to confirm at Save". This includes disruptive settings and values that redirect funds, traffic, credentials or control. All three policy sets are surfaced on GET /api/config as _editable_keys, _confirm_keys, and _approval_keys, so the form cannot silently choose a weaker policy than the commit path.

  • The Advanced pane is the whole editable candidate as one text block, for operators who'd rather paste than click through fields. A Load from file control (FileReader, no upload) fills it from a saved config.json, the same pattern Worker Inspect's JSON mode uses. A malformed edit is flagged inline, keeps the last good candidate as what Save would send, and blocks Save until fixed. The pane edits the whole config as text, so grouping and the form grouping does not constrain it — the machine still validates it under the same free, confirm, approval, and never-approve classes.

Switching between Configuration, Simple, Advanced and Backup keeps your draft in memory, including invalid JSON. Unsaved changes beside the Configuration button marks unfinished edits. Return to Configuration to finish them; the marker clears after a successful apply or Discard edits. When the stack enters its synchronization screen the editor is hidden, not unmounted, so the draft and the marker are still there when the dashboard returns. The page only shows the loading screen before its first state response, when no editor exists yet. An unsaved draft is also kept in the tab's sessionStorage, so it survives a reload, automatic or manual: the reloaded editor shows the draft, the Unsaved changes marker and a line saying the draft was restored. Text that is not valid JSON is never stored: after a reload the editor shows the last valid state of the draft, without the broken edit. Discard edits, Discard draft and reload from host and a successful apply clear it; closing the tab drops it. The stored copy never holds a secret you typed: every secret field the server masks (the API tokens and passwords, the Monero and Tari view keys, the ping, ntfy and standby URLs, the webhook list and each worker token) goes back to the value the page received, its __secret__ marker or empty, so retype a new secret after a reload. The page cannot observe an HTTP authentication change, so a re-authenticated tab keeps its draft until it is reloaded (#3323 tracks a reset).

The flow mirrors the CLI's apply:

  1. The form/textarea is prefilled from a pre-masked copy of config.json the host renders into the control spool (#440). Secrets (the dashboard password, the Telegram bot token, node RPC credentials, the stratum password) show as "set — leave blank to keep"; their values never enter the editor or browser through this mount. Leaving one untouched sends a sentinel back (the Advanced pane shows it as a __secret__ marker and carries it verbatim), blanking a previously-edited secret field restores the sentinel rather than setting an empty value, and the host swaps in the live value when it stages the change. That reuse is bound to the existing destination: repointing the Monero RPC endpoint or an ntfy URL requires entering its associated credential for the new destination, and a worker descriptor cannot be repointed from the dashboard at all (only a new rig can be adopted). The running dashboard still receives the runtime credentials it needs for node probes, worker reads, and notifications, so a full backend compromise can read those environment values; masking is the editor/browser and raw-config boundary, not process isolation.
  2. Save & preview changes stages the edited config on the host, which dry-runs it and returns the same change preview ./pithead apply prints — one row per changed setting, disruptive rows (⚠) styled as warnings. A config that fails validation is rejected here with pithead's own error message; nothing is applied. The host validates and stages from one private copy of the claimed request, so a writer holding the original spool file open cannot change it mid-preview. Sensitive changes also show complete old and new non-secret values; secret values remain masked. A preview belongs to the config it was made against: if another tab or ./pithead apply changes the config before you confirm, the commit is rejected with "preview again" and nothing is written, so a stale preview never overwrites the newer change (#3352).
  3. Confirm. If the preview flags any change disruptive (⚠), you must type APPLY first. A payout change also requires the final eight characters of the new address. The commit runs pithead apply -y on the host and recreates only the containers whose config changed — including this dashboard, for a change that touches its own settings. That request can then drop mid-flight or hit the proxy while the dashboard container is down (#622); the page treats it as the expected restart, keeps waiting, and settles on the result once the dashboard answers again — never a raw network error, with no manual refresh needed (#2366). Your typed confirmation rides to the host gate, which requires it before a confirm-gated change proceeds — a change confirmed this way is recorded in the audit log as a commit-confirmed action, distinct from an ordinary commit. A sensitive commit additionally carries a confirmation envelope, which may contain payout suffixes and nothing else; the host re-checks each suffix against the staged config rather than the browser's labels. This shape is typo protection, not identity: the dashboard writes the request actor and the envelope itself. The audit records the signed-in actor reported by the dashboard. Until #2076 this step also required a tap in Telegram and recorded a commit-approved action with an approver; the bot is read-only now, that leg is gone, and nothing writes an approver. When the apply fails, Back to the form returns to the draft you submitted, unsaved marker included, so you can correct it and retry. Discard draft and reload from host replaces the draft with the host's configuration. After a successful apply, Back to the form reloads it. The error card shown when the commit request itself fails (an HTTP error, an unreadable response, or a poll timeout; a timeout does not mean the apply failed) offers the same two actions. Only a failed first load, which has no draft, offers a plain Reload. A non-2xx answer shows the response text, or HTTP and the status when it is empty. A request that cannot reach the dashboard, or that is answered 401 or 403 (what a tab from before a restart gets), shows "Pithead restarted or the page is out of date. Reloading…" and the page reloads once the dashboard answers. A restart during the apply is not that case: the commit keeps polling for its result.

Rig upgrade, Adopt rig, Backup, the onion client-key request and the service diagnostics behave the same way: a request that cannot reach the dashboard, or that is answered 401 or 403, shows "Pithead restarted or the page is out of date. Reloading…" and the page reloads once the dashboard answers; any other non-2xx answer shows the response text, or HTTP and the status when it is empty. For other failures Diagnostics names the request, for example "Could not submit the health check: …". Polling for a spooled result and Backup's wait through the stack restart are unchanged.

Every reference setting belongs to a policy class. The ordinary allowlist covers routine operations; all remaining values confirm unless they are in the physical-presence set. Typed confirmation is intent friction, not authentication. The machine re-derives changed paths and expected payout suffixes rather than trusting browser labels. Node endpoints also receive a host-side reachability probe, worker targets receive SSRF checks, and dashboard-confirmed data directories must stay under data roots the stack already uses. Both edit modes use the same policy. Secrets are never included in preview or audit values.

The Telegram approval that once sat on this class was removed in #2076: the bot is read-only, and no configuration change asks for anything in Telegram. What remains on a sensitive commit is the signed-in operator, the typed APPLY for a disruptive change, and the payout suffix check — intent friction and typo protection, not a second identity. A sensitive commit no longer depends on Telegram being configured, so it works the same on a stack that never set the bot up.

Since #2367 no reference field is refused from this page. The dashboard password and the two tamper alarms left the physical-presence boundary; only retired SSH settings remain behind it. They confirm like a payout change, with typed APPLY and the confirmation envelope. The host preview names the cost before you confirm: a new password logs other sessions out and is also the appliance's console root login; switching an alarm off stops it reporting the change it watches.

A node-endpoint or RPC-login change has a second gate behind the typed APPLY: before a remote-node commit is accepted, the host dials the endpoint with the staged login and refuses a pair it cannot use, reporting which check failed (#1889). The host resolves once and requires every answer to satisfy network.tor_egress_firewall, then reuses one address for each check — so the two Monero checks can never disagree about one host. A name that resolves to nothing is reported as a name that did not resolve, not as an address the firewall refused (#1913). Monero RPC must return a bounded, usable get_info response with the configured Digest login; ZMQ must complete a ZMTP READY exchange and advertise PUB or XPUB. Tari gets a bounded TCP connect because the host CLI ships no gRPC client. The probe runs on the staged config, host-side, and only when an endpoint or login key actually changed, so an unrelated commit is never held up by a node that happens to be down. It is what makes the pair committable at all: the typed token is friction, but the probe means a dashboard cannot park a chain on a node that is not there. Node credentials can also be changed through typed confirmation in local-node mode; the untouched masked partner is preserved and the pair is applied to monerod, P2Pool, and the dashboard together. Secret values stay masked in the browser, preview, result, and audit trail.

On an appliance a genuine refusal never tells you to open a shell you do not have: a physical-presence change points to the configuration stick, and a destination outside the allowed data roots points to Set up again.

A dashboard-confirmed data-directory move (#728) is held to a tighter rule than the same move from the host CLI. The host guard is a blocklist — it refuses the catastrophic roots (/, $HOME, bare mounts) but lets a shell operator relocate data anywhere else, which is proportionate to shell trust. A confirmed move from the dashboard is instead held to an allowlist: the new location must sit under the stack's own data root (the install dir's data/) or the dedicated parent shared by Monero, Tari, P2Pool, and Tor (#455). A move to any other absolute path — another user's home, another service's volume, or a broad parent such as /var/lib — is refused even with the typed APPLY and stays host-CLI only. The same applies below the dashboard database, clearnet-state mount, or internal control spool: the dashboard can write the first two and the request leg of the third, so none may become an ancestor of a root-owned data move. This is the one place a confirmed data-dir move differs from ./pithead apply: the destination path is narrowed, because the move is now reachable at dashboard trust rather than shell trust.

Once approved, dashboard.data_dir is also the one data_dir that apply carries: it copies the live SQLite database to the new path, verifies the copy, then lets the recreate mount it — the payout-wallet tripwire's baseline lives in that database (#375), and an empty DB at the new path would silently re-seed it, swallowing a payout change bundled with the move. A non-empty target, or a copy that fails or doesn't verify, refuses the whole apply instead of guessing which copy is live (#2360); the other four data_dirs still only re-point the mount (see Configuration › Data directories). If apply aborts before publishing the new path, it removes its unpublished copy and restarts the existing dashboard so the move can be retried. If it aborts after publication, it keeps the copy and retry marker. apply restarts the existing dashboard container, which is still mounted on the old path: rows written until the retried apply recreates it land in the old database, not the carried copy.

A pool switch (p2pool.pool main/mini/nano) carries its standing warning: p2pool re-syncs the new sidechain and your PPLNS window (and XvB shares) reset.

How it works underneath: the dashboard container cannot run pithead or write host files. It drops a typed JSON change request into ./data/control/requests/ — its only writable leg of the spool — and a root systemd path unit (pithead-control) runs pithead control-run-pending, which validates the request, dry-runs or applies the staged copy, and writes the outcome to the read-only results/ mount plus an audit line (timestamp, logged-in user, action, outcome, and the names of the changed settings) to audit/control.log. A dashboard-confirmed disruptive change records its action as commit-confirmed, so a confirm-gated apply reads distinctly from an ordinary commit in the log. The container cannot forge results, alter a staged config between preview and commit, or rewrite the audit log. A failed apply replaces the earlier preview row with a failed history row linked to the same saved result/log. It keeps the previous config at config.json.bak-control and surfaces pithead's error in the view. On an appliance that view is worded differently (#1769): the operator has no shell, so it says the backup was kept without naming a host path they cannot reach, and it labels pithead's error as the machine's own apply log rather than leaving its ./pithead commands to read as instructions. The log itself is shown either way — it is the only diagnostic detail either operator gets. Operational details: Operations › Editing config from the dashboard.

Access log and recent config changes

Below the form, the Configuration view shows two read-only security panels (#349):

  • Access log. Recent dashboard requests from Caddy's access log — time, HTTP status, method, path, and the logged-in user — plus a count of failed logins (401s) timestamped within the last 24 hours among bounded retained records. Reads cover the active file and the two newest Caddy generations, up to 4 MiB per file. The reader accepts timestamped access-<timestamp>-size.log backups from the pinned Caddy, legacy access-<timestamp>.log backups, and their gzip forms. Plain and compressed copies share one timestamp slot. Missing generations, retention, or byte limits can omit failures; a zero count does not prove there were no failed logins. Over Tor there is no source IP to trace or block, so the signal is the rate of failures: five or more in a day shows a warning to rotate the dashboard password (set a new dashboard.auth.password, run ./pithead apply) and, if the onion address may have leaked, ./pithead rotate-dashboard-onion. The log is always on; entries appear once Caddy has handled a request on this version. The exact credential-free appliance boot probe stays visible in the table but is excluded from the failure count and warning. Caddy marks it only on a loopback connection to /.pithead-boot-health carrying the private boot capability. The capability is derived from the owner-only salted login hash and removed from logs and upstream requests. Ordinary requests, wrong passwords, and network clients requesting that path, including through a local reverse proxy, still count.
  • Recent config changes. The control channel's host-side audit trail: one row per handled request — timestamp, dashboard user, operation, outcome, and the names of the settings that changed. Initial wizard provisioning is named as provisioning instead of a host edit, and a failed apply links to its saved outcome. Values are never recorded (several are secrets). Shown only when dashboard.control.enabled is on.

Each panel carries the same navigation row: range presets (24 Hr / 1 Wk / 1 Mo / All, the chart's idiom) for following a live log, two date fields for jumping to a specific day or span — the "to" date covers that whole day — and a search box that matches any field: a user, an action, a path fragment, a status, a settings name. Filters compose (a search inside a range searches only that range), the search narrows as you type, and filtering happens on the server, so a match deeper than the on-screen tail is still found — the access log's read stays size-bounded either way. Below the row, a pager reports how many entries matched and walks them a page at a time — pick 5 to 100 rows per page, step with Prev/Next. A filter with no matches says so; the failed-login counter always describes the bounded retained records, never the filtered slice.

Both panels read host-written files through read-only mounts, and the dashboard treats every field in them as hostile input — a request path is attacker-chosen bytes — so each string is stripped to a safe character set before it is served. See Operations › Watching for intruders for the log paths, size bounds, and rotation steps.

Catching changes made outside the dashboard

The audit trail above only sees requests that went through the control channel. Two things can change the stack without it: a hand-edit (or a pithead apply run from the host CLI) to config.json, a config change applied directly to a rig's own control API instead of through Worker Inspect (#530), and a rig quietly serving a config whose change nothing recorded at all (#1551). The dashboard watches for all three on its normal poll cycle and appends them to the SAME audit trail:

  • host-edit — config.json changed since the last poll and no control-channel commit explains it. The row names the changed setting paths (e.g. xvb.donation_level); it never records a value.
  • rig-edit — a worker's control API reports a config change this dashboard never sent. The row names the worker and the rig's own change id; RigForge's status feed reports only the outcome of a change, not a per-key diff, so unlike host-edit this can't name which setting moved — inspect the rig directly to see what changed, where Worker Inspect's own config-origin line names what applied the rig's current config.
  • rig-drift — a rig's own config revision moved with no new change id beside it (#1551): the rig is running a config whose change nothing recorded. This is the case rig-edit cannot see, rather than a second way of seeing the same one — a file edited underneath RigForge moves the revision and stamps no change id, so there is no reported change to compare against and no per-key diff to take. The row names the worker and the revision either side of the move. It cannot say which setting moved either: the revision is a digest over the rig's whole writable config, so it says THAT the config changed and never what to. A rig seen for the first time records nothing — there is no earlier revision to compare it against. The same detection also qualifies that rig's provenance line while the config it moved to is the one the rig is still serving; this row is the durable half and is never withdrawn.

The last two read off the same unauthenticated worker feed, so they share ONE rate cap per worker (#724): a rig reporting a fresh change id — or a fresh revision — every poll can add only a bounded number of rows per hour between them before the rest are dropped behind a single rate-limited row that names which of the two tipped it. One budget rather than one each, because two would double what a single LAN device can make permanent. A real occasional rig change still records; only a flood is capped. The cap bounds how many rows arrive rather than how big they are, so each row's identifier is separately length-capped and whitelisted where it is written (#1561): a rig-edit id is built from a change id the rig chooses, and a row stays in audit_events for 30 days.

Any of the three is worth treating like a rotate-now signal in the same spirit as Operations › Watching for intruders: if you didn't make the change, someone or something with host or rig access did.

The audit trail is no longer only a log tail: entries — both mirrored from control.log and the three out-of-band kinds above — persist to the dashboard's own database, so the range presets, date fields and search reach further back than the log's own trimmed tail. They are retained for 30 days like the hashrate history, so the panel reaches back a month and no further: an entry older than that is gone from the dashboard, and the host's own control.log — which the dashboard only reads — is where a longer record has to come from. Walk the result with the page-size control (5, 10, 20, 50 or 100 rows a page), newest first.

Service diagnostics

Two read-only questions you can ask the host and three recovery actions, in the same card stack as the config editor and under the same dashboard.control.enabled flag. The two questions change nothing: they run a check and report, which is why neither asks you to confirm. The actions change the machine and always ask first: restarting one service (see Restart a service), and Restart all and Reset Tor state (see Restart all and reset Tor).

Run health check runs the host's own pithead doctor and shows what it found — the same checks the CLI prints, failures first, with the host's summary counts above them. This is the one that matters on a Pithead OS appliance, where there is no shell to run doctor from: before it, the dashboard could tell you that a service was unhealthy and never why.

A check that fails tells you what to do about it in the terms of the machine you are on. On an appliance there is no shell, so where the DIY stack says to run ./pithead apply or ./pithead setup, this panel names a surface you can actually reach instead — the update button, the log view, or the setup page while the machine is still unprovisioned.

Where the appliance offers nothing that would fix it, the report says so and stops, rather than naming a command you cannot run or a page that is no longer there. Two cases are worth knowing, because each is a real dead end rather than an oversight:

  • The setup page closes permanently once the machine is provisioned. Setup that did not finish can only be reported after that point, so the report does not send you back to a page that is gone.
  • The dashboard certificate is re-minted only when the set of names this machine answers to changes. An expiring or expired certificate whose name list is still correct will not renew itself, and replacing it needs console access.

A missing Tor hidden service is the case that goes the other way, and the report tells you which one you are looking at. Saving any change from the dashboard re-runs this machine's own apply, and that regenerates a missing hidden service for the Monero node, the Tari node, or the dashboard itself — so those verdicts ask you to save a change rather than to find a console. P2Pool's is the exception: apply refuses to finish while that one is missing, so no dashboard surface can regenerate it.

Restart a service

Each service card with a restart control has a Restart button next to its log: tor, monerod, wallet-rpc, tari, tari-wallet, p2pool and xmrig-proxy. dashboard, caddy, docker-proxy and docker-control have none, and the host refuses them if asked: restarting the page you are reading or the proxy in front of it would cut off the answer. The button opens a confirmation naming what else is interrupted (restarting tor also restarts monerod; restarting monerod interrupts wallet-rpc; a wallet pauses its sync and payouts briefly), and sends nothing until you confirm. The button stays disabled while the host works, then shows the result or the host's reason for refusing. A tor restart can take several minutes, because the host waits for Tor to report bootstrapped before it restarts monerod.

The host decides, not the dashboard. It restarts only a service on its fixed list, with docker compose restart <service> under the same lock as apply, upgrade and backup. It refuses, with a reason and without queueing, while another of those operations holds the lock, while the LAN-only source rule for a published port is not in place, and when the same service was restarted in the last 120 seconds. After a tor restart it waits up to five minutes, still holding the lock, for Tor to report bootstrapped, then restarts a running monerod so it re-dials its peers through the new circuits, as ./pithead restart tor does. If Tor does not bootstrap in that time, or monerod cannot be restarted, the result is failed and says to restart monerod once Tor is healthy. Every request is recorded in the control audit log with the actor, the action svc-restart, the service and the outcome (started, rejected, applied or failed).

One thing reads differently here than at a terminal: the report is redacted on its way to the browser, so where pithead doctor prints your dashboard's onion address in full, this panel shows it as [redacted].onion. That is the only address the redaction changes here. The report names the other three hidden services — the Monero node's, the Tari node's and P2Pool's — by setting rather than by address, so there is nothing of theirs on this page to hide.

The two surfaces disagree about your dashboard's own onion on purpose: the header shows it in full, with a Copy address button, because a machine you cannot reach is a machine you cannot fix — and, when client authorization is on and the config editor with it, a Show client key button beside it, because on a machine with no shell an address nothing can open is the same as no address at all. The key is not in this container: the button asks the host, the host answers once through the read-only results spool and then wipes its copy, and the reveal is recorded in the config-change log. This panel still redacts the address.

A [redacted].onion here is not a promise that the address is absent from the browser — scroll up and it is in the header on both the Compose stack and the appliance. When you need one of the node onions, they are in the stack's .env, which the encrypted backup archive carries.

Show recent log returns the last 200 lines from one service, redacted on the host by the same redactor the support bundle uses — so a credential a service echoed on its launch line does not reach the browser. Neither does a Monero payout address written into ordinary log text, which p2pool does every time it reports a payout. Pick the service from the list; the host caps the line count and the total size itself, whatever the page asks for.

One gap is worth knowing about rather than assuming away: a Tari address in log text is scrubbed on a launch line and nowhere else. Its three valid forms are 91, 48 and 67 characters long and one of them is not even alphanumeric, so nothing recognises it by shape the way the Monero address and the onion are recognised. Read a tail before you paste it somewhere public.

Two services are deliberately missing from that list: wallet-rpc and tari-wallet. The redactor is built around the credentials and addresses services print when they start, plus the two values it can recognise anywhere by shape, and the wallet daemons are the two most likely to print key or address material in some other shape. The support bundle may still collect them, because it lands on the host as a file you review before sharing it; this panel streams to a browser, which is not the same thing. To debug a wallet daemon, use the support bundle or the console.

If you pick a service the host will not read logs for, the host refuses and the panel shows its reason as-is rather than guessing at one.

Restart all and reset Tor

Restart all restarts every container of the stack through the host's restart verb. It asks you to type RESTART, and it says that mining stops briefly, that the dashboard goes offline and comes back on its own, and that the machine is not rebooted. The page then shows an offline state, polls the host's result every two seconds for up to ten minutes, and reloads when the restart finished; if the stack has not answered by then it says so and leaves the page for you to reload. The host refuses, and the panel shows its reason, while an OS update is downloading, installing, verifying or waiting for its reboot, while the new slot is still being committed (a restart then could roll the machine back), and while another host operation (a config apply, backup, restore or upgrade) holds the mutation lock; it reports busy instead of queueing. Every request is audited with its actor, action and status, and a second request inside two minutes of the last is rejected with the time left. After the restart the host waits for Tor to report bootstrapped and restarts monerod so it re-dials through the new Tor, then restarts the tari container, when the stack has one, so it starts after Tor. The restart verb is available on the DIY stack and the appliance.

Reset Tor state, on the Tor card, asks the host to run the same gated tor-recover apply that the Tor auto-heal uses, as the signed-in user instead of tor-heal. Its confirmation names what it discards (Tor's circuit history, moved aside as a backup; onion addresses are kept) and that the host can refuse. Every gate stays in force: tor.auto_heal must be on, the circuit history must be saturated, a stalled Monero or Tor bootstrap must corroborate it, no other host operation may hold the lock, and the six-hour recovery cooldown applies. A refusal comes back as the gate's own sentence in the panel. The button also has its own 30-minute budget: a repeat inside it is rejected with the time left, so it cannot be pressed repeatedly. A successful reset restarts Tor and re-dials a running monerod.

Backup view

Backup is its own entry in the toggle above the chart, beside Simple, Advanced and Configuration (#1854). It used to sit below the config editor, where an operator handed a working machine had to scroll past a form they had no reason to open before finding it. The card itself is unchanged — one button, one archive, one passphrase shown once — and Backing up your data covers what it produces.

The card names both halves a restore needs: the encrypted archive, and the kit that carries the passphrase opening it. Neither half is any use without the other, and setting a machine up later asks for that same pair.

On the appliance the card drops the host-side remedy the other builds print. If the machine was set up without a dashboard login, it points at Set up again in the boot menu instead of config.json or ./pithead apply. If a backup attempt fails, the card keeps the error tail but labels it as the machine's own backup log, so commands in that log do not read as instructions for the browser.

A second card lives on the same tab: Export logs (#4036, #4129). It collects one redacted .zip of the system journal for a bug report: the whole journal, the kernel log, the boot list and a per-unit journal for every Pithead and quadlet unit, the dashboard's health history, doctor output, monerod, Tari and P2Pool status, Tor control-port and guard state, network, time and container state, Caddy access logs for the window, the files saved under /data/pithead/support/, versions, the RAUC slot state, and the config's key shape with every value dropped. Every step has a time limit, so a wedged service shows up in manifest.json instead of stalling the export.

Export without the control channel. The card and its routes work whatever dashboard.control.enabled says, and without turning on config editing. With the switch off, the host runner still answers the export and nothing else: it rejects every other request with the reason, and the config editor, restart, upgrade and the other control actions stay off. Every export route is behind the dashboard login when a dashboard password is set: the sign-in gate covers the whole API except the sign-in paths, so a request with no login is refused. When no password is set the export is served to whoever can reach the dashboard, like the rest of the dashboard, which is why the zip is redacted. The request still needs the X-Pithead-Control header the other control posts need.

To export logs:

  1. Open the Backup tab and find the Export logs card. Under the heading it says how far back the logs on this machine reach.
  2. Pick a Time frame: last 1 hour, 6 hours, 24 hours, 72 hours (the default) or 7 days, or Custom range and give a start and an end (in the browser's time zone). A custom range with no start or end, a start after the end or an end in the future is refused before anything is sent.
  3. If the range reaches back further than the logs do, the card says so before you start; the bundle then begins at the oldest retained entry.
  4. Click Export logs. The card shows that the host is collecting (a few minutes on a busy machine) and the download starts by itself when the zip is ready, as support-bundle-<UTC timestamp>.zip. Afterwards the card shows the window that came back in the manifest, and a Download again link that works for at least an hour.
  5. To report a bug, open a new issue, describe what you saw and when, and drag the zip into the comment box. GitHub accepts files up to 25 MB; for a larger zip, ask in the issue how to share it. The zip is redacted on the host, but a public issue is public, so open manifest.json and a log or two first if the machine's logs are sensitive to you.

The card names its failures. A bad range is Invalid range with the reason; a second export less than a minute after the last says so; a failed collection shows the host's message; and a zip that was collected but cannot be fetched says the download is unavailable and that you should export again.

What is in the zip, and how big it gets. bundle/manifest.json lists every file with its window, size and state, every step that failed or timed out, the requested and the effective window, the oldest retained journal entry and the journald disk usage and settings. Every line passes the same redactor the diagnostics log tail uses. A file over its 16 MiB budget keeps its oldest quarter and newest three quarters with a marker saying how many lines were dropped, the files together are held to 64 MiB, and the manifest records every cut: nothing is refused for size, and nothing is cut to 2 MiB. The request is audited like every other control request. The finished zip waits in the same results spool, with the same retention a backup gets, and nothing leaves the box until the download. A box whose stack never came up cannot serve the dashboard, so it builds the same zip from the console instead: pithead recovery-bundle in Operations.

On a Docker host the same card builds the same zip from every container's log for the window (stopped containers included) and the journal of the DIY egress and LAN-guard units, with the host's doctor report, the masked config and the redacted .env; ./pithead support-bundle --since 2026-11-15T10:00:00Z --until 2026-11-15T12:00:00Z writes it from a shell. A journal this user cannot read, or a stopped engine, is listed under failures in manifest.json instead of failing the export.

Retention. The host prunes control results and backup archives so they cannot fill /data. A fresh archive stays downloadable for at least one hour after the backup completes; past that window, only the 3 most recent archives are kept, backups and support bundles alike. An expired archive past those 3 is removed with its result; the 3 that remain stay downloadable until a newer one displaces them or the byte cap evicts them, so a support bundle can outlive the hour the card quotes. Ordinary control-request results (config previews, applies, upgrades) age out after a day or once more than 200 accumulate. Whatever these limits leave behind is capped at 512 MiB total, oldest first, unless the files that must remain (os-update-state.json, the result of a request still in flight, or a fresh backup pair) alone exceed it. Pruning runs host-side after every control request and on every boot; see control_prune_results in lib/pithead/49-control-request-loop.sh for the exact defaults.

Upgrading from the dashboard

With dashboard.control.enabled: true (the same flag as the Configuration view) and a newer release detected, an Upgrade to vX.Y.Z button appears next to the new-release badge. It runs the release install's documented update — download the new bundle, run ./pithead upgrade — on the host, with no SSH:

  1. Click the button and type UPGRADE to confirm. An upgrade recreates every container, so the dashboard disconnects briefly and miners reconnect to the stratum port; config, wallet, and chain data are untouched.
  2. The dashboard drops an upgrade request into the same control spool the Configuration view uses. The host-side runner asks the GitHub release API (over Tor) for the latest release itself and refuses the request unless the version you confirmed is that latest release and it is newer than the running version — the container proposes, the host decides what gets installed. Attempts are limited to one per 10 minutes, and every one is written to the audit log.
  3. The runner downloads the release bundle (over Tor). On the versioned deploy layout — a pithead-vX.Y.Z install dir with its data directories outside it — the bundle is extracted into a fresh sibling pithead-v<new>/, config.json, .env, and the control spool are carried over, and the new dir's ./pithead upgrade runs; on success current -> repoints there and the previous dir stays intact as the rollback copy. Any other layout (a plain pithead/ extract, or data directories living inside the install dir) gets the bundle extracted in place instead — and because no previous dir survives there, the runner first copies config.json and .env to timestamped .bak-upgrade-* siblings, refusing to proceed if it cannot; the newest three pairs are kept (#637). Either way, upgrade re-renders the generated config and pulls the new images. The page rides out its own restart and reports the outcome; reload when it says the new version is up.

The version the container proposes is never trusted as the target: the host independently fetches the latest tag from GitHub, and the bundle it downloads is for that host-derived tag. The bundle is also cryptographically verified (#376): with the release public key on disk (cosign.pub, shipped in every signed bundle), the runner fetches the release's pithead.tar.gz.sig and checks the download against the key it already holds before extracting a byte — a bad or missing signature fails the upgrade with nothing changed, and a swapped key inside a malicious bundle cannot vouch for itself. The pithead upgrade that follows verifies each image's signature the same way before pulling. An install without cosign.pub (older than the first signed release) still rests on TLS to GitHub (over Tor) plus that tag pinning, and says so in the journal — upgrading once to a signed release picks up the key. See Releasing › Signed releases.

The verifier needs nothing installed. It runs as a digest-pinned container, so the button works on any host that can already run the stack; the image is fetched once, quietly, the first time an upgrade verifies something. If Docker itself is unreachable the request is refused outright, with nothing downloaded and the throttle unclaimed — but a box in that state is not mining either.

Upgrading from v1.7.x or older shows one last false failure. Dashboard versions before v1.8.1 treat the reverse proxy's brief 502 — normal while the dashboard container recreates itself — as a hard failure, and the page polling during the upgrade is still the old version: the fix ships inside the release being installed, so it cannot protect the jump that installs it. If the modal reports "Error: HTTP 502" but the version badge shows the new version and the new-release banner is gone, the upgrade landed; reload the page to clear the modal (or confirm with ./pithead version on the host). This happens once — upgrades started from v1.8.1 or later ride out the restart.

The button never appears on a source checkout — the runner refuses the request there, since a dev install updates with git pull. If the upgrade fails, the result says so in the view: a failed release lookup or bundle download changes nothing; a failure during pithead upgrade leaves containers that were not yet recreated on the previous images. On a host, the result keeps the recovery command separate from the upgrade log. On an appliance, the card labels the tail as the machine's own log and does not show the host-only command or backup paths. There is no automatic rollback — the images of the previous release stay on disk, and docker compose state is recoverable the same way as a failed CLI upgrade. The host result names the restore point (#637): on the versioned layout, the previous pithead-vX.Y.Z dir; in place, the pre-upgrade config.json/.env copies.

If the button does nothing at all — no result, no error, no modal — the control units are pointing at a different directory than the dashboard writes to. The dashboard drops each request into its own install's spool and a systemd path unit runs the host-side runner when a file lands there. The unit names an absolute path and is shared box-wide, so an upgrade that aborted partway can leave it watching a tree that is no longer the install. Nothing reports the mismatch: requests queue up unread, and the config editor and the upgrade button both sit there. ./pithead doctor names it under Dashboard control channel, printing the directory the units point at next to the one you ran it from, and ./pithead apply from the install directory repoints them.

Updating the appliance OS

On a Pithead OS appliance the tarball upgrade above is refused — the machine updates through signed OS images, and the header shows an OS updates control instead. It drives the appliance's A/B update from the browser, one explicit step at a time, through the same control channel as everything else on this page: the dashboard container only asks, and the host re-derives and re-verifies every step itself. Close dismisses the dialog in one click, including after an update-check error, and returns focus to OS updates. Retry remains available when there is a target to download. A step that cannot reach the dashboard, or that is answered 401 or 403, shows "Pithead restarted or the page is out of date. Reloading…" and the page reloads once the dashboard answers; any other refusal shows the response text, or HTTP and the status when it is empty.

  1. Check. The host asks the release API (over Tor) for the latest release and its OS bundle. The dashboard's passive new-release badge covers the same ground hourly, from inside the container. The button is a separate, host-side check with its own 10-minute anti-beacon throttle: a fresh answer from inside that window is served from cache, but a click that lands after a failed or in-flight check is refused outright ("an update check ran less than 10 minutes ago — retry in a few minutes"). Either way it is not instant on every click.
  2. Download. The bundle (on the order of a gigabyte) lands on the data partition, over Tor, resumable: a dropped connection or a closed page keeps the bytes already fetched, and Retry continues from there instead of starting over. Mining is unaffected, and the host refuses to start a download /data has no room for.
  3. Verify. Before anything touches a system slot, the host judges the downloaded file locally: the RAUC signature against the machine's baked release keys, the machine-class compatible stamp, and the version — an older release, or one below the /data migration floor, is refused even with a valid signature. A file that fails any check is deleted; there is no override in the dashboard. An update that migrates the chain data is also refused when the data partition lacks room for the Tari migration's copy of the database (its current size plus 5 GiB). That refusal names the size needed and the size free, and keeps the file: free space, then verify and install again. The install step runs the same check again.
  4. Install. The verified bundle is written to the idle system slot, with progress shown. Mining keeps running, and the downloaded bundle is deleted. The idle slot is now armed: any reboot boots the update, including a power cut, watchdog restart or Set up again.
  5. Reboot. Install does not order a reboot. The dashboard action is separately confirmed (type REBOOT) and expires 24 hours after install; expiry does not disarm the slot. After expiry, check, download, verify and install again to re-arm that dashboard action, or reboot at the console. Reboot pauses mining — typically under five minutes. The page waits and reconnects when the dashboard returns.

After the reboot the machine is already running the new version, and it health-checks itself before committing it — the same gate every appliance boot runs. While that verification is in progress the header says "Verifying the update to vX — leave the machine running", and nothing on the page asks for a second reboot: a reboot now would fall back to the previous version before the update ever had its checks decided, so the host refuses one and says why, in the message and in the control log. A banner reports the outcome: updated to the new version, or rolled back to the previous one automatically because a check did not pass inside the window. When the host records which check held the gate, the banner names it. An update interrupted before its verification reached a verdict — a power cut mid-verification, say — is reported as interrupted, not as failed health checks. A rollback on its own is not evidence that the release was faulty: a check can fail for a reason the update did not cause, and the named cause is what tells the two apart before you retry. Either way the machine ends on a working system; wallets, settings, and chain data live on the data partition and are never part of an update.

Tips

  • First visit certificate warning. With dashboard.secure: true (the default), DIY installs use Caddy's local certificate authority. Verify and trust its root CA to avoid repeated warnings after certificate renewal. To use plain HTTP instead, set dashboard.secure: false and run ./pithead apply.
  • Reaching it from another machine. Use the stack server's hostname/IP. If the hostname doesn't resolve on your LAN, set dashboard.host in config.json to an address that does.
  • Adding a login. The dashboard has no password by default, fine for a private LAN appliance. If the box is shared or reachable beyond your LAN, set dashboard.auth.password (keep dashboard.secure: true) and run ./pithead apply to put a login prompt in front of it. See Configuration › Exposing the dashboard safely.
  • On your phone. The layout is responsive. Open the same URL and it reflows to a single column with a stacked header.
  • Stuck on Sync Mode? The chain is still downloading. Check ./pithead logs monerod / ./pithead logs tari for steady progress; see Operations › Troubleshooting if a node looks stalled.

For how the switching engine decides the P2Pool/XvB split, see Architecture › Algorithmic switching.