Skip to main content

Report codes

A report code is how a machine describes itself without a server: one line of text, printable on a console, pasteable into chat, readable in a browser.

sudo ./oneclick.sh report --power 45
ZMRIG1.eyJ2IjoxLCJpZCI6InZwc…
# while mining: keep the file fresh
zmrig --report-file /var/lib/zmrig/report.txt --report-interval 60
sudo cat /var/lib/zmrig/report.txt

Format​

ZMRIG1. followed by base64url of a compact JSON object. Version 1 of the format:

{
"v": 1,
"id": "vps-sg-02",
"ver": "6.32.1",
"cpu": "AMD EPYC 7B13 64-Core Processor",
"arch": "x86_64",
"cores": 32,
"thr": 2,
"algo": "rx/0",
"mode": "fast",
"hs": [1461.2, 1470.5, 1466.1, 1478.9],
"hp": [1168, 1168],
"shares": [806, 0, 0],
"hash": 881234012,
"up": 86400,
"pw": 22,
"pwsrc": "rapl",
"hw": 66.8,
"tmax": 72,
"tc": 68.5,
"at": 7,
"health": "ok",
"pool": "gulf.moneroocean.stream:10001",
"ts": 1793412000
}
FieldMeaning
hshashrate over 10 s, 60 s, 15 min, session best (H/s)
hphuge pages granted, needed
sharesaccepted, rejected, failed
hashtotal hashes computed
upuptime in seconds
pw, pwsrcwatts, and the source: rapl, hwmon, user, none
hwhashes per watt, when power is known, else null
tmaxthe --max-temp target, or null when no thermal policy is armed
tcthe temperature the governor last acted on, or null
atthreads currently allowed to hash — below thr while it is throttling
healththe miner's view of its own income: ok, warming, degraded, stalled, rejected

at below thr is the one field a fleet dashboard cannot derive from hashrate: a throttled rig and a healthy rig at half load look identical from the pool side, and only one of them has a bearing on its way out.

Nothing else is in it. No wallet address, no pool password, no public IP, no hostname beyond the worker name you chose yourself.

Decode it yourself​

cut -d. -f2 report.txt | tr '_-' '/+' | base64 -d | python3 -m json.tool

Or in a browser console:

JSON.parse(atob("eyJ2Ijox…".replace(/-/g, "+").replace(/_/g, "/")))

You should not have to trust a decoder on a website to read a number your own machine produced. The calculator on this site decodes locally and sends nothing, but the two lines above are the whole trick.

Choosing the hashrate window​

--report measures a 10 s warm-up plus a window of --report-time seconds (15 by default), then reports the stable hashrate rather than the average since startup: an average would include the dataset build and come out 20–25 % low.

In the calculator you pick the window:

WindowUse it for
10 sthe current state of the machine
60 sthe default; smooths brief dips
15 mina thermal-throttled or shared host
session bestwhat the machine can do when nothing else is running

Comparing machines on different windows is the fastest way to draw a wrong conclusion about a CPU.

A fleet​

  1. Give each machine a distinct --report-id.
  2. Let the miner keep writing its report file.
  3. Collect the lines and paste them into the calculator one per line — or as raw JSON, if you keep your own inventory.

Codes survive copy-paste: the alphabet is base64url, so no line breaks, spaces or shell quoting are needed.