Commit Graph

58 Commits

Author SHA1 Message Date
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
d05587cb84 Fixed GCC 12 warnings 2022-07-03 11:51:46 +02:00
SChernykh
bcd943b907 Better fix for daemon solo mining with ZMQ 2022-06-12 22:32:50 +02:00
SChernykh
19db57b07e Improved daemon ZMQ mining stability 2022-06-12 14:41:47 +02:00
SChernykh
ac015a3632 Fixed ZMQ debug log 2022-06-12 12:33:09 +02:00
SChernykh
637c7c9209 Removed deprecated AstroBWTv1 and v2 2022-06-12 11:47:36 +02:00
SChernykh
0d0ff4fe71 Removed old AstroBWT algorithm
It's not used anywhere now.
2022-04-15 10:59:31 +02:00
SChernykh
135cbaceba Show block/miniblock counters more often 2022-03-05 10:00:39 +01:00
SChernykh
8039c15e1f DaemonClient: fixed broken coin setting 2022-03-05 09:56:30 +01:00
SChernykh
a260502f78 Dero HE fork support (astrobwt/v2 algorithm) 2022-03-05 00:31:18 +01:00
XMRig
22f68bda8d Code cleanup based on Clang-Tidy. 2021-08-25 18:45:15 +07:00
XMRig
5931ab227a Update BlockTemplate class. 2021-08-23 18:32:58 +07:00
XMRig
e454a27c6b Add global wallet address parser for DaemonClient. 2021-08-18 13:36:50 +07:00
XMRig
1a0798622c Update Coin, BlobReader and WalletAddress. 2021-08-17 08:17:21 +07:00
SChernykh
4fe09b5e17 Fixed Termux build 2021-08-13 12:02:03 +02:00
XMRig
ae2ec1ca73 #2527 Fix narrowing conversion. 2021-08-10 01:40:36 +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
82b437a25c Correct handling of block submit responses for Dero 2021-06-24 18:06:07 +02:00
SChernykh
7ef8a295e5 Update signing algorithm 2021-06-21 23:49:13 +02:00
SChernykh
7170df5d1e Proxy miner signature support 2021-06-17 22:48:08 +02:00
SChernykh
479a40c176 Proxy miner signature support (WIP) 2021-06-17 16:58:18 +02:00
SChernykh
f94bf75c7b More sanity checks 2021-06-17 13:18:34 +02:00
SChernykh
dbd36095d4 More error handling in DaemonClient::parseJob 2021-06-17 10:39:22 +02:00
SChernykh
abba1abc10 Added support for solo mining with miner signatures (Wownero) 2021-06-16 18:07:36 +02:00
SChernykh
1c826fb64d Fixed broken "coin" setting functionality 2021-04-06 23:02:10 +02:00
esrrhs
e7bdc94fb0 setBlob should run after setAlgorithm 2021-03-29 12:11:03 +08:00
XMRig
4d9a8773de http-parser replaced to llhttp. 2021-03-06 01:46:49 +07: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
SChernykh
bf32afbb05 Fixed solo mining
It was broken since 6.7.0
2021-01-15 11:18:36 +01:00
XMRig
1084cd9481 Update HTTP 2020-12-03 10:48:57 +07:00
XMRig
c8ebffd012 Added Cvt class. 2020-12-02 16:31:45 +07:00
XMRig
da62a0e65c Implemented static benchmark verification (--bench --seed --hash) 2020-10-24 13:53:49 +07:00
XMRig
2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
XMRig
a1bd9ccd93 Update base. 2020-04-29 14:17:33 +07:00
XMRig
13c1a31976 #1581 Fixed macOS build. 2020-03-06 12:51:16 +07:00
XMRig
f016668fc2 HTTP subsystem refactoring. 2020-03-06 12:38:09 +07:00
XMRig
7748c44fe0 Formatting. 2020-03-04 00:06:20 +07:00
SChernykh
c76bd4fc63 Fixed new block detection for Dero solo mining 2020-03-03 17:53:19 +01:00
XMRig
6cfa7041f7 Sync changes with proxy. 2020-03-01 14:04:58 +07:00
XMRig
23e0f1936d Move "Content-Type" header setting. 2020-03-01 12:57:19 +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
f0b441040a Added ENV support for "user", "pass" and "rig-id" fields. 2019-12-22 19:09:30 +07:00
XMRig
6992e083dc Sync changes with proxy. 2019-11-01 21:51:03 +07:00
XMRig
2872c4737a Display backend for shares. 2019-10-29 15:43:13 +07:00
XMRig
ff98a1c305 Fixed coin option in daemon mode. 2019-09-27 23:39:57 +07:00
XMRig
95a5b23f53 Refactoring 2019-07-13 00:49:17 +07:00
XMRig
f8cbb0061e Sync changes with proxy. 2019-06-25 10:35:10 +07:00