Commit graph

2097 commits

Author SHA1 Message Date
XMRig
e9ae4deb91
Removed duplicate strings. 2021-08-11 22:07:43 +07:00
XMRig
aee0762424
Fix typo. 2021-08-11 16:27:36 +07:00
XMRig
e6332eff2b
Implemented stable algorithm ids. 2021-08-11 03:46:34 +07:00
XMRig
d0a632f557
Optimize CnHash storage. 2021-08-10 14:54:35 +07:00
XMRig
f4cdc527b0
#2527 Fix narrowing conversion. 2021-08-10 01:40:36 +07:00
XMRig
661dc515ab
namespace cleanup. 2021-08-09 23:51:07 +07:00
XMRig
6d9bafe068
v6.14.1-dev 2021-08-09 17:20:15 +07:00
XMRig
410084384e
v6.14.0 2021-08-09 16:09:15 +07:00
XMRig
08d79ddcdc
v6.14.0-dev 2021-08-08 19:36:54 +07:00
SChernykh
929205536c Show the number of transactions in pool job
Useful to check if pool/proxy is working properly and can also be used to compare different pools.
2021-08-07 19:38:31 +02: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
XMRig
93805cd167
#2476 Fixed crash in DMI memory reader. 2021-07-06 23:07:31 +07:00
SChernykh
59d780169f Merge branch 'dev' of https://github.com/SChernykh/xmrig into dev 2021-07-05 13:57:16 +02:00
SChernykh
a30ede04f3 Updates from xmrig-proxy 2021-07-05 13:56:37 +02:00
XMRig
3f2dfa4279
Sync with proxy. 2021-07-05 02:31:29 +07:00
XMRig
7177b42903
v6.13.2-dev 2021-07-03 16:00:30 +07:00
XMRig
02b2b87bb6
v6.13.1 2021-07-03 15:29:49 +07:00
xmrig
28a1d0fe1e
Merge pull request #2468 from SChernykh/dev
Fix: don't send miner signature during regular mining
2021-07-02 00:37:04 +07:00
XMRig
0243789c04
v6.13.1-dev 2021-07-02 00:36:32 +07:00
SChernykh
1b4abe1e98 Fix: don't send miner signature during regular mining 2021-07-01 19:31:55 +02:00
XMRig
9f778742a6
v6.13.0 2021-07-01 20:03:52 +07:00
XMRig
0af9d2e75b
v6.13.0-dev 2021-06-28 19:02:48 +07:00
xmrig
6e2a84a46c
Merge pull request #2445 from SChernykh/miner_signature
Support for solo mining with miner signatures (Wownero)
2021-06-28 18:11:13 +07:00
SChernykh
6bb8913066 Correct handling of block submit responses for Dero 2021-06-24 18:06:07 +02:00
SChernykh
cf104ebdc5 Update signing algorithm 2021-06-21 23:49:13 +02:00
XMRig
ecba750442
Add token support for online benchmark. 2021-06-20 09:28:39 +07:00
SChernykh
3967badc55 Added profiling 2021-06-19 16:19:16 +02:00
SChernykh
3f3f9b0661 Fixed GCC warnings 2021-06-19 14:54:03 +02:00
SChernykh
e3fc78a66c Fix Wownero hardfork version 2021-06-18 13:52:24 +02:00
SChernykh
e6d833c227 Proxy miner signature support 2021-06-17 22:48:08 +02:00
SChernykh
ebe299902c Proxy miner signature support (WIP) 2021-06-17 16:58:18 +02:00
SChernykh
bc63b63a2a More sanity checks 2021-06-17 13:18:34 +02:00
SChernykh
e739e7d704 More error handling in DaemonClient::parseJob 2021-06-17 10:39:22 +02:00
SChernykh
1bae083587 Fixed CalculateMerkleTreeHash 2021-06-17 10:26:17 +02:00
SChernykh
88959bd703 BlockTemplate: miner tx and root hash updating 2021-06-16 23:44:05 +02:00
SChernykh
93e689d601 Fix buffer size in generateMinerSignature 2021-06-16 18:20:11 +02:00
SChernykh
a136790bee Added support for solo mining with miner signatures (Wownero) 2021-06-16 18:07:36 +02:00
SChernykh
29f2dd4b9e Cleanup 2021-06-16 11:47:17 +02:00
SChernykh
3003c067d3 Fixed random32_unbiased 2021-06-16 00:19:49 +02:00
SChernykh
89bc6418b1 Secret key derivation 2021-06-16 00:10:34 +02:00
SChernykh
8458b4ee39 Added signature functions 2021-06-15 15:51:29 +02:00
SChernykh
7bfb801ce2 Cryptonote tools WIP 2021-06-15 00:28:32 +02:00
XMRig
0414511de0
v6.12.3-dev 2021-05-31 13:51:41 +07:00
XMRig
80ae339343
v6.12.2 2021-05-31 12:58:30 +07:00
SChernykh
b5f1a1feae RandomX: fix broken light mode mining
It broke after #2395
2021-05-22 13:49:22 +02:00
XMRig
1ce059da1c
Add "argon2/ninja" algorithm alias. 2021-05-22 15:10:50 +07:00
SChernykh
94fecb5e92 RandomX ARMv8: optimized dataset read
Break dependency from readReg2 and readReg3. It should run faster on superscalar and out-of-order CPUs i.e. Apple M1.
2021-05-20 21:24:28 +02:00
SChernykh
ff82ca57f2 RandomX: rewrote dataset read code
Unified code for AMD and Intel
1% faster on Intel
0.15% faster on AMD Ryzen
2021-05-20 12:45:42 +02:00
SChernykh
d443dd86f1 RandomX: added BMI2 version for scratchpad prefetch
Saves 1 instruction and 1 byte in the main loop.
2021-05-19 17:52:16 +02:00
SChernykh
9b1f020a8b Enabled IMUL_RCP optimization for light mode mining
Better fix for #2377
2021-05-17 11:26:40 +02:00
XMRig
08a2c143f5
Regenerate OpenCL headers. 2021-05-16 10:09:29 +07:00
Tony Butler
4eb9a1aad5 Fix CL code for KawPow where it assumes everything is AMD 2021-05-15 20:34:57 -06:00
SChernykh
29cb416107 Fixed broken light mode mining on x86 2021-05-15 21:41:39 +02:00
Tony Butler
df2bcd8192 Fixup MacOS CUDA backend default loader name 2021-05-14 05:28:31 -06: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
SChernykh
dbda2e9ccd Update sse2neon.h 2021-05-03 18:08:59 +02:00
SChernykh
27ced139a6 Fix AES detection on FreeBSD on ARM 2021-05-03 09:57:43 +02:00
XMRig
695fbc013b
#2280 Disable GPU backends in benchmark mode. 2021-04-25 15:28:45 +07:00
XMRig
e26fbc96e9
Removed unnecessary system call. 2021-04-24 23:22:10 +07:00
XMRig
259c165e60
Merge branch 'patch-1' of https://github.com/jsonboss/xmrig into jsonboss-patch-1 2021-04-24 22:14:59 +07:00
XMRig
7897bf02dc
v6.12.2-dev 2021-04-24 01:53:07 +07:00
XMRig
d82e100e30
v6.12.1 2021-04-23 19:43:12 +07:00
xmrig
ae6c536e98
Merge pull request #2296 from SChernykh/dev
Fixed Zen3 asm for cn/upx2
2021-04-21 19:52:52 +07:00
XMRig
c66c593123
v6.12.1-dev 2021-04-21 19:51:03 +07:00
SChernykh
b7adb34c37 Fixed Zen3 asm for cn/upx2
- Invalid rounding mode was used which caused rejected shares sometimes
- Also optimized CN implode/explode functions a bit.
2021-04-21 13:22:25 +02:00
XMRig
ace8409a56
v6.12.0 2021-04-20 20:55:58 +07:00
SChernykh
3477f9fbc1 RandomX: optimized IMUL_RCP instruction
+0.4% on AMD Zen2
+0.3% on AMD Zen3
+0.1% on Intel SandyBridge
+0.3% on rx/wow on Intel SandyBridge
2021-04-19 17:43:58 +02:00
SChernykh
69186f2470 Optimized cn/upx for Zen3
0.9% faster
2021-04-19 12:29:44 +02:00
SChernykh
730d4a6cee Fix dvision by zero check in percent() 2021-04-19 12:05:07 +02:00
SChernykh
54bc91d5e3 Fixed rounding mode after running cn/upx 2021-04-19 12:02:57 +02:00
jsonboss
2012ffb231
support builtin msr 2021-04-19 10:38:27 +08:00
XMRig
5f9e0ebc6c
v6.12.0-dev 2021-04-18 20:12:03 +07:00
SChernykh
16fe462cad Optimized cn/upx2 for Ryzen CPUs 2021-04-17 18:18:26 +02:00
SChernykh
ed456b02cf Update CnHash.cpp 2021-04-17 15:06:31 +02:00
SChernykh
da7f5826cb Added support for Uplexa (cn/upx2 algorithm) 2021-04-17 14:53:42 +02:00
XMRig
6cb398bb42
Merge branch 'dev' of github.com:xmrig/xmrig into dev 2021-04-14 23:44:42 +07:00
XMRig
748be760e8
Added support for --user command line option for the benchmark. 2021-04-14 23:43:31 +07:00
SChernykh
77f1bf0861 Show total hashrate if compiled without OpenCL 2021-04-13 14:02:29 +02:00
XMRig
6bb29b3e7b
v6.11.3-dev 2021-04-11 21:13:39 +07:00
XMRig
e53e48b88c
v6.11.2 2021-04-11 17:24:46 +07:00
XMRig
92e708c6e7
Update llhttp to v5.1.0 2021-04-10 21:23:32 +07:00
XMRig
30cfcc27db
#2207 Fixed regression in HTTP parser. 2021-04-10 21:02:59 +07:00
XMRig
3c6077fb02
v6.11.2-dev 2021-04-08 00:33:01 +07:00
XMRig
0f83b5e06c
v6.11.1 2021-04-07 10:34:37 +07:00
XMRig
637a333197
Merge branch 'dev' 2021-04-07 10:33:48 +07:00
SChernykh
c080d5b962 Fixed broken "coin" setting functionality 2021-04-06 23:02:10 +02:00
XMRig
0133107f14
v6.11.0 2021-04-06 21:11:44 +07:00
XMRig
ea1245026d
#2234 Use const_cast. 2021-04-06 12:07:06 +07:00
xmrig
2158adb711
Merge pull request #2234 from esrrhs/dev
fix build error on gcc 4.8.5
2021-04-06 12:00:36 +07:00
SChernykh
1741354498 Fixed cn-heavy for GCC-8 2021-04-04 10:18:27 +02:00
esrrhs
866e97efcf fix build error on gcc 9.3.0
FileLogWriter.h:34:41: error: array used as initializer
2021-04-04 12:42:14 +08:00
SChernykh
59c85eaf6a Fixed compilation for ARM 2021-04-03 17:50:52 +02:00
xmrig
864233c110
Merge pull request #2228 from esrrhs/dev
remove useless v4_random_math_init if algo is not cn/r
2021-04-02 15:49:53 +07:00
SChernykh
ec608bbd05 Don't use RandomX JIT if WITH_ASM=OFF
Because RandomX JIT use asm code
2021-04-02 10:05:46 +02:00
esrrhs
ec2793bcc9 remove useless v4_random_math_init if algo is not cn/r 2021-04-02 14:59:09 +08:00
Matthew Smith
28f268aeba Add missing include
memory header ends up not being included when built without OpenCL
support.

Closes: https://github.com/xmrig/xmrig/issues/2224
2021-04-01 11:01:55 +01:00
XMRig
b72e21fc3c
Merge branch 'master' of https://github.com/esrrhs/xmrig into pr2217 2021-03-29 18:16:45 +07:00
esrrhs
d578a3828f setBlob should run after setAlgorithm 2021-03-29 12:11:03 +08:00
SChernykh
dc70893e6b Optimize cn-heavy in GCC builds
+0.7% in GCC builds, but GCC is still slower than MSVC on cn-heavy.
2021-03-28 16:12:09 +02:00
xmrig
c5c958743e
Merge pull request #2214 from SChernykh/cn-heavy-opt
Optimized cn-heavy
2021-03-28 09:56:22 +07:00
SChernykh
bcfd9edaa5 Optimized cn-heavy
- Remove unnecessary type conversion when doing `idx0 = d ^ q;`
- Saves 1 CPU cycle in the main loop
- 0.2% speedup on Ryzen 5 5600X, results on other CPUs may vary
2021-03-27 22:21:01 +01:00
SChernykh
e0f774d6dd Fixed use-after-free bug when exiting 2021-03-27 21:53:40 +01:00
XMRig
955cc366d1
v6.11.0-dev 2021-03-20 13:42:46 +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
3e41bdc552
New DNS implementation. 2021-03-16 22:24:37 +07:00
XMRig
5b189696d7
Added DnsRecords class. 2021-03-14 09:44:56 +07:00
XMRig
c6bcea3811
Improved DnsRecord class. 2021-03-13 20:30:52 +07:00
xmrig
900dd13c45
Merge pull request #2177 from SChernykh/dev
Fix `vld1q_u8_x4` compilation error with GCC 10.2
2021-03-13 08:30:44 +07:00
SChernykh
2876f17f65 Fix vld1q_u8_x4 compilation error with GCC 10.2 2021-03-12 16:26:02 +01:00
xmrig
b2563ca8a6
Merge pull request #2172 from bisand/patch-1
Added reference to limits.h in AdlLib_linux.cpp
2021-03-11 18:07:23 +07:00
André Biseth
7c0d60ac68
Added reference to limits.h in AdlLib_linux.cpp
Suggested solution to bug https://github.com/xmrig/xmrig/issues/2171
2021-03-11 11:50:05 +01:00
SChernykh
54bcf05b1d Fix wrong type in Handle::deleteLater()
Bug found by Address Sanitizer
2021-03-10 14:55:06 +01:00
XMRig
bbea8810a7
v6.10.1-dev 2021-03-08 06:04:59 +07:00
XMRig
69590f9777
v6.10.0 2021-03-08 04:05:27 +07:00
xmrig
576ff120e5
Merge pull request #2128 from ianmaddox/patch-1
Minor verbiage tweak
2021-03-08 04:02:02 +07:00
XMRig
b8f9a326aa
6.10.0-dev 2021-03-07 01:44:38 +07:00
XMRig
f5db50c9d7
Sync with the proxy. 2021-03-06 05:32:54 +07:00
XMRig
856c8e6bcd
Fixed build without TLS support. 2021-03-06 02:07:10 +07:00
XMRig
b3dbf6e23f
http-parser replaced to llhttp. 2021-03-06 01:46:49 +07:00
xmrig
a11c57226b
Merge pull request #2158 from SChernykh/dev
Fix GCC compilation
2021-03-04 16:48:05 +07:00
SChernykh
94d2cac775 Fix GCC compilation 2021-03-04 10:45:39 +01:00
XMRig
548a7d46e1
Add note about CPU affinity. 2021-03-04 16:19:06 +07:00
SChernykh
70cddc06ba Fix crash in cn-heavy on Zen3 with manual thread count 2021-03-04 10:02:35 +01:00
XMRig
1f9cdc0564
Update hwloc for MSVC. 2021-03-04 03:23:26 +07:00
TheGreatMcPain
ba3299b61b
Update sse2neon.h to the latest master. Fixes build on armv7.
A few days after this header was introduced. Upstream updated it with
armv7 versions of `_mm_aesenc_si128` which allows xmrig to build
on armv7.
2021-03-02 01:33:25 -06: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
XMRig
4a8e7510e1
#2123 Ignore regex exception. 2021-02-27 15:29:14 +07:00
Ian Maddox
37df513b32
Minor verbiage tweak
Fixing mixed phrasing in error message
2021-02-23 11:34:10 -08:00
xmrig
31a5d05dc1
Merge pull request #2122 from SChernykh/dev
Fixed pause logic when both pause on battery and user activity are en…
2021-02-21 22:36:32 +07:00
SChernykh
d478d737c4 Fixed pause logic when both pause on battery and user activity are enabled 2021-02-21 16:33:57 +01:00
XMRig
e20daff4eb
v6.9.1-dev 2021-02-21 22:28:15 +07:00
XMRig
072881e1a1
v6.9.0 2021-02-21 21:23:48 +07:00
XMRig
4b1857114e
v6.9.0-dev 2021-02-20 14:28:20 +07: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
f599807bbb
Simplified code, fixed broken pause. 2021-02-19 16:26:31 +07:00
SChernykh
e8a99809b6 Fixed crash when GPU mining cn-heavy on Zen3 system 2021-02-18 14:49:37 +01: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
8e3fec5768
v6.8.3 2021-02-12 22:51:26 +07:00
XMRig
8bfaddd3fc
v6.8.2 2021-02-12 18:47:16 +07:00
SChernykh
dc1443f3b8 Cryptonight: add prefetching to interleaved mode 2021-02-07 23:29:54 +01:00