Commit graph

759 commits

Author SHA1 Message Date
XMRig
69b8a4faf1 Added option to disable Monero v7 PoW, may useful in future if other coins update their network to v7 without PoW change. 2018-03-07 19:12:18 +07:00
XMRig
8a6988d381 Added full IPv6 support. 2018-03-07 16:38:58 +07:00
XMRig
79779b51da Added reference hashes. 2018-03-07 15:32:44 +07:00
XMRig
8b60585004 PoW changes WIP 2018-03-06 21:34:20 +07:00
XMRig
df6a397e52 Update copyright and move version into Job class. 2018-03-06 17:06:07 +07:00
XMRig
274c6306a8 Merge branch 'monero-v1-pow' of https://github.com/vtnerd/xmrig into vtnerd-monero-v1-pow 2018-03-06 16:37:33 +07:00
XMRig
a398c8af2f Fixed regression (all versions since 2.4 affected) fragmented responses from pool/proxy parsed incorrectly. 2018-03-05 13:54:21 +07:00
XMRig
fc82cf1cf2 #428 Fixed regression with CPU cache size detection. 2018-03-05 02:15:05 +07:00
Lee Clagett
48b1de0b59 Changes for the Monero v1 PoW 2018-03-02 22:17:29 +00:00
XMRig
3edc30d067 Use adaptive timer instead of idle handler for HTTP server. 2018-03-01 09:53:27 +07:00
XMRig
a0d4e4ed3f Run internal http server in main loop to avoid requirement to thread synchronization. 2018-02-20 23:22:34 +07:00
XMRig
9af8ceb063 v2.4.5 RC 2018-02-19 04:31:50 +07:00
XMRig
184f79ad3f Fix code style, replace tabs to space #2. 2018-02-08 17:21:12 +07:00
XMRig
e78e810cfe Fix code style, replace tabs to space. 2018-02-08 17:02:32 +07:00
XMRig
c804ef1888 Merge branch 'master' of https://github.com/Foudge/xmrig into Foudge-master 2018-02-08 16:56:20 +07:00
Foudge
037abd7037 Correct L2 cache size calculation for Intel Core 2 family
This is a workaround for total L2 cache size calculation of Intel Core Solo, Core Duo, Core 2 Duo, Core 2 Quad and their Xeon homologue. These processors have L2 cache shared by 2 cores.

There is maybe more CPU with L2 shared cache, but I am sure that these models are concerned and they are not so numerous.
A better way would be to modify libcpuid to implement L2 cache counting.
2018-02-03 16:31:13 +01:00
Foudge
d2964576c7 Compilation error under FreeBSD
ULONG is not recognized under this OS, so replaced it with more portable definition.
2018-01-28 18:13:00 +01:00
Foudge
9a28ad590c up to 20% perf increase with Cryptonight with non-AES CPU
This time, the performance increase is got with MSVC and GCC. On non-AES CPU, there were an useless load/store SSE2 register. The last MSVC "hack" is replaced by a portable code and he's more complete (a load is saved).

On my C2Q6600, with 3 thread, I have +16% with MSVC2015 and +20% with GCC 7.3, compared to official 2.4.4 version.
2018-01-28 12:58:19 +01:00
Foudge
15fe6ce23f Remove compilation warnings under MSVC 2018-01-27 11:42:22 +01:00
XMRig
631fd755c8 #341 Added option --dry-run. 2018-01-20 20:43:31 +07:00
Foudge
9bceb65ad8 +15% boost with non-AES CPU
Performance boost validated on Core 2 Quad processor under Windows 10.
But it's Windows/MS Visual C++ specific.
2018-01-20 10:43:56 +01:00
XMRig
56ffa7af79 #341 Fix wrong exit code. 2018-01-20 12:58:43 +07:00
XMRig
e6540229cb #328 Added guard to prevent paused message spam and crash. 2018-01-10 22:55:45 +07:00
XMRig
038bb1f6bc Fix version. 2018-01-10 16:56:08 +07:00
XMRig
49b45ddd18 Add libmicrohttpd version to --version output. 2018-01-05 19:41:19 +07:00
XMRig
8b7a737ceb Fix recent MSVC 2017 version detection. 2018-01-05 17:23:39 +07:00
XMRig
5b88213f61 Fix wrong signal handle. 2018-01-04 11:38:32 +07:00
XMRig
1b025f681c Remove extra semicolon. 2018-01-02 13:41:00 +07:00
XMRig
114a9b041d #279 Add missing stdio header 2018-01-02 12:24:57 +07:00
XMRig
e458c56139 v2.4.3 2017-11-30 02:11:15 +03:00
XMRig
aa4f8b6fa7 #216 Added ARMv7 support. 2017-11-26 22:23:23 +03:00
XMRig
9100e3fb65 Merge branch 'arm' 2017-11-24 23:47:12 +03:00
XMRig
47527d48ee Fixed build in termux environment, thanks Imran Yusuff. 2017-11-24 00:23:04 +03:00
XMRig
989c217b3f #200 Use fprintf failback when fail to use uv_tty. 2017-11-18 14:07:04 +03:00
XMRig
1961dcf824 #204 Fix Linux build, again. 2017-11-17 22:44:36 +03:00
XMRig
4b00eb4a9f #196 Fix Linux build. 2017-11-17 12:59:46 +03:00
XMRig
6cc152e26f Added ARMv8 (aarch64) support. 2017-11-06 03:11:35 +03:00
XMRig
d403dcf95c Optimized software aes. 2017-11-03 05:35:29 +03:00
XMRig
1391a2d858 #184 Workaround for CPUs with disabled Hyper-Threading. 2017-11-02 19:40:33 +03:00
XMRig
fd029201b0 v2.4.2. 2017-10-23 15:32:07 +03:00
XMRig
10df3ec227 Code style fixes for FreeBSD support pull request. 2017-10-20 19:54:18 +03:00
vcambur
9c0fe73102 Some FreeBSD fixes 2017-10-20 08:41:08 +00:00
XMRig
1af1ba6b5f #153 Force reconnect when duplicated job received. 2017-10-16 01:26:55 +03:00
XMRig
bea3bc74b2 v2.4.1. 2017-10-15 04:52:00 +03:00
XMRig
f9202c6951 #147 Fixed comparability with monero-stratum. 2017-10-10 16:31:19 +03:00
XMRig
a3297b9ea4 Fixed 32 bit version crash. 2017-10-07 20:36:02 +03:00
XMRig
b46f376f32 Remove unused variables . 2017-10-07 19:23:46 +03:00
XMRig
f02b98efe7 Fix clang warnings and job comparison bug. 2017-10-07 18:58:04 +03:00
XMRig
7d4bdfc913 v2.4.0 2017-10-07 16:55:58 +03:00
XMRig
1123c20da0 Add comments to config file. 2017-10-07 00:49:38 +03:00
XMRig
8729616698 Added special option -t all 2017-10-06 23:44:25 +03:00
XMRig
914fdd5f0a #97 Ignore keepalive option with minergate and nicehash.com 2017-10-06 19:10:08 +03:00
XMRig
af51513614 libjansson replaced to rapidjson.
Sync changes with proxy.
2017-10-04 23:33:30 +03:00
XMRig
4cf3bb9930 #111 Fixed build without AEON support. 2017-09-16 15:20:33 +03:00
XMRig
3a7bb24b40 #108 Silently ignore invalid values for donate-level option. 2017-09-13 18:01:28 +03:00
XMRig
729ee08631 #101 Fix MSVC 2017 (15.3) version detection. 2017-09-08 14:54:43 +03:00
XMRig
e9a16912c3 Fix typo. 2017-09-02 19:24:06 +03:00
XMRig
4928b6d3e3 Sync changes with xmrig-nvidia 2017-09-02 19:04:40 +03:00
XMRig
d0db4770ed Added API port to summary. 2017-09-02 15:50:27 +03:00
XMRig
38e93ed6e3 Fixed Linux build. 2017-09-02 14:33:53 +03:00
XMRig
d52aa5a72b v2.4.0-dev 2017-09-02 14:25:54 +03:00
XMRig
5591666069 Fixed msvc build. 2017-09-02 14:14:10 +03:00
XMRig
fd98dc236a Added support to build without API. 2017-09-02 12:12:40 +03:00
XMRig
325e116624 Added API authorization via Bearer token. 2017-09-02 08:18:24 +03:00
XMRig
7798f09dc7 Added connection statistics to API. 2017-09-02 05:47:30 +03:00
XMRig
8e08df2fd2 Rename Results => NetworkState. 2017-09-01 15:35:00 +03:00
XMRig
9e9cddedc5 Added results statistics to API. 2017-09-01 08:02:56 +03:00
XMRig
1651b041de Added hashrate to reports. 2017-09-01 03:45:08 +03:00
XMRig
30dd7d6fe4 Added support for id and worker_id in API. 2017-08-31 06:31:49 +03:00
XMRig
71f06530df Added classes Api and ApiState. 2017-08-31 04:30:59 +03:00
XMRig
5601c7a672 Added Httpd class and API config options. 2017-08-31 02:28:33 +03:00
XMRig
6f89c51db5 v2.3.1 2017-08-25 22:24:42 +03:00
XMRig
4e039a9bce #68 Fixed console output in docker containers. 2017-08-22 11:16:33 +03:00
XMRig
7b44fa3737 v2.3.0 2017-08-20 10:39:19 +03:00
XMRig
e3e52f6d06 #62 Don't send the login to the dev pool. 2017-08-18 06:08:35 +03:00
XMRig
60224ccd23 Fix error if stdout not available. 2017-08-17 18:54:41 +03:00
XMRig
fc1d6c7e84 Better fix for MSVC. 2017-08-17 07:33:21 +03:00
XMRig
e3dd4a6581 Fixed config load for MSVC. 2017-08-17 06:43:32 +03:00
XMRig
9cb7d727c2 Force close connection if IP address banned. 2017-08-16 15:14:21 +03:00
XMRig
e049b80f1a Fixed linux build. 2017-08-16 14:49:37 +03:00
XMRig
beb9af4313 Fixed, message "Huge pages support was successfully enabled, but reboot required to use it" was not shown in release builds. 2017-08-16 14:44:35 +03:00
XMRig
8bba0df054 Added option --no-huge-pages. 2017-08-16 14:21:12 +03:00
XMRig
27f02d5f9f Added option --user-agent. 2017-08-16 13:19:14 +03:00
XMRig
79ffb95f05 Added support for --cpu-priority for OS X. 2017-08-16 12:57:05 +03:00
XMRig
1b0ddae4eb Fixed: failed open default config file if path contains non English characters. 2017-08-16 12:22:35 +03:00
XMRig
ad0d876b18 Added support --cpu-priority support for Linux. 2017-08-15 09:03:10 +03:00
XMRig
2f371e884e Merge branch 'dev' of github.com:xmrig/xmrig into dev 2017-08-15 08:20:33 +03:00
XMRig
f05a328474 Added --cpu-priority option. 2017-08-15 08:19:55 +03:00
XMRig
c40f212e23 Fix Linux build. 2017-08-15 03:13:11 +03:00
XMRig
61859dfe14 Add class Platform. 2017-08-15 03:04:46 +03:00
XMRig
eb140fd30f Fix gcc warnings. 2017-08-14 09:53:48 +03:00
XMRig
a07b0e5953 Fix Visual Studio warnings. 2017-08-14 09:30:41 +03:00
XMRig
9975b4e4cd Backport unified client timer from proxy project. 2017-08-14 08:41:54 +03:00
XMRig
62681adcfb Fixed assert when try read unavailable stdin. 2017-08-05 18:45:06 +03:00
XMRig
1720d3e096 Fixed initialization, no need init logs and network if configuration not ready. 2017-08-04 21:47:43 +03:00
XMRig
816fc3ee43 Fixed terminal issues after exit on Linux and OS X. 2017-08-04 11:10:33 +03:00
XMRig
7004a51ce6 v2.2.0 2017-08-02 20:08:41 +03:00
XMRig
a680220d28 Fixed autoconf mode for AMD FX CPUs. 2017-08-02 18:59:24 +03:00
XMRig
b1a2215829 Add missing port in config.json. 2017-08-01 19:34:36 +03:00
XMRig
eb5f7c6a7b #46 Simplify config parsing 2017-08-01 12:56:30 +03:00
XMRig
1bc23354d3 #46 Add support for default config. 2017-07-31 18:38:02 +03:00
XMRig
e6a72b2f78 #46 Added config file support. 2017-07-31 16:05:16 +03:00
XMRig
5bed17a8af Fix stop for FailoverStrategy. 2017-07-27 07:36:16 +03:00
XMRig
0b5587fd6a Add commands help. 2017-07-23 10:04:23 +03:00
XMRig
776f77a8d4 Added IConsoleListener 2017-07-23 09:36:30 +03:00
XMRig
583f45e2da Add Console class. 2017-07-23 08:35:26 +03:00
XMRig
9b474f239f Disable QuickEdit mode for Windows. 2017-07-23 07:38:57 +03:00
XMRig
9665ff15ae Use uv_tty for console output and remove legacy winansi. 2017-07-23 05:59:57 +03:00
XMRig
3d9be9484d Merge branch 'dev'
# Conflicts:
#	src/version.h
2017-07-20 00:54:03 +03:00
XMRig
35fd43a6b4 Changed donation address, new xmrig-proxy is coming soon. 2017-07-19 23:57:03 +03:00
XMRig
30a7f9f7f5 Backport crypto changes from Dead2 xmr-stak-cpu fork. 2017-07-19 21:02:38 +03:00
XMRig
8f38462bbe #40 Fix crash on Linux. 2017-07-19 04:28:59 +03:00
XMRig
ebf54c6d04 Fix warnings on Linux. 2017-07-18 22:38:38 +03:00
XMRig
d7659b5093 Fixed %lld and %llu related warnings. 2017-07-18 20:20:29 +03:00
XMRig
e00c568ae9 Fix OS X build. 2017-07-18 14:09:20 +03:00
XMRig
a3988374f0 Fixed graceful shutdown. 2017-07-18 05:20:36 +03:00
XMRig
9732636155 Fixed bug, login request was contain malformed JSON if username or password has some special characters for example \. 2017-07-18 01:49:04 +03:00
XMRig
986aee4297 Better support for Round Robin DNS, related https://github.com/fireice-uk/xmr-stak-cpu/pull/220 2017-07-17 23:35:36 +03:00
XMRig
66d3e96a1a Sync changes with upcoming xmrig-proxy project. 2017-07-17 21:57:03 +03:00
XMRig
9f4e1ee373 Update version. 2017-07-14 21:26:22 +03:00
XMRig
aadc15ce66 Ignore duplicated job received from pool, with warning message. 2017-07-14 21:06:08 +03:00
XMRig
57be6f94bb Small code cleanup. 2017-07-13 18:02:48 +03:00
XMRig
7c6e429854 Improved pause/resume mechanism. 2017-07-10 21:42:28 +03:00
XMRig
4a712354f1 #28 Fixed Alpine Linux support. 2017-07-07 07:15:58 +03:00
XMRig
f4dadfd90b Improve nicehash detection. 2017-07-05 07:54:21 +03:00
XMRig
955134b162 #27 Fix possibility crash on 32bit. 2017-07-05 07:20:28 +03:00
XMRig
6ed2d61586 Probably fix OS X support. 2017-07-03 11:02:32 +03:00
XMRig
32e7041def Fix possibility duplicate share for short donation intervals. 2017-07-03 03:34:23 +03:00
XMRig
c16388ade3 Fix possibility crash 2017-07-02 23:35:06 +03:00
XMRig
7937c814ff v2.0.0 rc 2017-07-02 21:49:56 +03:00
XMRig
074db6bb72 Add nice messages for accepted and rejected shares with diff and latency. 2017-07-02 05:33:10 +03:00
XMRig
71522214ae Show resolved pool ip. 2017-07-02 01:36:33 +03:00
XMRig
8ec58a8394 Fix nicehash support, please note --nicehash option now specified per pool. 2017-07-01 22:37:27 +03:00
XMRig
263634f585 Increase major version because --backup-url option removed and added ability to specify multiple pool urls. 2017-07-01 22:14:44 +03:00
XMRig
a383eba8df Merge branch 'feature-multiple-pools' into dev
# Conflicts:
#	src/Options.cpp
2017-07-01 21:50:27 +03:00
XMRig
152b65b67c Increase response timeout to 20 seconds. 2017-07-01 21:11:41 +03:00
XMRig
970b5d1964 Add FailoverStrategy. 2017-07-01 20:53:42 +03:00
XMRig
7536663caf Remove option --backup-url. 2017-06-30 13:23:13 +03:00
XMRig
7e17f77c11 Implemented DonateStrategy. 2017-06-30 03:20:50 +03:00
XMRig
25faeabd61 Implemented SinglePoolStrategy. 2017-06-29 01:48:23 +03:00
XMRig
bd8776b7ee Add classes SinglePoolStrategy, DonateStrategy, IStrategy, IStrategyListener. 2017-06-28 06:17:02 +03:00
XMRig
b2d26eb019 Use Url inside Client. Remove onLoginCredentialsRequired from IClientListener interface. 2017-06-28 04:04:04 +03:00
XMRig
14c6f8699e Fix --cpu-affinity overflow, again. 2017-06-27 18:47:33 +03:00
XMRig
c0dcfc2a97 Initial multiple pools support [2/2]. 2017-06-27 06:32:17 +03:00
XMRig
f36b5eeaad Fix --cpu-affinity overflow. 2017-06-26 23:08:10 +03:00
XMRig
952017ae7a Initial multiple pools support [1/2]. 2017-06-26 21:13:05 +03:00
XMRig
faf793b0aa Add syslog support. 2017-06-25 02:04:59 +03:00
XMRig
e97cd98f90 Fix file log for linux. 2017-06-23 19:37:41 +03:00
XMRig
95002ead7d Merge branch 'dev' of https://github.com/xmrig/xmrig into dev 2017-06-23 12:58:56 +03:00
XMRig
c1b3802590 Add option "-l, --log-file=FILE" and stub for option "-S, --syslog". 2017-06-23 03:12:46 +03:00
XMRig
1bfbc97c7d Add FileLog class. 2017-06-23 01:38:47 +03:00
XMRig
052290d0e9 Add ConsoleLog class and ILogBackend interface. 2017-06-22 14:41:34 +03:00
XMRig
4f512c41d4 Fix linux build 2017-06-22 02:30:26 +03:00
XMRig
91ed7e36cd Temporary disable TCP keepalive for Windows, fixes Windows XP support. 2017-06-21 21:40:15 +03:00
XMRig
77d9beaf89 Rename Console class to Log. 2017-06-20 13:04:38 +03:00
XMRig
a791bc113e Adjust console output. 2017-06-20 00:55:55 +03:00
XMRig
9bfa49b7d0 Fix regression, option --no-color not fully disabled colored output. 2017-06-19 10:58:28 +03:00
XMRig
ed0972da85 Update version. 2017-06-17 15:37:33 +03:00
XMRig
ccc7fba2c4 Fix software AES. 2017-06-17 15:23:25 +03:00
XMRig
b8089e637a Print pool urls in summary. 2017-06-16 11:32:34 +03:00
XMRig
fed163568e Add option "--print-time". 2017-06-16 11:08:10 +03:00
XMRig
4e4c54314b New hashtable report. 2017-06-16 10:19:14 +03:00
XMRig
e759ddca49 Handle "Unauthenticated" error. 2017-06-15 22:30:56 +03:00
XMRig
fcb7b0fb3e Rename Telemetry class to Hashrate. 2017-06-15 21:00:25 +03:00
XMRig
d1bf9ddc3f Add missing file. 2017-06-15 18:09:29 +03:00
XMRig
1587fb27d2 Fixes. 2017-06-14 21:33:20 +03:00
Admin
faf14f5e5a Fixes for OS X. 2017-06-14 21:13:04 +03:00
XMRig
555eee8236 Add Cpu_mac.cpp 2017-06-14 20:51:47 +03:00
Admin
1bf428f8da Initial OS X support 2017-06-14 20:37:59 +03:00
XMRig
599117abde Prepare for OS X. 2017-06-14 19:13:02 +03:00
XMRig
5af169fd7b Fix linux build. 2017-06-14 16:11:01 +03:00
XMRig
8ebb659cd6 Fix AEON donate port. 2017-06-14 09:03:03 +03:00
XMRig
7c8a9677a1 Fix crash. 2017-06-13 20:03:43 +03:00
XMRig
981e043ada Add DoubleWorker class. 2017-06-13 19:58:31 +03:00
XMRig
8c2951db2d Add signal handlers. 2017-06-13 13:20:15 +03:00
XMRig
827e611911 Fix libcpuid support for MSVC. 2017-06-13 11:17:40 +03:00
XMRig
42bf85d10b Fixes for MSVC. 2017-06-13 06:31:25 +03:00
XMRig
9580c30d8a Fix cpuid stub for MSVC. 2017-06-12 16:55:21 +03:00
XMRig
3df545cfc5 Initial MSVC support. 2017-06-12 16:19:07 +03:00
XMRig
a370b8fd30 Add class Telemetry. 2017-06-12 07:18:14 +03:00
XMRig
6774f86fcd Implement job result submitting. 2017-06-11 15:32:15 +03:00
XMRig
a0a8711dab Add class JobResult. 2017-06-11 10:58:46 +03:00
XMRig
3ad11685cc Job flow WIP. 2017-06-11 06:52:23 +03:00
XMRig
bcef4b12ec Job flow. 2017-06-10 13:32:27 +03:00
XMRig
f9c244f0aa Add Workers class. 2017-06-10 09:41:08 +03:00
XMRig
29aa466023 Add IWorker, Handle, SingleWorker, Worker classes. 2017-06-10 07:05:00 +03:00
XMRig
b772349f69 Add memory summary. 2017-06-10 01:20:54 +03:00
XMRig
c5fbc1a182 Restore persistent memory. 2017-06-10 00:43:23 +03:00
XMRig
30642881bf Add Mem class. 2017-06-09 15:09:21 +03:00
XMRig
ef3af1c4fd Restore autoconf. 2017-06-09 03:37:56 +03:00
XMRig
04c5d6d00a Print threads summary. 2017-06-09 02:47:46 +03:00
XMRig
8b83a5fe2e Implemented CryptoNight with C++ templates. 2017-06-08 23:31:42 +03:00
XMRig
878e021ff6 Initial CryptoNight. 2017-06-08 09:47:25 +03:00
XMRig
5a606be8be Move crypto/* 2017-06-08 04:20:10 +03:00
XMRig
da02e9a3a2 Reduce libcpuid size. 2017-06-08 04:16:55 +03:00
XMRig
b11f95d248 Restore libcpuid support. 2017-06-08 01:51:24 +03:00
XMRig
9797f49456 Add Summary. 2017-06-08 01:16:45 +03:00
XMRig
0556fd664c Add Cpu class. 2017-06-08 00:10:26 +03:00
XMRig
1cf5ad5212 Implemented switch to donate pool. 2017-06-07 22:34:23 +03:00
XMRig
c31ea00399 Basic failover support. 2017-06-07 09:07:31 +03:00
XMRig
387524e1c5 Fix for error notification. 2017-06-07 07:34:14 +03:00
XMRig
5f1f901649 Add support for keepAlive. 2017-06-07 06:48:00 +03:00
XMRig
c29dc8bcf4 Implemented reconnect. 2017-06-07 04:19:32 +03:00
XMRig
b8cc1136a4 More flexible pools configuration. 2017-06-07 02:46:52 +03:00
XMRig
4c06d8b080 Handle job notification. 2017-06-07 01:19:59 +03:00
XMRig
1ecee56eb6 Add Job class. 2017-06-06 20:43:52 +03:00
XMRig
26b8206332 Basic login parse. 2017-06-06 06:35:17 +03:00
XMRig
7deee3240b Handle jsonrpc errors. 2017-06-06 06:05:17 +03:00
XMRig
668b23c5b0 Initial libuv support build. 2017-06-04 20:52:21 +03:00