DanS e9a919711f drg-xmrig 6.25.1-drg2: fix default pool port (3433) and algo
The bundled config had a portless pool URL (pool.dragonx.is), so xmrig
fell back to its default port 3333, which is firewalled on the pool host
-> repeating 'connect error: operation canceled'. The pool's stratum is
plain TCP on 3433 and requires a shielded zs-address worker name.

- src/config.example.json: url -> pool.dragonx.is:3433, algo -> rx/dragonx,
  user placeholder -> YOUR_DRGX_ZS_ADDRESS
- scripts/pool_mine_example.cmd: point at the DragonX pool with rx/dragonx
- scripts/build_windows.sh: fetch OpenSSL 1.1.1w from GitHub release mirror
- bump APP_VERSION to 6.25.1-drg2

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 20:34:30 -05:00
2019-04-01 11:50:28 +07:00
2026-03-05 06:00:55 -06:00
2017-04-15 09:02:08 +03:00

DRG-XMRig

DRG-XMRig is the official DragonX CPU miner — a fork of XMRig that mines DragonX's dual-hash (RandomX + double-SHA256) proof of work.

Repository: https://git.dragonx.is/DragonX/drg-xmrig

What's different

DragonX block validity is SHA256D(header + RandomX(header)) <= target: RandomX produces the solution, and the double-SHA256 of header + solution is the difficulty-bearing hash.

DRG-XMRig filters every hash on that double-SHA256 pow-hash (not on the RandomX hash), uniformly in both solo and pool mode. A block is therefore simply a share that clears a harder target, which means:

  • the pool receives every block candidate — no under-submission gap, and
  • the reported hashrate is block-relevant (it matches the network metric).

It mines the rx/dragonx algorithm (aliases: rx/hush, dragonx) using DragonX's customized RandomX parameters.

The exact wire protocol (job format, 32-byte nonce / extranonce handling, submit format, pow-hash construction) is documented in PROTOCOL.md. A DragonX pool that scores shares on the double-SHA256 pow-hash is required.

Based on XMRig v6.25.

Mining backends

  • CPU (x86/x64, ARMv7/ARMv8, RISC-V)

Build

./build.sh --linux-release      # Linux x86_64 static release
./build.sh --win-release        # Windows x86_64 (MinGW cross-compile)

Dependencies are built by scripts/build_deps.sh on first run.

Usage

./xmrig -o <pool-host>:<port> -u <YOUR_DRGX_ADDRESS> -a rx/dragonx

The preferred way to configure the miner is the JSON config file (config.json).

Credits

Based on XMRig by xmrig and sech1). DragonX dual-hash mining model.

Description
No description provided
Readme GPL-3.0 10 MiB
2026-06-07 09:22:27 -05:00
Languages
C 40.1%
C++ 31.1%
Makefile 23.6%
Assembly 3.7%
CMake 1.3%
Other 0.1%