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>
24 lines
537 B
JSON
24 lines
537 B
JSON
{
|
|
"name": "drg-xmrig",
|
|
"version": "6.25.1",
|
|
"description": "DragonX RandomX (rx/dragonx) CPU miner",
|
|
"main": "index.js",
|
|
"directories": {
|
|
"doc": "doc"
|
|
},
|
|
"scripts": {
|
|
"build": "node scripts/generate_cl.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.dragonx.is/DragonX/drg-xmrig.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "GPLv3",
|
|
"bugs": {
|
|
"url": "https://git.dragonx.is/DragonX/drg-xmrig/issues"
|
|
},
|
|
"homepage": "https://git.dragonx.is/DragonX/drg-xmrig#readme"
|
|
}
|