DankMiner v1.5.5a prerelease - HiveOS custom miner

Quantus Ada fast-mode prerelease - 2026-10-24
The selected NVIDIA Ada (SM89) fast kernel reduces work in its final round.
Exact CUDA mode, other CUDA architectures and OpenCL retain their existing paths.
Startup self-tests and fallback kernels remain available. Every submitted
candidate receives an independent full CPU hash and target check.
Fast arithmetic can miss valid shares; CPU verification cannot recover them.
An earlier one-card RTX 4070 SUPER reference measured about 544.8 MH/s at 220 W.
That is not a guarantee for your rig or a benchmark of this final package.
SRBMiner parity is not claimed.

Pool recovery, per-GPU adaptive buffers, ten-second hashrate reporting and
PCI statistics are retained. An authorized Quantus pool that supplies no
first job within 15 seconds is retried or the next configured pool is used.
The Quantus developer fee remains 1%.

Extract into a NEW, EMPTY folder. Reusing an old extraction folder can leave
obsolete files behind. Copy only your edited wallet/pool settings into this version.

Configure mining through the HiveOS flight sheet. The h-config.sh and h-run.sh
adapters generate the miner configuration and start it. This package has no
mine_* launchers. All example payout addresses are placeholders.

REQUIREMENTS
Linux x86-64; built on Ubuntu 20.04 / glibc 2.31. The miner ELF requires
GLIBC symbols no newer than 2.29. Install the appropriate vendor GPU driver. Coin also needs system libstdc++.so.6
(GLIBCXX_3.4.21 or newer) and libgcc_s.so.1.
Xelis requires an NVIDIA CUDA GPU. CapStash, Warthog and Quantus also have
OpenCL backends. XMR and Coin use the CPU. Driver support varies by GPU.

HIVEOS FLIGHT SHEET
Use miner name dankminer. For Quantus, set wallet template %WAL% and your
pool address, for example stratum+tcp://YOUR_POOL:PORT. Use algorithm
auto, or leave it blank if Hive allows. The adapter detects a valid Quantus
SS58 network-189 address and checksum. It uses the Hive rig name as worker,
defaults the password to x, and adds stratum+tcp:// to a bare pool address.
An explicit wallet.worker login keeps its supplied worker name.

An explicitly selected algorithm always wins. If an older flight sheet has
capstash or whirlpool-xorfold selected, change that field to auto or quantus.
Automatic detection retains the CapStash default for other wallet formats.
Choose xelis, warthog, xmr or coin explicitly for those algorithms.

Hive must still supply your selected wallet and pool to the miner. Its custom
miner loader also requires the name dankminer before our callbacks run.
This package cannot prefill or change Hive's web form itself. No wallet or
pool destination is guessed when a required value is missing.
Keep all h-* callbacks beside dankminer. They require Bash and Python 3.

DUAL MINING - one GPU primary and one CPU companion
Select CapStash, Xelis, Warthog or Quantus in the flight sheet. Add one
companion setup in extra arguments, replacing the payout placeholder:
  --xmr-wallet YOUR_XMR_ADDRESS --xmr-pool stratum+tcp://1miner.net:3333 --xmr-threads 4
  --coin-wallet YOUR_COIN_PAYOUT_ADDRESS --coin-rpc http://127.0.0.1:10005 --coin-threads 4

Warthog itself uses GPU + CPU. Set --cpu-threads for its Warthog workers and
--xmr-threads or --coin-threads for the companion; tune both counts together.
For at least 4 logical threads, 2 Warthog workers plus 1 companion is a starting point.
Only one CPU companion can run with a GPU primary.

Warthog supports multiple dedicated CUDA/OpenCL GPUs and automatically uses
OpenCL on AMD-only rigs. CPU-class OpenCL devices and integrated GPUs are excluded.
Offline check: ./dankminer -a warthog --warthog-self-test
To check two OpenCL devices, add --force-opencl --ocl=0,1 (use your rig's indices).
The NVIDIA CUDA driver is optional on Windows and Linux; AMD needs its OpenCL driver.

Quantus uses fast CUDA by default; add --quantus-exact for exact arithmetic.
The default --quantus-sass=auto selects the hand-tuned kernel on compatible
SM89 fast devices and falls back if loading or startup verification fails.
Use --quantus-sass=off for compiled CUDA; the startup line identifies the path.
The separate --quantus-fused experiment is off by default and was slower
on the tested RTX 4070 SUPER. It cannot be combined with --quantus-exact.
Quantus uses dedicated GPUs; --cuda=0,1 selects CUDA devices. See --help for OpenCL.
Developer fees: CapStash 2%, Xelis 1%, Warthog 1%, XMR 2%, Coin 0%, Quantus 1%.
Each coin retains its fee when dual mining. Pool fees are separate.

Coin uses a synced Patoshi 1.0.5 node at http://127.0.0.1:10005 by default.
Cookie discovery is automatic; --coin-rpc-cookie PATH selects a cookie.
Keep libcoin_randomx.so beside dankminer.

MANUAL CLI OR CONFIGURATION
Outside the HiveOS-managed run, the executable also accepts direct commands:
  ./dankminer -a quantus -w YOUR_QUANTUS_ADDRESS -p stratum+tcp://YOUR_POOL:PORT --worker rig1
Or edit a JSON sample and load it:
  ./dankminer -c examples/quantus.example.config.txt
Use examples/coin.example.config.txt for Coin. CLI options override the
configuration; dual mining also needs the companion flags shown above.

Dashboard: http://localhost:4068
Runtime packages contain no implementation source, tests or private settings.
Third-party notices and license terms: legal/NOTICES.txt
