Commit graph

1669 commits

Author SHA1 Message Date
XMRig
16863763d3
#1742 Fixed crash when use HTTP API. 2020-06-23 16:17:06 +07:00
XMRig
4bfe7c7090
v6.2.1 2020-06-23 11:26:38 +07:00
XMRig
a83f2c809c
Merge branch 'dev' into evo 2020-06-18 11:18:30 +07:00
XMRig
416c9eff69
Fixed AMD GPU health readings on Linux. 2020-06-18 11:16:26 +07:00
SChernykh
28c81f2c53 Fixed NiceHash disconnects for KawPow 2020-06-12 14:08:00 +02:00
SChernykh
5324761e06 Show GPU # when compute error happens 2020-06-11 19:48:53 +02:00
SChernykh
dc0aee1432 KawPow: fixed crash on old CPUs
- Use `popcnt` instruction only when it's supported
2020-06-10 21:49:43 +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
69a6111a4f
Merge branch 'dev' into evo 2020-06-10 00:58:29 +07:00
XMRig
e4779ab6ca
v5.11.4-dev 2020-06-10 00:55:15 +07:00
XMRig
1c63a8e7c3
Merge branch 'master' into dev 2020-06-10 00:49:58 +07:00
SChernykh
2d2f3d4eb2 Fixed detection of AVX2/AVX512 2020-06-09 17:47:23 +02:00
SChernykh
8c979d3bc7 Disabled AVX-512F for Argon2
See #1722
2020-06-09 13:53:14 +02:00
XMRig
11ed37ea63
v6.2.0-beta 2020-06-09 00:18:22 +07:00
XMRig
12728649ff
v5.11.3 2020-06-09 00:16:33 +07:00
XMRig
dbc8e20e53
Merge branch 'dev' into evo 2020-06-07 21:25:31 +07:00
SChernykh
75c57f7563 Fixed GCC 10.1 issues
- Fixed uninitialized `state->x` warning
- Fixed broken code with `-O3` or `-Ofast`
2020-06-07 16:23:17 +02:00
XMRig
5e1199ea48
Merge branch 'dev' into evo 2020-06-07 20:15:12 +07:00
XMRig
5c5d841776
Merge branch 'noexecstack' of https://github.com/gentoo-monero/xmrig into dev 2020-06-07 20:11:37 +07:00
Matt Smith
a28bddcbdf Stop linker from making stack executable
Add .note.GNU-stack section to end of AstroBWT ASM.

Signed-off-by: Matt Smith <matt@offtopica.uk>
2020-06-07 13:57:37 +01:00
XMRig
0bfe501dac
Add "cn/conceal" alias for hashvault.pro pool. 2020-06-07 15:22:05 +07:00
XMRig
3f237ae348
v6.2.0-evo 2020-06-07 15:13:46 +07:00
XMRig
f4f88ea1f7
Merge branch 'beta' into evo 2020-06-07 15:10:13 +07:00
SChernykh
7f00cb59d2 Conceal (CCX) support 2020-06-07 01:01:45 +02:00
XMRig
2198beff59
v6.0.1-beta 2020-06-06 15:09:41 +07:00
XMRig
ea72052f50
#1708 Added "title" option. 2020-06-06 00:24:58 +07:00
XMRig
f18bfeb77d
Merge branch 'evo' of https://github.com/SChernykh/xmrig into pr1713 2020-06-05 19:17:01 +07:00
XMRig
ba017708bb
Add tag to error message. 2020-06-05 19:02:32 +07:00
SChernykh
0dbf41f761 Reduced memory for KawPow 2020-06-05 14:01:49 +02:00
xmrig
936670f0fd
Merge pull request #1711 from SChernykh/evo
Print errors from KawPow DAG initialization
2020-06-05 15:55:42 +07:00
SChernykh
ba405d1984 Print errors from KawPow DAG initialization 2020-06-05 09:33:36 +02:00
XMRig
e17f686d4f
v6.0.1-evo 2020-06-05 00:42:48 +07:00
XMRig
4f74675a19
Merge branch 'evo' into beta 2020-06-03 20:31:33 +07:00
XMRig
4209aeb94d
Change API version for CUDA plugin. 2020-06-03 19:01:21 +07:00
XMRig
bbd3f05bf6
Implemented donate for KawPow. 2020-06-01 00:56:26 +07:00
SChernykh
9cbdb7f1f2 KawPow: reduced stale/expired shares 2020-05-31 18:22:21 +02: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
XMRig
169fad3a5c
Fix compile warnings. 2020-05-29 20:02:57 +07:00
SChernykh
297ff13810 Tuned KawPow OpenCL kernel
Removed unnecessary memory barrier.
2020-05-29 13:10:24 +02: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
SChernykh
c9730faa49 Hashrate display fixes 2020-05-28 22:23:31 +02:00
SChernykh
2e3d087750 Merge remote-tracking branch 'upstream/evo' into evo 2020-05-28 22:06:10 +02:00
SChernykh
6676126376 Fixed hashrate and diff display for KawPow 2020-05-28 22:03:28 +02:00
XMRig
eb1ed497e7
Log cleanup. 2020-05-29 02:11:29 +07:00
SChernykh
734f142b47 KawPow fix for retarted AMD OpenCL compiler 2020-05-28 20:27:25 +02:00
SChernykh
fb0ce0bf61 KawPow performance fix for AMD Navi 2020-05-28 18:28:23 +02:00
XMRig
7a3233ab4b
Use long tags. 2020-05-28 20:32:41 +07:00
xmrig
0ad4257113
Merge pull request #1697 from SChernykh/evo
KawPow: tuned work group size for OpenCL
2020-05-28 16:58:18 +07:00
SChernykh
e3d727cdb6 KawPow: tuned work group size for OpenCL 2020-05-28 10:58:06 +02:00
XMRig
df24b25b64
Fixed code style. 2020-05-27 23:30:17 +07:00
XMRig
c3c475cdcc
v6.0.0-evo 2020-05-27 22:19:07 +07:00
XMRig
15000e2c22
Fix Linux build. 2020-05-27 22:08:23 +07:00
SChernykh
22b937cc1c KawPow WIP 2020-05-27 16:19:57 +02:00
XMRig
e6e1028017
v5.11.3-dev 2020-05-23 12:02:32 +07:00
XMRig
636b2e3cfa
v5.11.2 2020-05-23 11:10:09 +07:00
XMRig
0a7324f500
Merge branch 'dev' 2020-05-23 11:08:53 +07:00
XMRig
52e2890824
Update hwloc for MSVC builds. 2020-05-22 20:47:12 +07:00
Bohan Yu
a797d808b5 Change cases of Windows include file and link library
When cross-compiling on case sensitive systems, such as Linux, there will be an Error.
2020-05-13 21:00:52 +08:00
XMRig
2e34bf7a1b
Removed unnecessary check. 2020-05-09 01:36:57 +07:00
XMRig
7f31f45b6d
Fix build. 2020-05-09 01:26:05 +07:00
XMRig
3cbf0dc0ee
Removed code duplicate. 2020-05-09 01:13:46 +07:00
XMRig
85af4e27ec
Fix ARM build. 2020-05-08 23:42:53 +07:00
XMRig
a7caf4cc66
Fix build. 2020-05-08 23:05:44 +07:00
XMRig
628506e266
ICpuInfo refactoring. 2020-05-08 22:25:13 +07: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
4326ba3c38
Add prefixes to argon2 to avoid potential conflicts with other implementations. 2020-05-04 18:09:34 +07:00
XMRig
b34e3e1a7b
Remove unused code. 2020-05-04 02:07:38 +07:00
SChernykh
80d944bf82 Optimized RandomX dataset initialization
- Use single Argon2 implemenation
- Auto-select the fastest Argon2 implementation for RandomX
2020-05-03 20:44:59 +02:00
XMRig
c18478a6b4
Small cleanups. 2020-05-03 13:38:34 +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
b38046db46
v5.11.2-dev 2020-04-23 14:32:13 +07:00
XMRig
a8e91bb888
Merge branch 'dev' 2020-04-23 12:46:41 +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
SChernykh
bfd017d064 Refactored CFROUND 2020-04-21 15:44:04 +02:00
XMRig
37f44b4da5
Fixed keepalive extension for initial login response. 2020-04-19 04:34:43 +07:00
XMRig
2da551e1e9
v5.11.1-dev 2020-04-14 03:24:10 +07:00
XMRig
fb4b4a56e2
v5.11.0 2020-04-13 20:13:46 +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
9c9e7fa998
v5.11.0-dev 2020-04-12 19:02:37 +07:00
xmrig
1a495e351c
Merge pull request #1641 from SChernykh/dev
RandomX JIT refactoring
2020-04-09 19:34:31 +07:00
SChernykh
680e4dd865 Fix code style 2020-04-09 14:31:42 +02:00
SChernykh
abb3340cc7 RandomX JIT refactoring
- Smaller memory footprint
- A bit faster overall
2020-04-09 14:24:54 +02:00
xmrig
70a3a83c26
Merge pull request #1635 from SChernykh/dev
Pooled allocation of RandomX VMs
2020-04-08 17:04:25 +07:00
SChernykh
92810ad761 Fixed VM destruction 2020-04-08 08:31:53 +02:00
SChernykh
39bd3ca1da Fix off-by-one error 2020-04-07 18:53:08 +02:00
SChernykh
4d0edde66d Fixed pool lock 2020-04-07 18:48:02 +02:00
SChernykh
69cbfd682a Use node number instead of affinity 2020-04-07 18:46:22 +02:00
SChernykh
6ae37a9519 Pooled allocation of RandomX VMs
+0.5% speedup on Zen2 when the whole L3 cache is used (16 threads on 3700X/3800X, 32 threads on 3950X).
2020-04-07 18:31:35 +02:00
XMRig
2e6c518a1c
Code style cleanup 2020-04-04 17:19:23 +07:00
SChernykh
7f01c5c6f3 AstroBWT CUDA support 2020-04-04 11:05:44 +02: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
4dddd3a44f
Merge branch 'dev' of github.com:xmrig/xmrig into dev 2020-04-02 21:05:25 +07:00
XMRig
01236bc40b
Added missing newline in --help output. 2020-03-25 04:03:18 +07:00
xmrig
618ca6525b
Merge pull request #1605 from SChernykh/dev
Fixed AstroBWT OpenCL for NVIDIA GPUs
2020-03-25 03:58:07 +07:00
XMRig
c71ef8197f
v5.10.1-dev 2020-03-25 03:56:01 +07:00
SChernykh
c0f7e881ba Fixed AstroBWT OpenCL for NVIDIA GPUs 2020-03-24 15:55:54 +01:00
XMRig
f9c65f3bbf
Merge branch 'dev' 2020-03-23 05:38:43 +07:00
XMRig
382bfb0957
Fixed gcc build. 2020-03-23 05:30:11 +07:00
SChernykh
fbedf197ab AstroBWT OpenCL code 2020-03-22 22:36:21 +01:00
XMRig
fc68ed15bc
v5.10.0 2020-03-23 04:10:35 +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
1e88b8447f
v5.10.0-dev 2020-03-18 20:10:12 +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
SChernykh
539943c655 Fix MacOS compilation 2020-03-11 16:35:52 +01:00
SChernykh
e22f798085 AVX2 optimized code for AstroBWT
Added "astrobwt-avx2" parameter in config.json, it's turned off ("false") by default.

4-5% speedup on CPUs with proper AVX2 support (AMD Ryzen starting with Zen2, Intel Core starting with Haswell).

There will be no speedup on the following CPUs:

- Intel Pentium/Celeron don't support AVX2
- AMD Zen/Zen+ have only half-speed AVX

GCC compiled version is faster without AVX2, MSVC compiled version is faster with AVX2
2020-03-10 22:35:14 +01:00
XMRig
8698b73036
Added command line option --data-dir. 2020-03-10 15:57:47 +07:00
SChernykh
9405d8ed92 Activate MSR mod only for RandomX algorithms 2020-03-09 19:10:26 +01:00
XMRig
16a83a9f61
Move files. 2020-03-09 01:22:34 +07:00
XMRig
abfed74af9
v5.9.1-dev 2020-03-08 22:27:35 +07:00
XMRig
f1b8351a63
v5.9.0 2020-03-08 13:09:51 +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
SChernykh
b7840d9ab6 Fixed invalid AstroBWT hashes after algo switching 2020-03-07 16:41:33 +01:00
XMRig
13ac54ada9
v5.9.0-dev 2020-03-07 21:27:55 +07:00
XMRig
1f36ea2a8e
Added "coin": "keva" and post PR cleanup. 2020-03-07 20:38:44 +07:00
XMRig
ab90af37b3
Merge branch 'master' of https://github.com/kevacoin-project/xmrig into feature-rx-keva 2020-03-07 17:13:08 +07:00
XMRig
4a5493e12f
Added the wizard suggestion. 2020-03-07 03:24:35 +07:00
XMRig
6a97aeaf1b
v5.8.3-dev 2020-03-07 03:00:34 +07:00
XMRig
e210067660
Merge branch 'dev' 2020-03-06 13:26:52 +07:00
xmrig
50c66083a7
Merge pull request #1582 from SChernykh/dev
Fixed compilation withut randomx/argon2
2020-03-06 13:24:49 +07:00
SChernykh
05dc9821c5 Fixed compilation withut randomx/argon2 2020-03-06 07:22:57 +01:00
XMRig
c623dc7c92
v5.8.2 2020-03-06 13:18:30 +07:00
XMRig
44f0daf384
Fixed Linux build. 2020-03-06 12:59:30 +07:00
XMRig
6a45d5dcc9
Update year. 2020-03-06 12:57:21 +07:00
XMRig
7bf12dc81f
#1581 Fixed macOS build. 2020-03-06 12:51:16 +07:00
XMRig
2020b71eeb
Merge branch 'feature-fetch' into dev 2020-03-06 12:45:13 +07:00
XMRig
cad5fef1ea
HTTP subsystem refactoring. 2020-03-06 12:38:09 +07:00
kevacoin
56e88f57fb Fixed scratchpad L2/L3 bit, from 18, 21 to 17 and 20. 2020-03-05 11:23:49 -08:00
SChernykh
eeadea53e2 AstroBWT 20-50% speedup
Skips hashes with large stage 2 size. Added configurable `astrobwt-max-size` parameter, default value is 550, min 400, max 1200, optimal value ranges from 500 to 600 depending on CPU.

- Intel CPUs get 20-25% speedup
- 1st- and 2nd-gen Ryzens get 30% speedup
- 3rd-gen Ryzens get up to 50% speedup
2020-03-05 12:20:21 +01:00
kevacoin
0528ccd01e Added Keva. 2020-03-04 16:23:33 -08:00
XMRig
5486300db7
Code cleanup. 2020-03-04 21:00:49 +07:00
XMRig
b0dda2b5b3
http-parser updated to latest version. 2020-03-04 18:30:53 +07:00
XMRig
c80ef54b60
v5.8.2-dev 2020-03-04 12:31:27 +07:00
XMRig
b2b18ce22d
v5.8.1 2020-03-04 10:19:51 +07:00
XMRig
5fa6a034d5
Formatting. 2020-03-04 00:06:20 +07:00
xmrig
24c25b7d2e
Merge pull request #1575 from SChernykh/dev
Fixed new block detection for Dero solo mining
2020-03-04 00:03:12 +07:00
SChernykh
874cff3d51 Fixed new block detection for Dero solo mining 2020-03-03 17:53:19 +01:00
XMRig
297d884482
v5.8.1-dev 2020-03-03 23:12:13 +07:00
XMRig
fa91cff515
v5.8.0 2020-03-03 12:09:10 +07: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
XMRig
616c52f266
#1572 Fix compile warning. 2020-03-01 11:59:53 +07:00
XMRig
5bad45925a
v5.8.0-dev 2020-03-01 11:48:30 +07:00
XMRig
cdd9ea2496
Make "astrobwt" as primary user visible algorithm name. 2020-03-01 10:21:29 +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
2cd45a9e38
v5.7.1-dev 2020-02-25 15:25:31 +07:00
XMRig
012d7124cd
v5.7.0 2020-02-25 05:41:43 +07: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
23c51c9a11
Fixed regression. 2020-02-22 04:51:37 +07:00
SChernykh
131085be80 Optimized CFROUND
Shorter version using BMI2 instructionns
2020-02-21 19:00:58 +01:00
xmrig
12081e4f5b
Merge pull request #1562 from SChernykh/dev
Fixed 32-bit compilation
2020-02-21 22:09:21 +07:00
SChernykh
e1b8f52e59 Fixed 32-bit compilation 2020-02-21 16:08:23 +01:00
XMRig
6dad42a4db
v5.7.0-dev 2020-02-21 21:58:41 +07:00
xmrig
b131c60f08
Merge pull request #1560 from SChernykh/dev
Tuned JIT compiler
2020-02-21 03:04:12 +07:00
SChernykh
1e2e247789 Merge branch 'dev' of https://github.com/SChernykh/xmrig into dev 2020-02-20 20:59:25 +01:00
SChernykh
0caeb41bff Tuned JIT compiler
0.3-0.4% speedup depending on CPU.
2020-02-20 20:59:22 +01:00
XMRig
fd0cbd448b
Use "extra_nonce" for daemon client. 2020-02-21 01:31:22 +07:00
XMRig
bdf6e87dc5
Update default config example. 2020-02-19 01:28:13 +07:00
xmrig
88c7aca6f5
Merge pull request #1557 from SChernykh/dev
Refactored fma_soft() in randomx_vm.cl
2020-02-19 00:28:17 +07:00
SChernykh
887c891ab2 Refactored fma_soft() in randomx_vm.cl
Fixes #1554 (hopefully)
2020-02-18 18:19:03 +01: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
dfaca04167
v5.6.1-dev 2020-02-16 16:13:05 +07:00
XMRig
2499822106
v5.6.0 2020-02-15 21:24:56 +07:00
XMRig
311d3e1c18
Fixed wrong OpenCL platform on macOS. 2020-02-15 04:32:32 +07:00
XMRig
5e444553b1
Fixed build without NVML. 2020-02-15 04:07:11 +07:00
XMRig
16f011a47f
v5.6.0-dev 2020-02-15 03:08:08 +07:00
XMRig
d23e5e15ba
Added AMD GPUs health information for Linux (via sysfs). 2020-02-14 23:37:44 +07:00
XMRig
5ad52192fe
Update year. 2020-02-14 02:41:21 +07:00
SChernykh
7fa5e8706e Added RandomX JIT for AMD Navi GPUs 2020-02-13 20:15:08 +01:00
XMRig
2f27d5d108
Added printHealth to IBackend interface. 2020-02-14 01:11:53 +07:00
XMRig
56f23db878
Added ADL support for Windows. 2020-02-14 00:16:32 +07:00
SChernykh
ef629ba0d0 Fixed generic OpenCL code for AMD Navi 2020-02-10 22:00:40 +01:00
XMRig
e2e37c8cfb
Fixed nicehash nonce overflow for GPU backends. 2020-02-06 22:00:03 +07:00
XMRig
c307433900
Fixed nicehash nonce overflow for CPU backend. 2020-02-06 17:19:08 +07:00