Commit Graph

273 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
5ced0ba9a3 Show IP address for failed connections 2023-01-11 09:28:16 +01:00
SChernykh
39cd1a11ff Update m_size only if blob was set successfully 2022-09-19 10:42:08 +02:00
SChernykh
58bddae901 Don't reset when pool sends the same job blob 2022-09-19 10:35:36 +02: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
2e9e071f81 #2910 Fixed donation for GhostRider/RTM. 2022-01-31 14:29:41 +07:00
SChernykh
3cdfe6b30e Fixed unaligned memory accesses 2022-01-26 17:18:18 +01:00
xmrig
2b06a65fae Merge pull request #2856 from SChernykh/dev
Fix for short responses from some Raptoreum pools
2022-01-05 10:22:39 +07:00
SChernykh
2251a157e3 Fix for short responses from some Raptoreum pools 2022-01-04 23:54:59 +01:00
Tony Butler
45b1e35957 Add support for client.reconnect method 2021-12-30 06:26:52 -07:00
XMRig
4516fe2949 #2771 Fixed environment variables support in EthStratumClient. 2021-12-02 19:36:51 +07:00
SChernykh
b5f4e2858d GhostRider benchmark: added 20 more possible rounds 2021-12-01 20:26:41 +01:00
xmrig
ef3144748e Merge pull request #2738 from SChernykh/dev
More GhostRider fixes
2021-11-28 18:19:08 +07:00
SChernykh
1c2efb38e7 More GhostRider fixes
- Fixed "difficulty is not a number" when diff is high on some pools
- Fixed GhostRider compilation when WITH_KAWPOW=OFF
2021-11-28 12:11:08 +01:00
Tony Butler
12a79ca6b7 Slash and burn EOL whitespace everywhere 2021-11-27 17:59:40 -07:00
XMRig
c48b212802 Add GhostRider support for AutoClient. 2021-11-25 17:44:36 +07:00
SChernykh
fa83608b48 Benchmark support for GhostRider (offline only)
Command line:
```
./xmrig --bench=250K -a gr --rotation 15
```
Where `rotation` is an integer between 0 and 19 (inclusive).
2021-11-24 15:54:09 +01:00
SChernykh
0e2532f950 Fixed broken difficulty adjustment on some Raptoreum pools 2021-11-23 18:02:58 +01:00
SChernykh
fa9b5c7b6e GhostRider algorithm (Raptoreum) support 2021-11-23 08:14:01 +01:00
Tony Butler
cd7d380b3f Fix various memory leaks 2021-10-25 04:06:49 -06:00
David Main
ead5c8f091 fix: expand validation of tx_extra for merge mining tag 2021-10-12 11:17:37 +02: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
fc6d1e8d02 Fix Job::getNumTransactions. 2021-08-12 22:30:47 +07:00
XMRig
2d318425cf Removed shortName. 2021-08-11 22:26:34 +07:00
XMRig
ae2ec1ca73 #2527 Fix narrowing conversion. 2021-08-10 01:40:36 +07:00
SChernykh
3fe3453ada Show the number of transactions in pool job
Useful to check if pool/proxy is working properly and can also be used to compare different pools.
2021-08-07 19:38:31 +02: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
XMRig
018783feb0 v6.13.0-dev 2021-06-28 19:02:48 +07:00
xmrig
cdca9dd6f2 Merge pull request #2445 from SChernykh/miner_signature
Support for solo mining with miner signatures (Wownero)
2021-06-28 18:11:13 +07: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
XMRig
343ab35a8c Add token support for online benchmark. 2021-06-20 09:28:39 +07:00
SChernykh
da8a9185c8 Fixed GCC warnings 2021-06-19 14:54:03 +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