Commit Graph
13 Commits
Author SHA1 Message Date
DanSandClaude Opus 4.8 de11995a53 Add macOS release build target
Add `./build.sh --macos-release`, producing a portable host-arch macOS
binary (Intel x86_64 or Apple Silicon arm64). libuv, hwloc, and OpenSSL
are linked statically from Homebrew so the result runs on stock macOS
without Homebrew at runtime.

Homebrew's static libhwloc.a is built with the libxml2 and OpenCL
topology plugins, so the link adds `-lxml2 -framework OpenCL` (both
ship with macOS). Brew prefixes are resolved via `brew --prefix`, so
the same target works on Intel (/usr/local) and Apple Silicon
(/opt/homebrew); the package is named by `uname -m`.

Also document the macOS build in README and ignore build-macos/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 09:05:55 -05:00
DanSandClaude Opus 4.8 ee9144ab13 Bump version to 6.25.2
Switch fork versioning from 6.25.1-drg2 to a clean 6.25.2 patch version
(APP_VERSION, APP_VER_PATCH, package.json, CHANGELOG heading).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 22:55:50 -05:00
DanSandClaude Opus 4.8 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
DanSandClaude Opus 4.8 8f711d7c14 Make rx/dragonx the primary algo name (rx/hush kept as alias)
Wire parity with miner113/xmrig: the algo string reported and sent in
submits is now rx/dragonx; rx/hush, randomx/dragonx, dragonx, etc. remain
accepted aliases so existing configs keep working.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 16:53:16 -05:00
DanSandClaude Opus 4.8 bb1e32aeff Add POOL_INTEGRATION.md (pool migration spec); restore doc/build
- POOL_INTEGRATION.md: exact job/submit format, pool-side validation &
  scoring on the SHA256D pow-hash, and a zero-downtime dual-accept rollout
  plan (deploy dual-accept pool before announcing drg-xmrig).
- Restore doc/build/ docs removed during the initial copy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 16:51:40 -05:00
DanSandClaude Opus 4.8 84e7d1453c drg-xmrig: fork of xmrig-hac with unified pow-hash share model
Port miner113's RX_DRAGONX mining model into the RX_HUSH path so DragonX
mining is identical in solo and pool mode:

- CpuWorker: filter EVERY hash on SHA256D(header + RandomX solution) (the
  block-bearing pow-hash) instead of the RandomX hash; submit the full
  32-byte nonce + rx_hash. Removes the fragile pool-mode dual-check that
  was dropping ~half of block candidates.
- Job: 32-byte nonce for RX_HUSH in pool mode too (was solo-only).
- JobResult: populate nonceBytes() on the standard 4-byte path.
- Client: submit a variable-width nonce (32-byte for DragonX) with a
  dynamically laid-out temp buffer.

Effect: shares and blocks use one metric, so the pool receives every block
candidate (no under-submission gap) and the hashrate is block-relevant.

Rebrand to drg-xmrig (version.h, build.sh, package.json, README) + add
PROTOCOL.md wire spec.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 16:49:22 -05:00
DanS f9d6bcad5e extranonce 2026-05-20 11:14:46 -05:00
DanS 24232d72c3 Add top-level build.sh release script 2026-03-10 20:26:13 -05:00
DanS 7d22bc2bb5 Add dual SHA256D block check for pool mining mode
Pool sends block_target (full 256-bit network target) with each job.
Miner checks SHA256D(header + RandomX solution) for every hash against
the block target, enabling block detection at full hashrate instead of
only on submitted shares.
2026-03-09 23:52:34 -05:00
DanS 95d3ff2c4a Fixing miner issues
- Switch from full-block to header-only (140-byte) RandomX input
- Add 32-byte SoloNonce system for solo mining mode
- Compute proper difficulty target from compact bits field
- Add SHA256D dual-hash PoW check in CpuWorker for solo mining
- Raise RandomX dataset/scratchpad limits to 4GB/4MB
- Use standard RandomX share filtering in pool (stratum) mode
2026-03-05 06:00:55 -06:00
DanS a27a1e327b cleanup 2026-02-28 00:33:09 -06:00
DanS c94352d305 Prepare XMRig-HAC fork for public release
- Add DragonX coin and rx/hush algorithm support
- Update branding to XMRig-HAC / dragonx.is
- Update repository URLs to git.hush.is
- Replace example wallet addresses with placeholders
- Update .gitignore for build directories
- Document fork changes in README and CHANGELOG
2026-02-26 23:48:10 -06:00
DanS fc8286800d HAC changes 2026-01-27 16:45:21 -06:00