You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A dedicated Worker Inspect page that, for any worker exposing the XMRig HTTP API (with write access granted), lets the operator view and edit that miner's config from the dashboard — while Pithead keeps a versioned history of every worker's config in its DB and correlates measured hashrate to each config version.
Marked v1.1 / future feature — sizable, and not needed for the v1.0 showcase.
Motivation
Today, changing a rig's config means SSHing into each miner / hand-editing RigForge configs. On a multi-rig setup that's the main operational pain.
Tuning (threads, huge pages, RandomX flags, donate level, pool/algo) is iterative — you want to change a knob and immediately see the hashrate effect, and be able to roll back to whichever config performed best.
Centrally-stored config copies mean a rig that dies can be reprovisioned from Pithead's last-known-good config.
Proposed capabilities
Read — pull the live config from each worker's XMRig API (GET /1/config; requires http.restricted: false + an access token on the rig) and show it on the Worker Inspect page.
Edit / push back — edit in the dashboard and PUT the updated config to the worker (XMRig reloads it). Gated on write access + auth.
Persist — store every worker's config in Pithead's DB (the dashboard's SQLite), keyed by worker.
Version + history — on every observed or applied change, snapshot the config as a new version with a timestamp and a diff; keep the full per-worker config history, and log the source of each change (dashboard edit vs. changed externally on the rig).
Worker Inspect page — a per-worker detail view hosting all of the above: current config, history with diffs, hashrate-per-config, and edit / apply / rollback controls.
Cross-repo (RigForge): worker configs are RigForge's domain (the miner kit). The config schema / validation should align with RigForge so a pushed config is valid for the rig.
Summary
A dedicated Worker Inspect page that, for any worker exposing the XMRig HTTP API (with write access granted), lets the operator view and edit that miner's config from the dashboard — while Pithead keeps a versioned history of every worker's config in its DB and correlates measured hashrate to each config version.
Motivation
Proposed capabilities
GET /1/config; requireshttp.restricted: false+ an access token on the rig) and show it on the Worker Inspect page.PUTthe updated config to the worker (XMRig reloads it). Gated on write access + auth.Technical considerations
http.restricted: false+ an access token per worker — the same token/addressing plumbing as Dashboard: config to read workers that use a custom XMRig API token #171 / Configurable worker ports & endpoints: non-standard stratum/API ports + per-worker host/port/token overrides (later) #172. The default XMRig API is read-only, so this feature requires operators to explicitly opt each rig into write access.config_idforeign key on the hashrate time-series (relates to Store share stats as time-series for reject-rate trends/charting #116's time-series storage).Relationship to existing issues
config_idties samples to the config that produced them.Scope / phasing
A natural phased build:
Acceptance criteria (when built)