DankMiner v1.5.5 - HiveOS custom miner

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; Ubuntu 20.04 / glibc 2.31 is the tested baseline. 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. Set algorithm, wallet, pool and password in the
flight-sheet fields. Supported algorithms: capstash, xelis, warthog, xmr,
coin and quantus. Quantus example: algorithm quantus, wallet %WAL%,
pool stratum+tcp://1miner.net:19837, password x.
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.
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://1miner.net:19837 --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
Third-party notices and license terms: legal/NOTICES.txt
