RHASH-CPU

Run it like a miner, not a log file.

Old-school miners like CGMiner and BFGMiner got one thing right: a fixed screen you can read at a glance, and one key per command. Rhash-CPU brings that back on Linux and pairs it with a proper app on Windows.

Three screens, your choice.

On a terminal the simple menu is the default. Running ./rhash-cpu with no options mines the last pool that connected. --dashboard switches to the full board, --nomenu to plain scrolling logs, which is also what you get when the output is piped.

./rhash-cpu --menu
 Rhash-CPU 1.07   rx/0                                                                                 up 0d 00:01:18
 * HUGE PAGES  supported (1182 reserved)    1GB PAGES supported (0 reserved)
 * CPU          Intel(R) Xeon(R) Processor @ 2.10GHz  64-bit AES AVX2
                L2:4.0 MB L3:260.0 MB 2C/2T NUMA:1  using 2 threads
 * MEMORY       2.8/7.8 GB (36%)
                (DIMM details need root + dmidecode)
 * POOL         testpool.lan:3333  pool 1/2
   Username: 888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H
 * SPEED        10s 858.05 H/s   60s 869.96 H/s   1h 664.87 H/s(1m)   avg 664.87 H/s   top 899.81 H/s
 * SHARES       A:45  R:0 (0.0%)  Stale:0  Best:50292
 * STATUS       mode:fast, 1 dataset  huge pages:ON - 2MB pages (1GB not in use)  features:JIT AES-NI Argon2-AVX2  dat

── share submissions (last 8) ----------------------------------------------------------------------------------
 [23:58:33] Accepted diff 1024           0 ms  rx/0
 [23:58:33] Accepted diff 1024           0 ms  rx/0
 [23:58:34] Accepted diff 1024           0 ms  rx/0
 [23:58:38] Accepted diff 1024           0 ms  rx/0
 [23:58:38] Accepted diff 1024           0 ms  rx/0
 [23:58:38] Accepted diff 1024           0 ms  rx/0
 [23:58:42] Accepted diff 1024           0 ms  rx/0
 [23:58:46] Accepted diff 1024           0 ms  rx/0
 [S] save pool  [P] pool list  [O] options  [H] hold  [Q] quit

The menu: CPU, memory, pool, speeds over 10 seconds, a minute and an hour, your best speed seen, the last eight shares.

Every key on one line.

The same keys work in the menu and the dashboard, so moving between them costs nothing.

  • S save the current pool under a name
  • P pool list
  • O options
  • H hold, press again to continue
  • Q quit and restore MSR settings
  • Enter switch to the selected pool
  • E edit a pool: name, algorithm, address, user, password, TLS
  • N add a pool
  • D delete a pool

In plain-log mode: h hashrate per thread, p pause, r resume, s share stats.

What the options do.

  • Rotate pools every N minutes

    Move through your saved pools on a timer, or stay on the main one.

  • Saved pools as backups

    After a few failed connects the miner moves to the next pool for the same algorithm, and keeps trying your main pool until it's back.

  • CPU temperature limit

    Pauses above the limit and resumes 5 degrees lower.

  • CPU limit per thread, worker threads

    Run at 10 to 100% per thread, or fewer threads.

  • Huge pages and 1 GB pages

    Turn RandomX memory features on or off without remembering flags.

Rhash-CPU for Windows. Example screen for a Ryzen 9 7950X.

The Windows app

rhash-cpu-gui.exe runs the command-line miner in the background and shows you what it's doing. Close the window and mining stops: no stray miner left behind.

  • Pool bar. Switch pools, add or edit one, or run an offline benchmark.
  • Full power or Eco. 90, 75, 50 or 25% per thread, live. Quieter fans, cooler laptop.
  • Smart pause. Mine only when you're away, pause for full-screen apps, pause on battery.
  • Large pages. The app shows whether they're on, turns them on with one admin prompt, and can free fragmented RAM when Windows can't find enough.
  • Live log. Every share, connection message and error, with filters, copy and save. Pool traffic shows the raw messages too.
  • Tray and startup. Minimise to the tray with your hashrate on the icon, start with Windows if you like.

Pools are shared: if you add in the Windows app or CLI they save in both.