Commit Graph

53 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
XMRig
22f68bda8d Code cleanup based on Clang-Tidy. 2021-08-25 18:45:15 +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
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
fe33184a7d #2104 Added user configurable idle time. 2021-02-19 23:35:30 +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
6b9967f311 Update log. 2020-12-01 23:28:07 +07:00
XMRig
9415fb14fd Added BenchConfig class. 2020-10-22 17:33:41 +07:00
XMRig
ebaf8ccec4 Added CMake option WITH_BENCHMARK. 2020-10-16 02:18:07 +07:00
SChernykh
a046437d5f Added benchmark and stress test
Easy to use and zero configuration embedded benchmark/stress test.
2020-10-14 19:45:05 +02:00
XMRig
e254283089 Fix compile warnings. 2020-08-24 10:04:46 +07:00
XMRig
9829da5d4e Added command line option --pause-on-battery and renamed config option. 2020-07-23 15:45:01 +07:00
SChernykh
8c8a46acb8 Added mining on battery setting 2020-07-22 20:21:42 +02:00
XMRig
5cf7fb0e4c #1708 Added "title" option. 2020-06-06 00:24:58 +07:00
XMRig
306dfe8d6a Use long tags. 2020-05-28 20:32:41 +07:00
XMRig
04f9d7728f Fix MSVC build. 2020-05-05 02:06:49 +07:00
XMRig
317dc19ce8 Code cleanup. 2020-05-05 01:55:00 +07:00
XMRig
2771cf3582 Add 3rdparty prefix to all rapidjson includes. 2020-04-29 14:55:04 +07:00
XMRig
74936b1bfc #1654 Fixed build with LibreSSL. 2020-04-22 14:49:15 +07:00
XMRig
e1160b6db2 Added TLS support for API and many other TLS related changes. 2020-03-18 20:09:11 +07:00
XMRig
ed44b0c009 Move files. 2020-03-09 01:22:34 +07:00
XMRig
e85014deba Added "-x" and "--proxy" command line options. 2020-02-18 21:42:01 +07:00
XMRig
4f4d08f518 Code cleanup. 2020-01-07 10:13:01 +07:00
XMRig
c2267d3343 Less error prone log interface. 2019-12-18 02:20:31 +07:00
XMRig
914be17d5f Added command line option --verbose. 2019-12-17 22:03:50 +07:00
XMRig
59a3d8c530 Added "verbose" option. 2019-12-17 21:46:11 +07:00
XMRig
61cc3f6fc6 Code cleanup. 2019-11-29 10:17:05 +07:00
XMRig
33c1bcd30e Prepare for self select. 2019-10-11 14:55:12 +07:00
XMRig
8594622dd0 Improved CPU profile generation. 2019-10-09 12:58:11 +07:00
XMRig
9694164318 Merge branch 'dev' into evo 2019-09-27 05:54:33 +07:00
XMRig
335092f70f Added coin option. 2019-09-27 05:41:45 +07:00
XMRig
0534f361b8 Removed option --http-enabled. 2019-09-23 04:53:33 +07:00
XMRig
477de6a212 Improved/restructured --help output. 2019-09-23 03:47:40 +07:00
XMRig
8274dc3ef8 Fixed command line options for single pool, free order allowed again. 2019-08-31 06:18:32 +07:00
XMRig
b4ea93d82d Added version field to config file. 2019-08-17 04:27:37 +07:00
XMRig
b85505dd30 Better method to get hwloc version. 2019-07-23 14:19:41 +07:00
XMRig
1e1876ed54 HWLOC_VERSION not always defined. 2019-07-23 08:06:04 +07:00
XMRig
fb8ac767b1 Added hwloc version display. 2019-07-23 07:45:00 +07:00
XMRig
fa4d98483a Removed --variant option, use --algo instead. 2019-07-20 05:24:21 +07:00
XMRig
5471c5b18d Fixed command line config and removed --max-cpu-usage and --safe. 2019-07-20 00:37:15 +07:00
XMRig
e31433928f Removed xmrig.h. 2019-07-13 19:10:17 +07:00
XMRig
6838673ddb Added initial support for per pool algo option (mining code is broken). 2019-06-10 20:46:29 +07:00
XMRig
c3d52238c2 #1014 Fixed regression, default value for algo option was not applied. 2019-04-18 15:23:36 +07:00
XMRig
941e2e8d18 Move files. 2019-04-13 23:58:58 +07:00
XMRig
68846d0777 Added command line option --daemon and --daemon-poll-interval 2019-04-12 18:30:08 +07:00
XMRig
c450086444 Fix --userpass option. 2019-04-08 02:16:54 +07:00
XMRig
2f654e991e Fix build on FreeBSD. 2019-04-06 21:10:26 +07:00