Commit Graph

21 Commits

Author SHA1 Message Date
moneromooo-monero
9db29637b6 DaemonClient: new X-Hash-Difficulty HTTP header optimization
If the caller knows the difficulty of a PoW hash a given nonce
yields, it can tell the callee via the X-Hash-Difficulty, which
may allow the callee to skip some processing if the difficulty
does not meet some criterion.

In my case, a merge mining proxy can know it's pointless trying
to submit the nonce to a chain with higher difficulty when the
nonce only meets the difficulty for a lower difficulty chain.
2023-03-25 09:48:54 +00:00
SChernykh
8420bd3920 Solo mining: added job timeout (default is 15 seconds)
It's important to update jobs frequently to get new transactions into the block template. See https://rucknium.me/posts/monero-pool-transaction-delay/ for more details.
2023-01-28 19:42:02 +01:00
SChernykh
637c7c9209 Removed deprecated AstroBWTv1 and v2 2022-06-12 11:47:36 +02:00
SChernykh
135cbaceba Show block/miniblock counters more often 2022-03-05 10:00:39 +01:00
SChernykh
a260502f78 Dero HE fork support (astrobwt/v2 algorithm) 2022-03-05 00:31:18 +01:00
XMRig
e454a27c6b Add global wallet address parser for DaemonClient. 2021-08-18 13:36:50 +07:00
SChernykh
f2cb28de33 ZeroMQ support for solo mining
Gets new blocks from daemon immediately without polling, saving ~0.5 seconds on average when daemon gets new block from the network. Also saves some CPU cycles because it doesn't need to poll daemon every second.

Testing: add "daemon-zmq-port": 28083 to xmrig's pool config in config.json and run ./monerod --testnet --zmq-pub tcp://127.0.0.1:28083
2021-07-15 11:13:14 +02:00
SChernykh
0348f4fd49 Updates from xmrig-proxy 2021-07-05 13:56:37 +02:00
SChernykh
abba1abc10 Added support for solo mining with miner signatures (Wownero) 2021-06-16 18:07:36 +02:00
SChernykh
34c2c161b5 Fixed many "new job" messages when solo mining
Fix for https://github.com/xmrig/xmrig/issues/2127
2021-03-01 17:46:05 +01:00
XMRig
da62a0e65c Implemented static benchmark verification (--bench --seed --hash) 2020-10-24 13:53:49 +07:00
XMRig
f016668fc2 HTTP subsystem refactoring. 2020-03-06 12:38:09 +07:00
SChernykh
1ccf408ba7 AstroBWT algorithm (DERO) support
To test:

- Download https://github.com/deroproject/derosuite/releases/tag/AstroBWT
- Run daemon with `--testnet` in command line

In config.json:
- "coin":"dero"
- "url":"127.0.0.1:30306"
- "daemon:"true"
2020-02-29 22:41:24 +01:00
XMRig
1ed7695d0a HTTP subsystem refactoring, fixed possible crashes shortly after destroying daemon or self-select client. 2020-02-23 01:40:19 +07:00
XMRig
7778b0441e Use "extra_nonce" for daemon client. 2020-02-21 01:31:22 +07:00
XMRig
f382cee3f9 Added send with callback. 2019-10-16 19:34:33 +07:00
XMRig
ae557af840 Self-select initial working implementation. 2019-10-12 19:48:18 +07:00
XMRig
ceaccf2b8a Added SelfSelectClient stub. 2019-10-12 00:24:47 +07:00
XMRig
7d4314d85e Added checking for top_block_hash/hash. 2019-04-14 03:21:23 +07:00
XMRig
c9d3ae9970 Fixed daemon support over HTTPS. 2019-04-12 04:25:47 +07:00
XMRig
67ce7039fd Added DaemonClient. 2019-04-12 03:25:21 +07:00