1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-06-29 14:02:39 -04:00
Commit Graph

135 Commits

Author SHA1 Message Date
SChernykh e2c58126e9 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 22d6a7525e Removed deprecated AstroBWTv1 and v2 2022-06-12 11:47:36 +02:00
SChernykh 0e57053c5a Fixed --cpu-priority not working sometimes 2022-04-19 19:57:12 +02:00
SChernykh a3cb74f29b Removed old AstroBWT algorithm
It's not used anywhere now.
2022-04-15 10:59:31 +02:00
SChernykh a1d7ee4c6b 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
Tony Butler 80e597d951 Fix #2583 compiling without kawpow (string ref is nonexistent then) 2021-10-11 03:31:28 -06:00
XMRig 7f4d667351 Remove unnecessary string. 2021-09-20 20:53:36 +07:00
Tony Butler 8027716264 Fix --threads generates "*" profile without "kawpow":false to negate it. 2021-09-20 06:49:17 -06:00
XMRig c7ac314110 Code cleanup based on Clang-Tidy. 2021-08-25 18:45:15 +07:00
XMRig d24581c963 #2492 Add missing --huge-pages-jit command line option. 2021-07-24 12:27:48 +07:00
SChernykh 0842e6b9d2 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 a136790bee Added support for solo mining with miner signatures (Wownero) 2021-06-16 18:07:36 +02:00
XMRig 87a0864e3b ...and --cpu-affinity. 2021-05-08 04:36:09 +07:00
XMRig ecf5579f36 #2351 Fixed help output for --cpu-priority option. 2021-05-08 04:34:22 +07:00
XMRig 695fbc013b #2280 Disable GPU backends in benchmark mode. 2021-04-25 15:28:45 +07:00
XMRig 748be760e8 Added support for --user command line option for the benchmark. 2021-04-14 23:43:31 +07:00
XMRig 0d45600b0e Added command line options --dns-ipv6 and --dns-ttl. 2021-03-20 11:12:09 +07:00
XMRig 2c8f7f692c Added DNS config. 2021-03-20 00:09:59 +07:00
XMRig 548a7d46e1 Add note about CPU affinity. 2021-03-04 16:19:06 +07:00
XMRig ee341118ce #2104 Added user configurable idle time. 2021-02-19 23:35:30 +07:00
XMRig 5980675876 Code and copyright cleanup. 2021-02-18 12:56:39 +07:00
Hansie Odendaal 3b87cd97ce 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 82830e359a 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 b1e14dc1d3 Always disable kawpow for CPU backend. 2021-02-07 18:49:54 +07:00
XMRig f460d76f8d Add missing option to config example. 2021-02-06 16:17:53 +07:00
XMRig 4c3425a958 Added "--hugepage-size" command line option. 2021-02-01 05:06:24 +07:00
SChernykh 22a1b8d82d Fix compilation error when RandomX and Argon2 are disabled 2021-01-28 14:38:28 +01:00
XMRig 8eb9b4d37a Update default config example. 2021-01-26 15:15:08 +07:00
XMRig 9a02007900 Added config option "dmi" and command line option "--no-dmi". 2021-01-20 16:02:48 +07:00
SChernykh 633aaccd9c 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 e4283d5f53 Add support for benchmark in generated config. 2020-11-13 01:49:16 +07:00
XMRig f08887180d Added --token command line option. 2020-11-10 21:29:13 +07:00
XMRig 99e9073993 Fixed build without HTTP. 2020-11-03 00:21:22 +07:00
XMRig 5f314edb2f Print benchmark url 2020-10-30 23:24:01 +07:00
XMRig 027a6f8ae2 Added BenchConfig class. 2020-10-22 17:33:41 +07:00
XMRig 36b1523194 Code cleanup. 2020-10-16 19:35:36 +07:00
XMRig a152d6be42 Added CMake option WITH_BENCHMARK. 2020-10-16 02:18:07 +07:00
SChernykh 722e468bd9 Benchmark: added more check hashes and a progress indicator 2020-10-15 08:23:47 +02:00
SChernykh 2ecece7b3d Added benchmark and stress test
Easy to use and zero configuration embedded benchmark/stress test.
2020-10-14 19:45:05 +02:00
SChernykh 44dcded866 RandomX: added huge-pages-jit config parameter
Set to false by default, gives 0.2% boost on Ryzen 7 3700X with 16 threads, but hashrate might be unstable on Ryzen between launches. Use with caution.
2020-10-07 17:42:55 +02:00
SChernykh a84b45b1bb RandomX: added parameter for scratchpad prefetch mode
`scratchpad_prefetch_mode` can have 4 values:
0: off
1: use `prefetcht0` instruction (default, same as previous XMRig versions)
2: use `prefetchnta` instruction (faster on Coffee Lake and a few other CPUs)
3: use `mov` instruction
2020-09-04 16:16:07 +02:00
XMRig 32e9b7e34a Added command line option --pause-on-battery and renamed config option. 2020-07-23 15:45:01 +07:00
xmrig e59806d6ae Merge pull request #1786 from SChernykh/dev
Added mining on battery setting
2020-07-23 09:20:06 +07:00
SChernykh 299b180b28 Added mining on battery setting 2020-07-22 20:21:42 +02:00
XMRig 109c088e8a Cleanup usage output. 2020-07-22 19:58:08 +07:00
XMRig 70c7f33a20 Added command line options --cache-qos (--randomx-cache-qos) and --argon2-impl (--cpu-argon2-impl). 2020-07-20 09:17:59 +07:00
XMRig ea72052f50 #1708 Added "title" option. 2020-06-06 00:24:58 +07:00
SChernykh 22b937cc1c KawPow WIP 2020-05-27 16:19:57 +02:00
XMRig 8aeba61706 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
XMRig 01236bc40b Added missing newline in --help output. 2020-03-25 04:03:18 +07:00