Commit graph

850 commits

Author SHA1 Message Date
XMRig
0ab26a1619 Restored algo field in login request. 2019-07-18 22:35:15 +07:00
XMRig
f590cf58fb Added support for threads restart if config changed. 2019-07-18 19:11:45 +07:00
XMRig
871bc3e180 Fixed bugs. 2019-07-18 04:21:14 +07:00
XMRig
6f93b7b38d Removed unused code. 2019-07-17 15:28:59 +07:00
XMRig
630a5dce67 Improved log. 2019-07-17 15:09:37 +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
5699147aab Restored printable hashrate. 2019-07-17 01:28:42 +07:00
XMRig
27f3008d79 Added initial support for new style threads launch method. 2019-07-16 22:10:50 +07:00
XMRig
dff59fabc2 Removed CPU specific code from Worker class. 2019-07-14 00:35:38 +07:00
XMRig
ee434a5708 Move files. 2019-07-13 22:15:53 +07:00
XMRig
dc87ef6062 Removed xmrig.h. 2019-07-13 19:10:17 +07:00
XMRig
8b3f2d8fff Move Platform. 2019-07-13 16:48:14 +07:00
XMRig
4643742d13 Refactoring 2019-07-13 00:49:17 +07:00
XMRig
be7ff62c48 Removed no longer required code. 2019-07-12 02:25:07 +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
3bebf778da Fixed build. 2019-07-10 02:28:45 +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
XMRig
ee9538ab22 Fixed, client was stuck on some pools. 2019-07-02 22:38:09 +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
83fdbbf29c Added "features" and "algorithms" fields to API summary response. 2019-06-29 10:57:05 +07:00
XMRig
e10671fa51 Fixed ARM build. 2019-06-29 10:25:06 +07: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
0aaf2d38d4 v2.16.1-evo 2019-06-26 11:07:50 +07:00
XMRig
6813657891 v2.16.0-beta 2019-06-25 14:17:43 +07:00
XMRig
b0a1481909 Sync changes with proxy. 2019-06-25 10:35:10 +07:00
XMRig
f7f2c09e89 Move RandowWOW to new global algorithm. 2019-06-25 08:21:40 +07:00
XMRig
cf61f49746 Use better source for AES settings in RandomX threads. 2019-06-23 14:23:29 +07:00
xmrig
1a2f9fb160
Merge pull request #1039 from SChernykh/random_wow
Fixed RandomX for CPUs without AES
2019-06-22 17:15:49 +07:00
SChernykh
187e55e28e Fixed RandomX for CPUs without AES 2019-06-19 12:45:05 +02:00
XMRig
41e0be111d v2.16.0-evo, added RandomWOW, backward compatibility with previous versions not break. 2019-06-19 01:18:31 +07:00
XMRig
e743301a79 Merge branch 'feature-randomx' into evo 2019-06-19 01:16:51 +07:00
SChernykh
53c9e5fe0e Merge remote-tracking branch 'upstream/feature-randomx' into random_wow 2019-06-18 19:53:26 +02:00
SChernykh
e8ac01d289 RandomX fixes
- Fixed possible infinite loop when updating RandomX dataset
- Fixed used memory display
- Allocate dataset and VM for RandomX only when it's actually used
2019-06-18 19:53:11 +02: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
34e39e9946 Use canonical name for RandomX, because official RandomWOW repo not rename lib or headers, still need some solution to separate it in future. 2019-06-18 05:13:51 +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
SChernykh
202d44c147 Fixed gcc compilation 2019-06-15 23:29:13 +02:00
SChernykh
ac1b554282 RandomWOW support 2019-06-15 22:53:03 +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
088587fa72 Fixed build on Linux. 2019-06-14 05:21:17 +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
725c767928 v2.99.0-evo 2019-06-09 16:48:30 +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
4b3592f60f v2.15.5-evo 2019-06-02 15:03:26 +07:00
XMRig
277f188cd5 v2.15.4-beta 2019-06-02 14:30:09 +07:00
XMRig
833a532e7a Merge branch 'dev' into evo 2019-05-31 23:20:35 +07:00
XMRig
3dde8cacff v2.14.5-dev 2019-05-31 22:50:39 +07:00
XMRig
2d8e8c92ab v2.14.4 2019-05-30 12:16:19 +07:00
XMRig
1d4bc030fb v2.14.4-dev 2019-05-26 19:28:28 +07:00
XMRig
10165da53e Removed obsolete automatic variants. 2019-05-26 18:54:47 +07:00
XMRig
51b92f66cf Sync changes. 2019-05-25 10:58:35 +07:00
XMRig
6fb014d0b1 Fixed MSVC 2019 version detection. 2019-05-21 12:14:20 +07:00
XMRig
ffb282a11a Added global uptime and extended connection information for API. 2019-05-13 00:11:57 +07:00
XMRig
a000544fdc Return current algorithm in API response. 2019-05-01 22:07:13 +07:00
XMRig
378bc504fc Use null for unknown hashrate in API. 2019-04-25 02:22:53 +07:00
XMRig
304d7bd09a v2.15.4-evo 2019-04-18 20:59:14 +07:00
XMRig
8b0d35b619 #1014 Fixed regression, default value for algo option was not applied. 2019-04-18 15:23:36 +07:00
XMRig
e46a2a508a v2.15.2-beta 2019-04-18 00:25:37 +07:00
XMRig
ff6544a14c Updated default config. 2019-04-17 19:03:15 +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
ee1d61d117 Fix Linux build. 2019-04-14 03:24:14 +07:00
XMRig
a3b303e885 Added checking for top_block_hash/hash. 2019-04-14 03:21:23 +07:00
XMRig
074b3869d2 Added JsonRequest. 2019-04-14 01:10:24 +07:00
XMRig
c0e668f36f Move files. 2019-04-13 23:58:58 +07:00
XMRig
21798edb8b Sync changes. 2019-04-13 19:09:22 +07:00
XMRig
23b0e3799e Fixed build on some systems. 2019-04-12 22:32:45 +07:00
XMRig
83a7a88b11 Fixed build without TLS support. 2019-04-12 19:25:03 +07:00
XMRig
867478b983 Added command line option --daemon and --daemon-poll-interval 2019-04-12 18:30:08 +07:00
XMRig
5e369a5af8 Fixed daemon support over HTTPS. 2019-04-12 04:25:47 +07:00
XMRig
62012a1a50 Added DaemonClient. 2019-04-12 03:25:21 +07:00
stoffu
cf7ce13986
Config: fix std::max issue with msvc2017
to fix the following errors:

    xmrig\src\core\Config.cpp(165): error C2065: 'max': undeclared identifier
    xmrig\src\core\Config.cpp(165): error C2275: 'size_t': illegal use of this type as an expression
2019-04-11 14:01:07 +09:00
XMRig
0d496aaf2f Prepare for daemon support. 2019-04-11 00:18:33 +07:00
XMRig
9a6944d694 Add IClient and BaseClient. 2019-04-10 18:29:33 +07:00
XMRig
1bd8d63508 64bit diff support. 2019-04-10 03:42:00 +07:00
XMRig
c41889477c Fix build. 2019-04-10 00:10:02 +07:00
XMRig
c823c54f9b Added HttpsClient. 2019-04-09 14:06:56 +07:00
XMRig
6812d22d63 Rename cmake option WITH_HTTPD to WITH_HTTP. 2019-04-09 02:27:19 +07:00
XMRig
241383068c Added HttpClient class. 2019-04-09 01:59:22 +07:00
XMRig
35d868fb48 Fix --userpass option. 2019-04-08 02:16:54 +07:00
XMRig
d6da0652ce Removed unused setters in Pool class. 2019-04-07 21:31:32 +07:00
XMRig
9561570c50 Fix build on FreeBSD. 2019-04-06 21:10:26 +07:00
XMRig
466aad8543 Fix build without ASM. 2019-04-06 20:07:20 +07:00
XMRig
09df8c3846 Sync changes. 2019-04-06 18:32:24 +07:00
XMRig
5d9648956b Add milliseconds to log. 2019-04-06 02:11:02 +07:00
XMRig
1774b42345 Fix "colors" option. 2019-04-06 02:10:08 +07:00
XMRig
fa2a0b9b79 New config subsystem 2019-04-05 22:14:01 +07:00
XMRig
85ee55f309 Fixed, big HTTP responses was truncated. 2019-04-02 17:46:26 +07:00
XMRig
4aa7f01f13 v2.15.2-evo 2019-04-01 23:45:23 +07:00
XMRig
89d7e84f88 v2.15.1-beta 2019-04-01 19:04:48 +07:00
XMRig
1f45e77848 Fixed wrong status code for "GET /1/config" 2019-04-01 18:56:42 +07:00
XMRig
cf7245b469 Update default config. 2019-04-01 11:54:09 +07:00
XMRig
3b91817caf Special handle for favicon.ico 2019-04-01 11:50:28 +07:00
XMRig
4457089502 Added error log to http responses. 2019-04-01 02:46:41 +07:00
XMRig
40d9f53743 Sync changes. 2019-04-01 00:31:46 +07:00
XMRig
24e4328915 Fixed malformed HTTP response on Linux. 2019-04-01 00:21:15 +07:00
XMRig
0245ce5f35 Fix compile issue. 2019-04-01 00:00:40 +07:00
XMRig
e759ccf385 Sync changes. 2019-03-31 23:22:36 +07:00
XMRig
ca249f1f1c Cleanup. 2019-03-31 01:44:53 +07:00
XMRig
f8f9d6c0ef Restored API. 2019-03-31 01:31:40 +07:00
XMRig
e39ddeeea2 Removed IConfigCreator/ConfigCreator and changed file structure. 2019-03-30 21:27:54 +07:00
XMRig
d8aba7da7d Revert id and worker_id. 2019-03-30 20:46:08 +07:00
XMRig
bd6c7c64aa Added workaround, Google Chrome create extra dummy connections for future speed up. 2019-03-30 15:51:35 +07:00
XMRig
106e149324 Use static http_parser_settings. 2019-03-30 15:27:09 +07:00
XMRig
c9f9e6787c Restore network API. 2019-03-30 03:10:27 +07:00
XMRig
9c66c9b30f Added classes IApiRequest, ApiRequest, HttpApiRequest. 2019-03-30 02:26:30 +07:00
XMRig
dd036368e2 New API class. 2019-03-30 00:16:01 +07:00
XMRig
9cb43f9883 Fix log. 2019-03-29 17:22:25 +07:00
XMRig
3f1eefb131 HTTP layer ready for API calls. 2019-03-29 17:14:30 +07:00
XMRig
202b74367a Optimize HttpResponse for fixed size API responses. 2019-03-29 14:22:10 +07:00
XMRig
9daa5874f5 Change HttpResponse creation method. 2019-03-29 12:56:34 +07:00
XMRig
01ad6bf2d9 Added new HTTP server (tiny wrapper on top of libuv + http_parser), removed libmicrohttpd support. 2019-03-29 12:33:11 +07:00
XMRig
725796a1ab New API settings. 2019-03-29 02:31:56 +07:00
XMRig
1e0c410eea XMRIG_FEATURE_HTTP & XMRIG_FEATURE_API 2019-03-28 22:54:27 +07:00
XMRig
034720e888 Use XMRIG_FEATURE_TLS instead of XMRIG_NO_TLS 2019-03-28 22:13:27 +07:00
XMRig
5db458efd4 Fix macOS build. 2019-03-27 20:03:15 +07:00
XMRig
3f4886bb86 Fix CPU info colors. 2019-03-27 19:29:29 +07:00
XMRig
82bbef614e Remove unused field. 2019-03-27 19:27:29 +07:00
XMRig
933c0d40b7 Merge branch 'dev' into evo 2019-03-27 19:20:12 +07:00
XMRig
cad3e7a101 Sync changes. 2019-03-27 19:18:54 +07:00
XMRig
d7795ca990 Remove uv_cancel for DNS requests. 2019-03-27 17:22:04 +07:00