XMRig
b3dbf6e23f
http-parser replaced to llhttp.
2021-03-06 01:46:49 +07:00
SChernykh
91ad6fcf3d
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
XMRig
0b7dfaabe0
Code cleanup.
2021-03-01 19:04:03 +07:00
XMRig
6f8ffb7660
Fixed possible out of order write to log file.
2021-03-01 18:54:20 +07:00
Ian Maddox
37df513b32
Minor verbiage tweak
...
Fixing mixed phrasing in error message
2021-02-23 11:34:10 -08:00
XMRig
b49fb27e84
Added idle time detection for macOS.
2021-02-20 13:18:31 +07:00
XMRig
ee341118ce
#2104 Added user configurable idle time.
2021-02-19 23:35:30 +07:00
XMRig
0fe20fe88c
Merge remote-tracking branch 'remotes/origin/pr2112' into dev
2021-02-18 15:35:59 +07:00
XMRig
d1d1517b4f
Fixed macOS build.
2021-02-18 15:22:39 +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
4c3425a958
Added "--hugepage-size" command line option.
2021-02-01 05:06:24 +07:00
XMRig
ef8cc28f3f
Added DMI data to online benchmark.
2021-01-21 23:22:01 +07:00
XMRig
8471f7fad3
Added "GET /2/dmi" API endpoint.
2021-01-20 22:54:02 +07:00
XMRig
9a02007900
Added config option "dmi" and command line option "--no-dmi".
2021-01-20 16:02:48 +07:00
XMRig
45d12314f4
Sync changes.
2021-01-15 19:18:52 +07:00
SChernykh
7da04c6a2c
Always use cvt_bin2hex
2021-01-15 12:46:27 +01:00
SChernykh
5c449913af
Fixed solo mining
...
It was broken since 6.7.0
2021-01-15 11:18:36 +01:00
XMRig
a7f9808621
Fixed HOSTNAME environment variable.
2021-01-11 11:42:32 +07:00
SChernykh
66349e3d23
Show hashrate in the benchmark finished message
2020-12-23 14:31:38 +01:00
XMRig
85a78ce537
#1995 Fixed log initialization.
2020-12-22 21:41:39 +07:00
SChernykh
cde7cddcaa
Fixed broken Dero solo mining
2020-12-20 22:17:08 +01:00
XMRig
633a92bff0
Merge branch 'gcc11' of https://github.com/voidanix/xmrig into dev
2020-12-15 17:32:24 +07:00
voidanix
e4c2ccba9d
Fix build on GCC 11
2020-12-15 09:39:26 +01:00
XMRig
643142dc30
Update user agent for macOS and fix compile warnings
2020-12-13 13:57:12 +07:00
XMRig
a36fb7e728
More correct CPU affinity support for macOS.
2020-12-13 01:20:31 +07:00
SChernykh
0da3390d09
More static analysis fixes
2020-12-08 16:05:58 +01:00
SChernykh
cafd868773
Fixed errors found by static analysis
2020-12-08 12:16:59 +01:00
XMRig
ab45794b7c
Removed libcpuid support.
2020-12-06 21:51:24 +07:00
XMRig
c8ee6f7db8
Move Profiler and more cleanup.
2020-12-04 09:23:40 +07:00
XMRig
662a957106
Fixed Linux build.
2020-12-03 19:55:49 +07:00
XMRig
3055e03b7e
Cleanup
2020-12-03 19:45:16 +07:00
XMRig
11da7a3155
Update Json.
2020-12-03 15:39:33 +07:00
XMRig
0a27c6d6af
Update Signals and Console.
2020-12-03 12:06:18 +07:00
XMRig
86795aa5b7
Update HTTP
2020-12-03 10:48:57 +07:00
XMRig
63bd45c397
Added Cvt class.
2020-12-02 16:31:45 +07:00
XMRig
469b1f08de
Update net
2020-12-02 11:32:11 +07:00
XMRig
121c515a07
Update log.
2020-12-01 23:28:07 +07:00
XMRig
096b09bf4d
Update base
2020-11-29 18:45:52 +07:00
XMRig
8686e08336
Fixed, benchmark validation on NUMA hardware produced incorrect results in some conditions.
2020-11-25 09:35:11 +07:00
XMRig
09b68f3cdb
Added BenchStatePrivate class.
2020-11-24 17:59:40 +07:00
XMRig
75f18c9b31
Use static RandomX seed for benchmark.
2020-11-20 08:15:04 +07:00
XMRig
302fe70f6b
Fixed online validate with token.
2020-11-18 07:28:46 +07:00
XMRig
a2a0defeef
Submit top benchmark diff.
2020-11-17 07:33:20 +07:00
XMRig
e2ea11ffeb
Remove benchmark size from Job class.
2020-11-17 05:28:42 +07:00
XMRig
d8f9501ac8
Added DNS cache for online benchmark.
2020-11-17 04:59:26 +07:00
XMRig
12a1365b5d
Fixed --token option.
2020-11-16 18:53:24 +07:00
XMRig
c1d99bfa09
Benchmark refactoring, zero delay submit and unified HTTP layer.
2020-11-16 16:22:34 +07:00
XMRig
be8245fc92
Unlock benchmark size for debug builds.
2020-11-16 08:56:35 +07:00
XMRig
e4283d5f53
Add support for benchmark in generated config.
2020-11-13 01:49:16 +07:00
XMRig
e3727f01b8
Added 250K and 500K offline benchmarks.
2020-11-12 11:15:43 +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
eb95d0339e
Update Process class and use APP_ID instead of hardcoded config name for #1925
2020-11-02 13:56:21 +07:00
XMRig
e295a938f8
Merge branch 'patch-1' of https://github.com/nopeinomicon/xmrig into nopeinomicon-patch-1
2020-11-02 12:59:36 +07:00
Emily Roberts
bccffa63a4
Add checking for config files in user home directory
...
Check for configuration files in the home directory to make packaging XMRig for Linux easier.
2020-11-01 16:17:23 -07:00
XMRig
565d36d9e4
Fix build.
2020-10-30 23:42:09 +07:00
XMRig
03cd56ed73
Implemented PATCH requests.
2020-10-25 13:41:39 +07:00
XMRig
79c96418c7
Implemented BenchClient.
2020-10-24 19:43:23 +07:00
XMRig
36c1cb23e0
Implemented static benchmark verification (--bench --seed --hash)
2020-10-24 13:53:49 +07:00
XMRig
027a6f8ae2
Added BenchConfig class.
2020-10-22 17:33:41 +07:00
cohcho
da8b87b007
Async: remove unreachable code
2020-10-21 08:28:52 +00:00
XMRig
87b4d97798
New Async wrapper.
2020-10-21 08:09:44 +07:00
XMRig
328f985e07
Added Benchmark class.
2020-10-17 04:03:42 +07:00
XMRig
7fc7b976bf
Removed m_bench field from Job class.
2020-10-16 20:29:11 +07:00
XMRig
5155139e9a
Improve some benchmark log messages.
2020-10-16 04:11:50 +07:00
XMRig
a152d6be42
Added CMake option WITH_BENCHMARK.
2020-10-16 02:18:07 +07:00
xmrig
f3ea3c5227
Merge pull request #1897 from SChernykh/dev
...
Benchmark: added more check hashes and a progress indicator
2020-10-15 15:08:33 +07:00
SChernykh
722e468bd9
Benchmark: added more check hashes and a progress indicator
2020-10-15 08:23:47 +02:00
xmrig
9569772e7e
Merge pull request #1895 from SChernykh/dev
...
Added benchmark and stress test
2020-10-15 02:16:37 +07:00
SChernykh
144f9c4409
Fixed compile errors in Linux
2020-10-14 21:03:21 +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
xmrig
677d287135
Merge pull request #1893 from cohcho/fix_partial_read
...
LineReader: fix partial read
2020-10-14 14:47:51 +07:00
XMRig
62eb66486d
Added copyright.
2020-10-13 23:27:47 +07:00
cohcho
da03d74ade
LineReader: fix partial read
2020-10-13 16:11:39 +00:00
xmrig
9fcc542676
Merge pull request #1889 from cohcho/fix_uv_issue
...
uv: fix performance issue
2020-10-13 22:35:29 +07:00
SChernykh
4f7186cb0e
Added argon2/chukwav2 algorithm
...
New Turtlecoin algorithm. Source: https://github.com/turtlecoin/turtlecoin/blob/development/src/crypto/hash.h#L57
2020-10-12 08:26:57 +02:00
cohcho
65fa1d9bf3
uv: fix performance issue
...
unix implementation of uv_async_t has been wasting cpu cycles for nothing since 1.29.0 release
implement efficient callback scheduling for linux
2020-10-12 04:09:09 +00:00
SChernykh
ebf259fa7c
RandomX: removed rx/loki
...
Loki forks to PoS on October 9th.
2020-10-02 17:02:52 +02:00
cohcho
f7d6348948
String: distinguish nullptr/empty str
2020-09-26 16:41:15 +00:00
cohcho
189cc78d44
Miner: filter invalid algos
2020-09-25 17:52:13 +00:00
SChernykh
9768bf65d1
RandomX improved performance of GCC compiled binaries
...
JIT compilator was slower compared to MSVC compiled binary. Up to +0.1% speedup on rx/wow in Linux.
2020-09-22 13:48:11 +02:00
cohcho
30be1cd102
reserve at most 1 bit for wrapping detection
2020-09-13 18:42:16 +00:00
SChernykh
a05393727c
RandomX: added performance profiler (for developers)
...
Also optimized Blake2b SSE4.1 code size to avoid code cache pollution.
2020-09-12 23:07:52 +02:00
XMRig
f552577e71
Merge branch 'dev' of github.com:xmrig/xmrig into dev
2020-08-26 16:11:48 +07:00
XMRig
a06ec06e8b
Fix colors on macOS.
2020-08-26 16:11:29 +07:00
SChernykh
5611ae9a30
Fixed self-select login sequence
...
In self-select mode, we only have pool wallet right after login.
2020-08-25 16:17:48 +02:00
XMRig
72c8404d18
Fix compile warnings.
2020-08-24 10:04:46 +07:00
XMRig
f06e30e343
Merge branch 'battery-macos' of https://github.com/jtgrassie/xmrig into dev
2020-08-20 12:46:09 +07:00
Jethro Grassie
b78b0b5c6b
fix macos battery detection
2020-08-11 18:04:56 -04:00
XMRig
050568a4ab
Fixed rare protocol error in HTTP client.
2020-08-07 21:54:22 +07: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
1acd88ed39
Cleanup
2020-07-22 21:27:40 +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
ca535c7813
Sync changes with the proxy.
2020-07-16 23:29:21 +07:00
SChernykh
bd8cf54a0b
Cryptonight OpenCL: fix for long input data
2020-07-16 10:39:32 +02:00
Neil Coggins
a648a8b9be
Increased max blob size to support Haven offshore capability
2020-07-14 11:52:43 +01:00
XMRig
26c2200af3
#1756 Added results and connection reports.
2020-07-01 23:10:37 +07:00
SChernykh
28c81f2c53
Fixed NiceHash disconnects for KawPow
2020-06-12 14:08:00 +02:00
XMRig
b974f1dc73
Merge branch 'dev' into evo
2020-06-10 23:15:27 +07:00
XMRig
1b928e8bf1
#1728 Fixed x86 crash on Windows.
2020-06-10 23:09:11 +07:00
XMRig
0bfe501dac
Add "cn/conceal" alias for hashvault.pro pool.
2020-06-07 15:22:05 +07:00
SChernykh
7f00cb59d2
Conceal (CCX) support
2020-06-07 01:01:45 +02:00
XMRig
ea72052f50
#1708 Added "title" option.
2020-06-06 00:24:58 +07:00
XMRig
bbd3f05bf6
Implemented donate for KawPow.
2020-06-01 00:56:26 +07:00
XMRig
95ef32c913
Network code cleanup
2020-05-30 03:06:19 +07:00
XMRig
6370d71ebe
Network code cleanup (WIP).
2020-05-30 01:22:22 +07:00
SChernykh
77a7f144c0
KawPow: fixed switch back from dev donate
2020-05-29 10:49:22 +02:00
SChernykh
4edcaa03be
Update EthStratumClient.cpp
2020-05-29 08:39:03 +02:00
SChernykh
9864ba8696
Added listener verify callback
2020-05-29 08:36:59 +02:00
SChernykh
bdbb7f891f
Fixed stratum login notification
2020-05-29 08:31:53 +02:00
XMRig
7a3233ab4b
Use long tags.
2020-05-28 20:32:41 +07:00
SChernykh
22b937cc1c
KawPow WIP
2020-05-27 16:19:57 +02:00
XMRig
39ae24b138
Fix memory leak.
2020-05-05 16:05:50 +07:00
XMRig
dd7789763f
Fix MSVC build.
2020-05-05 02:06:49 +07:00
XMRig
c828e6b793
Code cleanup.
2020-05-05 01:55:00 +07:00
XMRig
a0eb766238
Merge branch 'base-update' into dev
2020-05-03 13:32:12 +07:00
XMRig
781f08a034
Remove code duplication.
2020-04-29 17:40:51 +07:00
XMRig
d33c91684d
Fixed MSYS build.
2020-04-29 16:29:30 +07:00
SChernykh
05d3f17f15
Improved JSON config error reporting
...
Show incorrect lines in config.json together with line number and position.
2020-04-29 11:08:45 +02:00
XMRig
8aeba61706
Add 3rdparty prefix to all rapidjson includes.
2020-04-29 14:55:04 +07:00
XMRig
46e49cde0b
Update base.
2020-04-29 14:17:33 +07:00
XMRig
0cc90b152d
Move CnAlgo
2020-04-23 12:34:26 +07:00
XMRig
11ac59331f
#1654 Fixed build with LibreSSL.
2020-04-22 14:49:15 +07:00
XMRig
ca7ff4e90b
Fixed memory leak in some conditions.
2020-04-22 10:16:54 +07:00
XMRig
0e7036cf24
Fixed bug in log.
2020-04-22 09:04:48 +07:00
XMRig
37f44b4da5
Fixed keepalive extension for initial login response.
2020-04-19 04:34:43 +07:00
XMRig
2d95a394a6
Code cleanup.
2020-04-12 19:50:11 +07:00
XMRig
9634907676
Fixed build with old Clang.
2020-04-12 19:41:25 +07:00
XMRig
f19b2f7248
Removed CnAlgo dependency from Algorithm class.
2020-04-03 00:25:41 +07:00
XMRig
914b7023a2
Code cleanup.
2020-04-02 21:19:39 +07:00
XMRig
50eb7ba2fd
#1601 Fixed compatibility with OpenSSL 1.0.x.
2020-03-22 05:58:59 +07:00
XMRig
1b875fdabb
Reduced memory consumption on network level.
2020-03-20 20:53:27 +07:00
XMRig
5b610e4dfe
Added TLS support for API and many other TLS related changes.
2020-03-18 20:09:11 +07:00
XMRig
92a258f142
Added command line option --astrobwt-avx2
2020-03-12 00:04:07 +07:00
XMRig
8698b73036
Added command line option --data-dir.
2020-03-10 15:57:47 +07:00
XMRig
16a83a9f61
Move files.
2020-03-09 01:22:34 +07:00
XMRig
f1e688724e
#1585 Fixed build without HTTP support.
2020-03-08 12:29:32 +07:00
XMRig
e8355e1a1c
Sync changes with proxy.
2020-03-08 02:43:16 +07:00
XMRig
6cb27e9662
Added command line option --astrobwt-max-size
2020-03-08 00:13:47 +07:00
XMRig
44f0daf384
Fixed Linux build.
2020-03-06 12:59:30 +07:00
XMRig
7bf12dc81f
#1581 Fixed macOS build.
2020-03-06 12:51:16 +07:00
XMRig
cad5fef1ea
HTTP subsystem refactoring.
2020-03-06 12:38:09 +07:00
XMRig
5486300db7
Code cleanup.
2020-03-04 21:00:49 +07:00
XMRig
5fa6a034d5
Formatting.
2020-03-04 00:06:20 +07:00
SChernykh
874cff3d51
Fixed new block detection for Dero solo mining
2020-03-03 17:53:19 +01:00
XMRig
8dc87576c5
Sync changes with proxy.
2020-03-01 14:04:58 +07:00
XMRig
f0db17be87
Move "Content-Type" header setting.
2020-03-01 12:57:19 +07:00
SChernykh
14ef99ca67
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
ead441f5db
Optimize file log.
2020-02-23 06:52:23 +07:00
XMRig
1ee27a564b
HTTP subsystem refactoring, fixed possible crashes shortly after destroying daemon or self-select client.
2020-02-23 01:40:19 +07:00
XMRig
fd0cbd448b
Use "extra_nonce" for daemon client.
2020-02-21 01:31:22 +07:00
XMRig
2bc5fb10a7
Added "-x" and "--proxy" command line options.
2020-02-18 21:42:01 +07:00
XMRig
8497e9c54f
Merge branch 'feature-socks5' into dev
2020-02-18 20:38:07 +07:00
XMRig
2e07e69697
Added IPv4 and IPv6 support for SOCKS5.
2020-02-18 19:24:49 +07:00
XMRig
2fea4e72b5
Implemented donate over SOCKS5.
2020-02-18 17:58:14 +07:00
SChernykh
fb0b638cbb
Fix crash when share is found before pool login
2020-02-17 20:22:09 +01:00
XMRig
1e2d011705
Initial SOCKS5 implementation.
2020-02-18 02:16:21 +07:00
XMRig
c307433900
Fixed nicehash nonce overflow for CPU backend.
2020-02-06 17:19:08 +07:00
XMRig
97e6a6669f
Merge branch 'network-stats' into dev
2020-02-05 18:44:43 +07:00
XMRig
030d6e5962
Update year.
2020-02-01 20:24:00 +07:00
SChernykh
269d12d1be
Fixed setThreadAffinity()
...
Added 1 ms sleep to guarantee thread rescheduling to the correct CPU core before returning.
2020-01-28 19:39:02 +01:00
XMRig
c5968e8896
New NetworkState.
2020-01-16 21:48:39 +07:00
XMRig
c6530e352f
Code cleanup.
2020-01-07 10:13:01 +07:00
XMRig
083c61754b
Fixed unwanted resume after dataset change.
2020-01-03 05:36:22 +07:00
XMRig
d64bbfa9c0
#1469 Fixed build with gcc 4.8.
2019-12-30 16:04:07 +07:00
XMRig
4a9a7434f6
Revert Platform::setProcessPriority
2019-12-27 03:19:03 +07:00
XMRig
2e4a83547d
Add console title for Windows.
2019-12-24 02:04:34 +07:00
XMRig
ea7aa4ccef
Fixed MSVC build.
2019-12-23 00:37:43 +07:00
XMRig
f9d07229b4
Add extra variables.
2019-12-23 00:28:57 +07:00
XMRig
5bd6a1c028
Added ENV support for "user", "pass" and "rig-id" fields.
2019-12-22 19:09:30 +07:00
XMRig
356e666e61
Added Env class.
2019-12-22 18:09:26 +07:00
XMRig
bdf12bca0f
Make Process::location static.
2019-12-22 13:26:06 +07:00
XMRig
c44ae06d54
Added --randomx-no-rdmsr command line option.
2019-12-21 23:57:25 +07:00
XMRig
98cfe7ed37
Added extra error message.
2019-12-20 23:44:32 +07:00
XMRig
5142a406b0
Less error prone log interface.
2019-12-18 02:20:31 +07:00
XMRig
3cc8b19ca0
Added command line option --verbose.
2019-12-17 22:03:50 +07:00
XMRig
f8865b1498
Added "verbose" option.
2019-12-17 21:46:11 +07:00
XMRig
a5089638ea
#1421 Added limit for maximum send buffer size.
2019-12-17 03:18:25 +07:00
XMRig
33e7a54c29
#1421 Use dynamic size send buffer.
2019-12-16 14:09:03 +07:00
xmrig
06c70a7cd9
Merge pull request #1418 from jtgrassie/buffer-size
...
increase stratum send buffer size
2019-12-15 15:38:27 +07:00
Jethro Grassie
348916040c
increase stratum send buffer size
2019-12-15 03:23:07 -05:00
XMRig
5d0fd2dc8e
Unified Linux/Windows MSR log messages.
2019-12-15 01:32:41 +07:00
XMRig
c62ac89081
Fixed potential division by 0.
2019-12-12 14:09:18 +07:00
XMRig
96cfdda9a1
Added RandomX option "wrmsr" with command line equivalent --randomx-wrmsr=N.
2019-12-10 23:57:29 +07:00
XMRig
6163d27f14
Added command line option --randomx-1gb-pages
2019-12-10 11:56:31 +07:00
XMRig
f1827e925e
Removed strdup from FileLog.
2019-12-06 11:56:13 +07:00
XMRig
b8762ed428
#1306 Added some network workarounds.
2019-12-06 10:56:43 +07:00
XMRig
a4d35065d9
Use normalize for load average values.
2019-12-04 10:25:26 +07:00
XMRig
901f1a7ab1
Option "yield" enabled by default and added command line option --cpu-no-yield.
2019-12-04 08:50:54 +07:00
XMRig
05421057ae
#1363 Fixed main thread priority.
2019-12-03 18:28:10 +07:00
XMRig
c529770d38
Use uv_get_free_memory.
2019-11-29 13:12:36 +07:00
XMRig
64fb4f265b
Added option "mode" (or --randomx-mode) for RandomX.
2019-11-29 13:00:17 +07:00
XMRig
ada99a6dd1
Added "resources" field to API.
2019-11-29 10:50:30 +07:00
XMRig
7d1be2d234
Code cleanup.
2019-11-29 10:17:05 +07:00
XMRig
2b87a10cf2
Fixed zero size buffers handling.
2019-11-28 07:28:28 +07:00
XMRig
d224c0e7d8
Minor changes, based on https://github.com/xmrig/xmrig-nvidia/pull/305
2019-11-28 05:14:17 +07:00