How to mine
How to mine CryptoNight: Conceal, Ryo and MoneroOcean
cn/gpu on GPUs and CPU, plus eighteen classic variants for private pools.
- Algorithm
- CryptoNight-GPU (
-a cn/gpu, or-a cnto let the pool choose) - Mines on
- NVIDIA, AMD, Intel and Apple GPUs, and the CPU
- Dev fee
- 1%
- Wallet
- The coin’s own:
ccx7for Conceal, a Monero address at MoneroOcean - VRAM
- 2 MiB per hash in flight; a batch takes up to 16 GiB or what the card has
- Launcher
start_cnin the archive
“CryptoNight” is one construction that a dozen chains parameterised differently. bzminer
ships nineteen of them as one plugin: cn/gpu, the variant the live chains run (Conceal and
Ryo), plus the eighteen classic variants — cn/0, cn/1, cn/2, cn/fast, cn/half, cn/xao, cn/rto,
cn/rwz, cn/zls, cn/double, cn/ccx, cn-lite/0, cn-lite/1, cn-heavy/0, cn-heavy/xhv, cn-pico,
cn-pico/tlo and cn/upx2. Naming a variant mines it; -a cn lets an auto-switching pool
choose per job.
When this build shipped, cn/gpu was the only CryptoNight variant with a live public pool. The classic variants are here for private pools and for whichever chain comes back; no public pool was found serving a block template for any of them.
Before you start
- Decide where you are mining. Two real choices:
- MoneroOcean, which serves cn/gpu and pays in XMR. The wallet is a Monero address. It is the simplest option, and the example below uses it.
- A dedicated Conceal pool, paid in CCX. Wallet: a
ccx7address. Pools that answered logins:stratum+tcp://pool.conceal.network:3333(the project’s community pool),stratum+tcp://ccx.pool.gntl.co.uk:3333,stratum+ssl://conceal.cedric-crispin.com:3365. These validate the address, so a Monero address is refused.
- Hardware. Any NVIDIA card from Pascal up, AMD and Intel through OpenCL, Apple Silicon through Metal, and the CPU — which is unusually good at cn/gpu here: the AVX-512 path is several times faster than the other CPU miners that implement it.
The command
MoneroOcean, paid in XMR. The ~cn/gpu in the password is required, not decoration:
./bzminer \
-a cn \
-p stratum+ssl://gulf.moneroocean.stream:20128 \
-w 4YOUR_MONERO_WALLET \
--worker rig1 \
--pass "rig1~cn/gpu"-a cn— lets MoneroOcean pick the variant.-a cn/gpunames it outright; both work here.-p— MoneroOcean’s TLS port. Its certificate is self-signed, so do not add--ssl-verify.stratum+tcp://gulf.moneroocean.stream:10128is the plain port.-w— a Monero address, whatever the variant.--pass "rig1~cn/gpu"— the worker name and the algorithm pin. Without the pin MoneroOcean refuses the login with “No block template yet”.
A dedicated Conceal pool:
./bzminer -a cn/gpu -p stratum+tcp://pool.conceal.network:3333 -w ccx7YOUR_CONCEAL_WALLET --worker rig1Step by step, on your platform
Pick your platform. The steps are the same shape everywhere: get the archive, put your wallet in the launcher, run it, open the dashboard. Only the details change.
-
Download and unzip
Get
bzminer_v100.82_windows.zipfrom the release page and unzip it anywhere you like — a folder on the desktop is fine. There is no installer and nothing is written outside that folder except the log. The SHA-256 of the archive is published beside it if you want to check the download. -
Put your wallet in the launcher
Right-click
start_cn.bat, choose Edit, and replace the placeholder wallet with your own. The pool is already filled in; other pools are listed as commented-out lines in the same file. Save it. -
Run it
Double-click the launcher. The console dashboard opens in a window. Or, from a command prompt in that folder, the same thing by hand:
bzminer.exe -a cn -p stratum+ssl://gulf.moneroocean.stream:20128 -w 4YOUR_MONERO_WALLET --worker rig1 --pass "rig1~cn/gpu"Windows Terminal is the better console for it: the old
conhostwindow cannot scroll the log pane with the mouse wheel and select text at the same time. Everything still works in the old console; it is just less convenient. -
Open the dashboard
Browse to
http://127.0.0.1:4014/on the same machine. Nothing to install and nothing to sign in to.
Overclocking on Windows needs no special privileges for the power limit and the fan, and no
administrator prompt to mine. CPU register tweaks that speed up some CPU algorithms are optional
and use the PawnIO driver; install-pawnio.bat is in the archive for that, and mining
carries on without it.
-
Download and unpack
wget https://github.com/bzminer/bzminer/releases/download/v100.82/bzminer_v100.82_linux.tar.gz tar -xzf bzminer_v100.82_linux.tar.gz cd bzminer_v100.82_linuxA single static binary; no packages to install, and no CUDA toolkit or OpenCL SDK. The GPU driver is the only thing it needs from the system.
-
Put your wallet in the launcher
Open
start_cn.shin any editor and replace the placeholder wallet. Other pools are in the same file as commented-out lines. -
Run it
./start_cn.shOr the same command written out, which is all the launcher does:
./bzminer \ -a cn \ -p stratum+ssl://gulf.moneroocean.stream:20128 \ -w 4YOUR_MONERO_WALLET \ --worker rig1 \ --pass "rig1~cn/gpu"If you redirect the output to a file or run it under a service manager, bzminer notices there is no terminal and switches to the plain scrolling
logscreen on its own, so the file is readable rather than full of cursor codes. -
Open the dashboard
http://127.0.0.1:4014/on the rig itself. To see it from another machine on your network, add--set http_address=0.0.0.0to the command — there is no password on it, so only do that on a network you trust.
Overclocking on Linux is privileged. Every clock, power and fan change is a driver write
that needs root, so run the miner with sudo when you use the --oc-*
flags. Without root the run still mines; each refused knob is named in the log with the reason.
CryptoNight runs on the Apple Silicon GPU through Metal for cn/gpu and every classic variant except the variant-2 family, which needs double precision Metal does not have. The CPU mines too.
-
Download, unpack, clear the quarantine flag
tar -xzf bzminer_v100.82_macos.tar.gz cd bzminer_v100.82_macos xattr -dr com.apple.quarantine .The build is not signed with an Apple Developer ID, so macOS refuses to open it until the quarantine flag is cleared. That last line does it once, for the whole folder. The archive is Apple Silicon only; it does not run on Intel Macs.
-
Put your wallet in the launcher
Open
start_cn.shin TextEdit or any editor and replace the placeholder wallet. -
Run it
./start_cn.shOr written out:
./bzminer \ -a cn \ -p stratum+ssl://gulf.moneroocean.stream:20128 \ -w 4YOUR_MONERO_WALLET \ --worker rig1 \ --pass "rig1~cn/gpu" -
Open the dashboard
http://127.0.0.1:4014/in Safari or any browser on the Mac.
On a Mac the GPU is reached through Metal, and only algorithms with a Metal kernel use it: Ergo, KawPow, Ethash, Pearl, Warthog and CryptoNight. XELIS, RandomX and Verus mine on the CPU there. There is no overclocking on macOS.
The example targets MoneroOcean, so the wallet is a Monero address and the Pass field carries the ~cn/gpu pin. For a dedicated Conceal pool, use cn/gpu as the algorithm, a ccx7 address, and x as the password.
The clean way is Hive’s custom miner mechanism, which installs the current bzminer straight from the release page and lets you type any algorithm name. The Hive OS and mmpOS guide has the detail and the alternative of updating Hive’s own bzminer entry in place.
-
Make a flight sheet
Coin, wallet and pool as usual. For the miner pick Custom, then open Setup Miner Config.
-
Fill in the custom miner form
Miner name bzminer_customInstallation URL https://github.com/bzminer/bzminer/releases/download/v100.82/bzminer_custom-v100.82.tar.gzHash algorithm cnWallet and worker template %WAL%— just the wallet. Hive passes the rig name separately and bzminer joins the two itself, so a template with a worker in it would name the worker twice.Pool URL stratum+ssl://gulf.moneroocean.stream:20128— a barehost:portmeans plain stratum; writestratum+ssl://host:portin full for TLSPass rig1~cn/gpuExtra config arguments Any bzminer flag, on one line — overclocks, --devices,--cpu_threads. -
Apply it to the rig
Hive downloads the package on first start. Hashrate, temperatures and shares appear on the Hive dashboard because bzminer serves Hive’s stats format itself on port 4014, so leave the web server on its default port.
mmpOS ships a bzminer miner profile. What it does not ship is the current version, so the profile
gets a one-time download script, and any algorithm its own list does not know is reached with
--force_algo.
-
Create a miner profile
Miner bzminer, the coin or algorithm, your pool and wallet. The rig name becomes the worker name.
-
Install the current version
In the profile, under Advanced, paste this into “Initiate command prior to miner launch”. It downloads v100.82 once and exits immediately on every later launch, so it costs nothing per restart. To move to a later release, change the version on the first line.
export version="v100.82" if [ -f "/tmp/bzminer_${version}_linux.tar.gz" ]; then exit 0 else cd /tmp; wget https://github.com/bzminer/bzminer/releases/download/${version}/bzminer_${version}_linux.tar.gz; tar -xvf bzminer_${version}_linux.tar.gz; sudo cp -adpR bzminer_${version}_linux/bzminer /opt/mmp/miners/bzminer/ fi -
Name the algorithm if the list lacks it
If
cnis not among the algorithms mmpOS offers for bzminer, pick any and add--force_algo cnto the profile’s extra arguments. It overrides whatever the OS wrote into the pool block, which is exactly what it is for. -
Assign the profile to the rig
Stats come from bzminer’s own web port, so keep the web server enabled on 4014.
What you should see
The log names the variant each job is for. Every share the GPU finds is re-hashed by the CPU reference before it is submitted, so a broken kernel would show up as a log line rather than a pool ban. CryptoNight-GPU is a float-heavy loop designed to run as well on a GPU as on a CPU, so the CPU row in the table matters here; on a big many-core box it can rival a card.
The hasher sizes its batch to the card — 8192 hashes at 2 MiB each on a card with the
room, halving until the allocation succeeds on OpenCL, where drivers cap a single allocation at
around a quarter of the card’s memory. BZ_CN_THREADS in the environment changes
the cap if you want to leave VRAM for something else.
Tuning
cn/gpu is arithmetic rather than memory traffic, so treat it like a compute algorithm: a small core offset, a fan curve, and a power cap found by measurement. The classic 2 MiB variants are bound by DRAM row activations instead and gain little from anything but the memory clock.
On the CPU, the miner times its own AVX-512 kernels against each other at startup and logs which
won, so there is nothing to select. --cpu_threads is the knob; the t /
T keys move it live.
Naming a variant
For a private pool on a classic chain, name the variant and the miner mines only that:
./bzminer -a cn-heavy/xhv -p stratum+tcp://YOUR_POOL:PORT -w YOUR_ADDRESS --worker rig1
The XMRig spellings are accepted too (cryptonight-haven, cn/ccx,
cn-pico/trtl and so on), so a config written for another miner works as it is. cn/r,
cn-heavy/tube and the cuckoo and argon2 families are not implemented.
Problems
- MoneroOcean says “No block template yet. Please wait.” Either the password is missing the
~cn/gpupin, or MoneroOcean’s Conceal daemon is down — that has happened for hours at a stretch. Add the pin, then try again later. - A Conceal pool refuses the login. It validates the address: a Monero address is not a Conceal address. Use a
ccx7one. - A card is skipped on OpenCL. The driver would not allocate enough memory for even a small batch. The log names the card.
- Metal refuses a variant. The variant-2 family needs double precision, which Metal does not have. Use the CPU on a Mac for those.
More in the troubleshooting guide.