Commit Graph

293 Commits

Author SHA1 Message Date
XMRig
cfbd8d26a0 Cleanup. 2024-01-17 00:31:16 +07: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
58bddae901 Don't reset when pool sends the same job blob 2022-09-19 10:35:36 +02:00
SChernykh
637c7c9209 Removed deprecated AstroBWTv1 and v2 2022-06-12 11:47:36 +02:00
SChernykh
caf39a38fd Fixed being unable to resume from pause-on-battery
Fixes #3041
2022-05-05 21:13:02 +02:00
SChernykh
4b180c7667 Fixed --cpu-priority not working sometimes 2022-04-19 19:57:12 +02:00
SChernykh
0d0ff4fe71 Removed old AstroBWT algorithm
It's not used anywhere now.
2022-04-15 10:59:31 +02:00
SChernykh
1105f1130c RandomX: don't restart mining threads when the seed changes
It helps to not loose huge pages when the seed changes (every 2048 blocks, ~2.8 days).
2021-12-25 13:39:15 +01:00
SChernykh
29399cb7b7 GhostRider hotfixes
- Added average hashrate display
- Fixed the number of threads shown at startup
- Fixed `--threads` or `-t` command line option (but `--cpu-max-threads-hint` is recommended to use)
2021-11-27 12:27:26 +01:00
Tony Butler
eb0fbdfcb6 Only initGhostRider() when job is in the family 2021-11-24 13:04:03 -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
fa9b5c7b6e GhostRider algorithm (Raptoreum) support 2021-11-23 08:14:01 +01:00
Tony Butler
8a68a21d3c Fix #2583 compiling without kawpow (string ref is nonexistent then) 2021-10-11 03:31:28 -06:00
SChernykh
acf60142a7 Added Windows taskbar icon colors
- Red when there's no connection to any pool
- Yellow when mining is paused
- No color during normal mining
2021-09-20 18:03:22 +02:00
XMRig
cb1dc118a1 Remove unnecessary string. 2021-09-20 20:53:36 +07:00
Tony Butler
df2d403218 Fix --threads generates "*" profile without "kawpow":false to negate it. 2021-09-20 06:49:17 -06:00
XMRig
22f68bda8d Code cleanup based on Clang-Tidy. 2021-08-25 18:45:15 +07:00
XMRig
2d318425cf Removed shortName. 2021-08-11 22:26:34 +07:00
XMRig
48a43b9274 Implemented stable algorithm ids. 2021-08-11 03:46:34 +07:00
XMRig
a6dc1bf5e8 #2492 Add missing --huge-pages-jit command line option. 2021-07-24 12:27:48 +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
abba1abc10 Added support for solo mining with miner signatures (Wownero) 2021-06-16 18:07:36 +02:00
XMRig
cfe96b40fe ...and --cpu-affinity. 2021-05-08 04:36:09 +07:00
XMRig
3255995d05 #2351 Fixed help output for --cpu-priority option. 2021-05-08 04:34:22 +07:00
XMRig
032c7fa5f4 #2280 Disable GPU backends in benchmark mode. 2021-04-25 15:28:45 +07:00
XMRig
5607caa3e1 Added support for --user command line option for the benchmark. 2021-04-14 23:43:31 +07:00
XMRig
aeeceb363e Added command line options --dns-ipv6 and --dns-ttl. 2021-03-20 11:12:09 +07:00
XMRig
dbdddc5aa0 Added DNS config. 2021-03-20 00:09:59 +07:00
XMRig
e889e5e268 Add note about CPU affinity. 2021-03-04 16:19:06 +07:00
SChernykh
ca2ca9a2dd Fixed pause logic when both pause on battery and user activity are enabled 2021-02-21 16:33:57 +01:00
XMRig
fe33184a7d #2104 Added user configurable idle time. 2021-02-19 23:35:30 +07:00
XMRig
6b8ad2c1bb Simplified code, fixed broken pause. 2021-02-19 16:26:31 +07:00
XMRig
41a1c46bb2 Code and copyright cleanup. 2021-02-18 12:56:39 +07:00
Hansie Odendaal
1994096590 Allow result submission to origin daemon with self-select
With `self-select` mode enabled, the `submit-to-origin` config option
will let the `SelfSelectClient` submit the solution to both
the daemon where it got the template from as well as to
the connected pool, for miners that want to do pool minining
with Monero and solo mining with an altcoin (merged mining variant).

Thank you and special credit to @StriderDM (https://github.com/StriderDM)!
2021-02-17 18:05:13 +02:00
SChernykh
fdd7a1969a Added pause-on-active option
Windows only for now. When set to true, pauses mining when user touches mouse or keyboard.
2021-02-14 15:32:18 +01:00
XMRig
7a0f3dc5c4 Always disable kawpow for CPU backend. 2021-02-07 18:49:54 +07:00
XMRig
6ac1789948 Add missing option to config example. 2021-02-06 16:17:53 +07:00
XMRig
65fd8217f0 Added "--hugepage-size" command line option. 2021-02-01 05:06:24 +07:00
XMRig
c92f9df8ab Added support for flexible huge page sizes on Linux. 2021-01-31 23:38:57 +07:00
SChernykh
3e3e008761 Fix compilation error when RandomX and Argon2 are disabled 2021-01-28 14:38:28 +01:00
XMRig
609e130ef5 Update default config example. 2021-01-26 15:15:08 +07:00
XMRig
dadf4290dd Added "GET /2/dmi" API endpoint. 2021-01-20 22:54:02 +07:00
XMRig
f3d2360640 Added config option "dmi" and command line option "--no-dmi". 2021-01-20 16:02:48 +07:00
SChernykh
fac3902ae1 RandomX x86 JIT: remove redundant CFROUND 2021-01-07 16:20:00 +01:00
SChernykh
0319b5b622 Added config option for AVX2 dataset init
-1 = Auto detect
0 = Always disabled
1 = Enabled if AVX2 is supported
2020-12-19 16:18:49 +01:00
XMRig
03c10c8592 Restore Hashrate class interface. 2020-12-05 11:09:25 +07:00
XMRig
4569eea6f6 Move Profiler and more cleanup. 2020-12-04 09:23:40 +07:00
XMRig
f8e4fe30e0 Update base 2020-11-29 18:45:52 +07:00
XMRig
41eec70b3f Add support for benchmark in generated config. 2020-11-13 01:49:16 +07:00
XMRig
39f38d5c69 Added --token command line option. 2020-11-10 21:29:13 +07:00