SChernykh
21a56c9cbf
Updated RandomX
2019-08-27 16:12:13 +02:00
XMRig
82696000e4
Removed cn/wow algorithm (coin forked to rx/wow).
2019-08-27 09:34:08 +07:00
XMRig
47b8cb6044
Added classes IOclRunner, OclBaseRunner, OclCnRunner, OclRxRunner.
2019-08-26 04:44:01 +07:00
XMRig
27e862da62
Added OpenCL source.
2019-08-25 23:06:04 +07:00
XMRig
2a5110aa04
Start mining threads only after RandomX dataset initialization.
2019-08-25 20:28:15 +07:00
XMRig
ed7216575c
Added OclDevice and partially autoconfig.
2019-08-22 22:39:36 +07:00
XMRig
b1db0803cf
Added hugepages support for Argon2.
2019-08-17 13:06:14 +07:00
XMRig
fe832f510e
Added MSVC support for Argon2.
2019-08-17 04:01:53 +07:00
XMRig
3022f19eda
Added selection for optimized Argon2 implementation.
2019-08-17 01:42:03 +07:00
XMRig
1c00721de3
Fix prefix.
2019-08-16 04:16:29 +07:00
XMRig
043989e8ee
Resolved conflict between argon2 implementations.
2019-08-16 03:18:35 +07:00
XMRig
0c25424a3e
Added generic Argon2 implementation (conflicts with RandomX).
2019-08-16 00:31:29 +07:00
XMRig
b41fd120d2
Uniform signature for hugePages method.
2019-08-10 13:14:20 +07:00
XMRig
feda02bf50
Disable HW AES for RandomX on ARM.
2019-08-09 15:36:34 +07:00
XMRig
5cb3ef9068
Name for reference RandomX configuration changed to rx/text to avoid potential conflicts in future.
2019-08-09 14:26:00 +07:00
XMRig
647cbef43c
uv_mutex replaced to std::mutex.
2019-08-09 01:00:21 +07:00
XMRig
5896b27bf3
Added L2 information to Algorithm.
2019-08-08 14:03:52 +07:00
XMRig
fd9039928b
Added maxIntensity method to Algorithm.
2019-08-07 18:51:32 +07:00
XMRig
66d8598f9f
#1092 Fixed crash if use wrong affinity on NUMA systems.
2019-08-05 21:55:52 +07:00
XMRig
4afc987111
Fix for previous commit.
2019-08-05 18:20:56 +07:00
XMRig
3543abcc3c
Fixed crash and added error message about seed_hash field.
2019-08-05 17:48:12 +07:00
XMRig
044fbd7e82
Changed init signature.
2019-08-05 16:00:48 +07:00
XMRig
f7ea4b6dbd
Always stop mining threads in RandomX dataset change upcoming.
2019-08-02 16:44:55 +07:00
XMRig
bdaf28adf8
Unified memory allocation functions.
2019-08-02 14:44:38 +07:00
XMRig
37710b0c7b
Merge branch 'evo' of github.com:xmrig/xmrig into evo
2019-08-01 20:37:23 +07:00
XMRig
84ff8af4bd
Optimized RandomX initialization and switching.
2019-08-01 20:37:05 +07:00
SChernykh
97453d986f
Fix Mac OS X compilation
...
Thanks to @cjdelisle
2019-07-31 10:01:32 +02:00
XMRig
c138161ee2
Replacement for PR #1087
2019-07-31 09:29:09 +07:00
XMRig
962f0cdd8e
Use std::thread and std:mutex instead of uv_thread_t and uv_mutex_t.
2019-07-30 21:25:27 +07:00
XMRig
0ae1e5f1d4
Sync changes.
2019-07-29 15:06:46 +07:00
XMRig
cb814921d4
Merge branch 'evo' into beta
2019-07-29 08:50:47 +07:00
XMRig
2fb88f10b8
Fix hwloc deprecation warnings.
2019-07-28 10:15:20 +07:00
XMRig
a39e0e05e9
Cleanup.
2019-07-28 08:06:50 +07:00
XMRig
d10527036e
Added "randomx" object to config.
2019-07-28 07:46:59 +07:00
XMRig
9df9275120
Return correct hugePages count if NUMA mode used.
2019-07-27 21:31:11 +07:00
XMRig
828fc065b0
Added support for allocate RandomX dataset on each NUMA node.
2019-07-27 19:41:59 +07:00
XMRig
e53ae0c15e
Simplified VirtualMemory::bindToNUMANode.
2019-07-26 17:03:10 +07:00
XMRig
35d9c755e0
Special case for Intel CPUs with 1 MB L2 cache per core.
2019-07-26 16:22:44 +07:00
XMRig
ffa6bda106
Added VirtualMemory::bindToNUMANode
2019-07-26 15:29:06 +07:00
SChernykh
35b3377d45
Correct buffer size for fillAes4Rx4
...
More bytes than needed were filled.
2019-07-25 16:38:33 +02:00
XMRig
a5e8b31d55
Fixed crash.
2019-07-25 19:27:12 +07:00
XMRig
d4772cbd5d
Fixed dataset initialization speed on Linux if thread affinity was used.
2019-07-25 19:11:07 +07:00
XMRig
4a32494060
Added option "init-threads".
2019-07-25 12:20:59 +07:00
XMRig
162c3f3d32
Only intensity=1 allowed for RandomX.
2019-07-21 00:08:13 +07:00
XMRig
484253bf68
Updated algorithms descriptions.
2019-07-20 20:57:37 +07:00
XMRig
1d78e7d60d
"GET /1/threads" replaced to "GET /2/backends".
2019-07-19 04:22:21 +07:00
XMRig
0ab26a1619
Restored algo field in login request.
2019-07-18 22:35:15 +07:00
XMRig
8ce00adda4
Restored "CPU READY" message.
2019-07-17 14:54:08 +07:00
XMRig
4f49533e98
Fixed warnings.
2019-07-17 05:33:13 +07:00
XMRig
bcae974ea1
Fixed build.
2019-07-17 05:01:12 +07:00
XMRig
2bf5ffb2df
Class Mem replaced to VirtualMemory.
2019-07-17 04:57:58 +07:00
XMRig
20313cbc56
Implemented unified cryptonight and RandomX scratchpad memory.
2019-07-17 04:33:11 +07:00
XMRig
27f3008d79
Added initial support for new style threads launch method.
2019-07-16 22:10:50 +07:00
XMRig
dc87ef6062
Removed xmrig.h.
2019-07-13 19:10:17 +07:00
XMRig
6f27037f07
Added new nonce allocation method for dynamic/variable threads.
2019-07-11 16:15:51 +07:00
XMRig
8e2219b7c4
Fixed RandomX VM creation in some cases.
2019-07-10 10:26:10 +07:00
XMRig
270d3ba6a2
Added class RxVm.
2019-07-10 10:14:33 +07:00
XMRig
f42adafee0
Added classes Rx, RxAlgo, RxCache, RxDataset.
2019-07-10 01:53:05 +07:00
XMRig
ea1149a971
Added class JobResults.
2019-07-06 15:22:19 +07:00
XMRig
9bf4c2c98f
Generate "rx" and "rx/wow" sections of CPU threads.
2019-07-06 11:31:12 +07:00
XMRig
9b14caa9f9
Merge branch 'evo' into feature-per-pool-algo
2019-07-06 10:49:31 +07:00
XMRig
8c02e20828
Quick fixes.
2019-07-02 22:57:08 +07:00
XMRig
b92807e8d8
Added support for multi-algorithm CPU threads settings.
2019-07-02 22:56:28 +07:00
SChernykh
915729bec6
Fixed MingGW compilation
2019-07-01 20:48:51 +02:00
SChernykh
6eb9d0963b
Integrated RandomX, added RandomXL (Loki)
2019-07-01 20:11:51 +02:00
XMRig
62edb2fc0a
Move CPU information classes to new location.
2019-06-29 09:51:23 +07:00
XMRig
dd875c7c37
Added class CpuConfig.
2019-06-28 22:28:40 +07:00
XMRig
66d62de681
Merge Assembly enum and Asm class.
2019-06-28 13:08:08 +07:00
XMRig
188338c493
Merge branch 'evo' into feature-per-pool-algo
2019-06-26 15:44:52 +07:00
XMRig
f7f2c09e89
Move RandowWOW to new global algorithm.
2019-06-25 08:21:40 +07:00
XMRig
2a07cf391d
Allow disable RandomX support.
2019-06-18 06:11:53 +07:00
XMRig
3d17ba6af6
Merge branch 'feature-randomx' into evo
2019-06-18 05:33:30 +07:00
XMRig
b38e432647
Moved keccak files.
2019-06-17 04:06:38 +07:00
SChernykh
d0ce60a73a
Fixed auto-config
2019-06-15 23:50:31 +02:00
XMRig
6990324681
Allow null algorithm for pools.
2019-06-16 03:50:22 +07:00
XMRig
b73c204e73
Fixed ARM mining code.
2019-06-15 00:28:16 +07:00
XMRig
1f0e3e501c
Implemented new style algorithm definitions (except ARM), removed Algo and Variant enums.
2019-06-13 22:08:52 +07:00
XMRig
d7f42d54ad
Added initial support for per pool algo option (mining code is broken).
2019-06-10 20:46:29 +07:00
XMRig
b684150336
Moved Algorithm class.
2019-06-09 16:46:44 +07:00
XMRig
d9eb700e03
Renamed macros for enable/disable algorithms.
2019-06-09 15:29:26 +07:00
XMRig
09cdddc7f6
Fixed ARM build, again.
2019-06-04 19:49:54 +07:00
XMRig
d587eebaf2
Move files.
2019-06-04 19:20:33 +07:00
XMRig
ac43cd4f9c
Added unprotectExecutableMemory for future use.
2019-06-04 15:48:32 +07:00
XMRig
f620ffe899
#1026 Probably fixed iOS build.
2019-06-03 18:40:12 +07:00
XMRig
242ece7222
Simplified cn/r code.
2019-06-02 23:38:02 +07:00
XMRig
36fcdf3f9d
Fixed ARM build.
2019-06-02 21:06:30 +07:00
XMRig
ba94c08bf5
Moved mm_malloc.h
2019-06-02 20:57:49 +07:00
XMRig
8dc586283f
Fixed Linux build.
2019-06-02 19:58:16 +07:00
XMRig
fc655d1b8d
Moved common memory primitives to new VirtualMemory class.
2019-06-02 19:43:56 +07:00
XMRig
d77e404439
Merge branch 'dev' into evo
2019-04-17 17:42:22 +07:00
XMRig
f9f7ef26b8
#1012 Added checks for _rotr.
2019-04-16 01:20:50 +07:00
XMRig
933c0d40b7
Merge branch 'dev' into evo
2019-03-27 19:20:12 +07:00
Tony Butler
29373c4226
Fix compilation with Clang 3.5 for those with limited compiler choices
...
Performance similar to gcc7+ on systems where gcc4 is the only alternative
2019-03-15 07:19:47 -06:00
XMRig
d57b41c673
Sync changes.
2019-03-14 18:42:27 +07:00
SChernykh
1bb8f77b52
Unified ASM functions signature
2019-03-13 22:00:44 +01:00
XMRig
80a7aa2497
#975 Fixed crash on Linux if used double thread.
2019-03-07 14:52:40 +07:00
XMRig
0bbeafde65
Added "cn/zls" (Zelerius) and "cn/double" (X-CASH) algorithms.
2019-03-05 18:29:13 +07:00
XMRig
21d9ad6dbc
Fix MSYS2 build.
2019-03-05 02:11:34 +07:00
SChernykh
154806ac74
CryptoNight v8 ReverseWaltz (+asm code and all test vectors)
...
Co-Authored-By: Vitalius Parubochyi <eddragonwolf@users.noreply.github.com>
2019-03-04 19:57:33 +01:00
SChernykh
123e7cf0b8
Merge remote-tracking branch 'upstream/dev' into dev
2019-03-04 17:43:22 +01:00
SChernykh
9f2d821970
Optimized cn/r asm code
...
Average over 100 block heights:
Coffee Lake +0.1%
Ryzen +0.4%
Sandy Bridge +1.5%
2019-03-04 17:39:49 +01:00
XMRig
18a9803e5e
Removed unnecessary ASM files duplicates for MSYS2.
2019-03-04 14:40:22 +07:00
XMRig
f2574c2a41
Use machine friendly test data for cn/r and cn/wow algorithms.
2019-03-04 00:42:17 +07:00
XMRig
4ebfc135e0
Build whole CryptonightR_gen.cpp only if ASM used.
2019-03-03 17:33:27 +07:00
SChernykh
d4d0c69b5d
Fixed compilation error in Linux
2019-02-24 20:23:52 +01:00
SChernykh
488cec09dd
Optimized soft AES implementations
...
cn-pico: +6.7%
cn/half: +6.2%
cn/2: +4.3%
cn-heavy: +9.1%
cn/wow, cn/r: 2.4-2.6 times faster
2019-02-24 20:04:09 +01:00
XMRig
1bd51dcf2e
Fixed msvc2015/msys2 build & code cleanup.
2019-02-19 09:15:06 +07:00
SChernykh
764767d317
Support for Cryptonight variant 4 (Monero)
2019-02-17 18:17:14 +01:00
XMRig
33a3ae59bd
Removed "cn/r" alias and fixed build without ASM.
2019-02-13 00:18:40 +07:00
XMRig
a6813ef4f5
Temporary added "cn/r" alias for test pool.
2019-02-11 05:46:43 +07:00
SChernykh
36ce144d35
Fixed ARM code
2019-02-10 16:04:24 +01:00
SChernykh
65dab8371b
Removed unused variable
2019-02-10 15:46:55 +01:00
SChernykh
c2e15e2b86
Fixed ARM compilation
2019-02-10 15:34:31 +01:00
SChernykh
e3f2c38fff
CryptonightR support for Wownero
2019-02-10 15:21:17 +01:00
XMRig
aabdff2cc9
Fixed floating-point rounding, resolved conflict between cn/2 and cn/gpu. Thanks @SChernykh.
2019-02-06 00:38:55 +07:00
XMRig
3f8898f228
Sync changes.
2019-02-05 18:47:54 +07:00
XMRig
5f113a47cf
Fix typo.
2019-02-03 20:34:24 +07:00
XMRig
f4170ec7bc
Add ARM support for cn/gpu.
2019-02-03 20:28:13 +07:00
XMRig
eac6a97a2e
Fix Linux build.
2019-02-03 14:48:11 +07:00
XMRig
bd4bc9ba4d
Added reference implementation for cn/gpu (cn-gpu).
2019-02-03 14:44:23 +07:00
XMRig
bc26d2ede6
#904 Add ASM implementation.
2019-01-21 00:32:24 +07:00
XMRig
36b01f136f
#904 Initial support for "cn-pico/trtl".
2019-01-20 19:52:44 +07:00
SChernykh
e0f5066ded
Correct FP rounding mode for cn/half
2019-01-17 00:49:48 +01:00
SChernykh
d1f551da2c
Fixed compilation error on Windows
2019-01-16 00:24:34 +01:00
SChernykh
6425c53d61
Fixed crash in patchCode() on Linux
2019-01-16 00:09:00 +01:00
XMRig
a98c475a3c
Fixed wrong ASM code alignment on macOS, thanks @SChernykh.
2019-01-15 18:18:04 +07:00
XMRig
17f28667b3
Code-style/copyright cleanup.
2019-01-15 02:15:36 +07:00
SChernykh
56cacbd5bc
Fixes for Visual Studio
2019-01-14 16:38:28 +01:00
SChernykh
8b9d5cff91
Added ASM code patching when loading
...
For CNv2 variants with different iterations and memory size.
2019-01-14 15:34:55 +01:00
XMRig
492449e9fb
#899 Add ASM implementation for cn/half.
2019-01-14 18:09:16 +07:00
XMRig
b43336582d
Rename ASM files.
2019-01-13 23:00:41 +07:00
XMRig
67863a427d
Rename "cn/xtlv9" to "cn/half".
2019-01-13 19:42:27 +07:00
XMRig
1382857c83
#899 Fixed ARM build.
2019-01-13 15:24:04 +07:00
XMRig
84c2cadc50
#899 Initial support for "cn/xtlv9" (C++ only).
2019-01-13 15:03:36 +07:00
XMRig
735180ac04
Fixed MSVC 2015 build.
2018-10-22 23:17:54 +07:00
XMRig
06a84499d7
Fixed MSYS2 build & copyright
2018-10-22 23:08:29 +07:00
SChernykh
4b91978af6
Added asm optimized code for AMD Bulldozer
2018-10-21 18:29:03 +02:00
XMRig
152c4f2f1b
#768 Fixed build error with MSVC 2015 and enabled ASM code.
2018-10-02 17:50:19 +03:00
Roboto12
fbba3d1be6
Update Asm.cpp
...
parse(value.IsBool()) should be changed to parse(value.GetBool()), otherwise if the 'asm' parameter in config has a boolean value, it will be parse as 'true' even if it's actually 'false'.
2018-09-28 19:18:37 +03:00
XMRig
0d9db273a0
Fix template declaration.
2018-09-25 09:40:09 +03:00
XMRig
1a3de05096
Added ASM code for double hash mode, thanks @SChernykh.
2018-09-25 09:25:47 +03:00
XMRig
ebcdac7d13
Fixed crash when use ASM code for MSYS2, thanks @SChernykh.
2018-09-24 20:43:31 +03:00
XMRig
c2fcf23855
Implemented "asm" option.
2018-09-24 14:19:26 +03:00
XMRig
ba65a34a01
Initial ASM wrapper.
2018-09-24 09:51:21 +03:00
XMRig
f163aad38c
Fix macOS/Clang build.
2018-09-23 20:45:10 +03:00
XMRig
dd27c42293
Initial compile with ASM.
2018-09-23 20:16:33 +03:00
SChernykh
d8ca5ef205
Cryptonight variant 2 - final version
...
Reference code: https://github.com/monero-project/monero/pull/4404
I tested it on x86 with av=1-10 and on ARM with av=1-4, self test passed.
2018-09-22 17:21:32 +02:00
XMRig
93216a51f4
Fix compile error on macOS.
2018-09-14 22:04:52 +03:00
XMRig
23914e9a9f
"xmrig::cn_uses_variant1" replaced to "xmrig::cn_base_variant".
2018-09-10 18:35:12 +03:00
XMRig
b948474d01
Small fixes.
2018-09-01 00:00:38 +03:00
XMRig
075565e6fa
Fix invalid hashes with gcc 7.1.
2018-08-31 23:32:33 +03:00
XMRig
eef4d9b102
Fixed 32 bit support.
2018-08-31 23:19:10 +03:00
XMRig
f11aad515b
Fixed gcc build.
2018-08-31 21:51:34 +03:00
SChernykh
ea1658c818
Fixed spaces
2018-08-29 20:27:17 +02:00
SChernykh
7c4b718789
Fixed performance degradation for v0 & v1
2018-08-29 20:15:08 +02:00
SChernykh
f151c7131d
Removed excess code for v0 & v1
2018-08-29 19:52:33 +02:00
SChernykh
36a562e1f1
Cryptonight variant 2 support
...
Reference code: https://github.com/monero-project/monero/pull/4218
2018-08-28 23:42:15 +02:00
XMRig
0041e9f0c1
Add new algorithms for ARM.
2018-07-10 00:29:16 +07:00
XMRig
969a26fb5d
Optimize cn-heavy/tube.
2018-07-09 22:28:53 +07:00
XMRig
dac12a122f
Add cn-heavy/tube.
2018-07-09 20:21:53 +07:00
XMRig
2702b6ffc8
Add reference hashes for cn/xao and cn/rto.
2018-07-09 16:54:39 +07:00
XMRig
25bac30862
Added "cn/xao" and "cn/rto".
2018-07-09 16:12:45 +07:00
XMRig
a8de81a51b
#714 Simplify cn-heavy/xhv.
2018-07-09 00:23:27 +07:00
XMRig
6a7a7ada2e
Fix ARM build.
2018-06-11 15:44:45 +07:00
XMRig
dab4239aca
Added support for cn-heavy/xhv.
2018-06-11 12:00:59 +07:00
XMRig
8908c2c027
Added support for "cn/msr" also known as "cn-fast".
2018-06-10 19:48:34 +07:00
XMRig
1748a7bd57
Fix double hash mode too.
2018-06-03 05:42:10 +07:00
XMRig
6cf24936df
#551 Fixed cn-heavy for ARMv8.
2018-06-03 02:56:49 +07:00
XMRig
651637d637
#446 Better fix, second variable always aligned.
2018-06-03 00:22:26 +07:00
XMRig
26ee5028e1
Use native checks instead of XMRIG_ARMv8.
2018-06-03 00:09:59 +07:00
XMRig
d900a6d9dd
#446 Fixed SIGBUS error on 32 bit ARM CPUs.
2018-06-02 04:37:12 +07:00
XMRig
a00024cf51
Fixed ARMv8 build.
2018-05-05 22:44:20 +07:00
XMRig
3df99fbced
Add Stellite (XTL) support as cn/xtl.
2018-04-27 00:28:52 +07:00
XMRig
41e8c4f887
Send supported algorithms to pool in login request.
2018-04-26 15:02:01 +07:00
XMRig
ba5f92c6dd
Added support for cn-lite/ipbc.
2018-04-25 18:31:18 +07:00
XMRig
ca149d2eed
Sync changes with proxy.
2018-04-25 14:48:32 +07:00
XMRig
274992e50d
Basic cryptonight-ipbc definition.
2018-04-21 00:19:33 +07:00
XMRig
98e7308597
Move keccak to common code.
2018-04-20 14:45:51 +07:00
XMRig
2d2e60a197
Fix x86 build.
2018-04-20 10:14:33 +07:00
XMRig
14576f599c
Fix ARMv7 build.
2018-04-19 19:44:17 +07:00
XMRig
e119f7f402
Rearrange test vectors, for catch cn-heavy bug.
2018-04-19 13:50:06 +07:00
XMRig
ad94e9a7d2
Simplify ARM implementation.
2018-04-19 11:54:11 +07:00
XMRig
9e3f2ae9f9
Added x3 x4 x5 hashing modes.
2018-04-16 15:40:37 +07:00
XMRig
6b4f2d0a91
Fixed ARM build.
2018-04-15 12:58:17 +07:00
XMRig
9125b6c251
Rewrite memory allocation.
2018-04-15 11:08:47 +07:00
XMRig
51422f4b1e
Move xmrig.h to common/xmrig.h.
2018-04-13 07:00:51 +07:00
XMRig
b13640e4a1
Fixes for build without cn-lite and cn-heavy.
2018-04-12 11:38:43 +07:00
XMRig
ccbb78d4e9
Improved performance for cryptonight v7.
2018-04-09 21:56:15 +07:00
XMRig
3a67ee6d11
Small fixes.
2018-04-06 23:32:54 +07:00
XMRig
4e8ef7c6ed
Added cryptonight-heavy support for ARM
2018-04-03 17:51:06 +07:00
XMRig
26e1b14020
Added test hashes for self test.
2018-04-03 17:19:01 +07:00
XMRig
dd6bc339bf
First working cryptonight-heavy.
2018-04-03 16:55:41 +07:00
XMRig
5c6ec587ac
Move selfTest to threads, remove legacy CryptoNight.cpp.
2018-04-03 14:51:05 +07:00
XMRig
903b243308
New style function selector.
2018-04-03 02:55:28 +07:00
XMRig
a042cbf885
Added classes IThread, CpuThread and API endpoint "GET /1/threads".
2018-04-01 22:49:21 +07:00
XMRig
aac7b0404a
Options class replaced to xmrig::Config.
2018-03-31 16:29:47 +07:00
XMRig
1011fd4891
Partial fix for ARMv7
2018-03-24 10:14:21 +07:00
XMRig
2de5d92d3a
Removed unnecessary pointers cast.
2018-03-18 05:48:19 +07:00
XMRig
7adf30e326
Remove align.h.
2018-03-14 17:11:51 +07:00
XMRig
125072a30e
Added test hashes for AEON.
2018-03-13 01:29:31 +07:00