Commit graph

344 commits

Author SHA1 Message Date
XMRig
5486300db7
Code cleanup. 2020-03-04 21:00:49 +07:00
XMRig
5fa6a034d5
Formatting. 2020-03-04 00:06:20 +07:00
SChernykh
874cff3d51 Fixed new block detection for Dero solo mining 2020-03-03 17:53:19 +01: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
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
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
fd0cbd448b
Use "extra_nonce" for daemon client. 2020-02-21 01:31:22 +07: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
c307433900
Fixed nicehash nonce overflow for CPU backend. 2020-02-06 17:19:08 +07:00
XMRig
97e6a6669f
Merge branch 'network-stats' into dev 2020-02-05 18:44:43 +07:00
XMRig
030d6e5962
Update year. 2020-02-01 20:24:00 +07:00
SChernykh
269d12d1be Fixed setThreadAffinity()
Added 1 ms sleep to guarantee thread rescheduling to the correct CPU core before returning.
2020-01-28 19:39:02 +01:00
XMRig
c5968e8896
New NetworkState. 2020-01-16 21:48:39 +07:00
XMRig
c6530e352f
Code cleanup. 2020-01-07 10:13:01 +07:00
XMRig
083c61754b
Fixed unwanted resume after dataset change. 2020-01-03 05:36:22 +07:00
XMRig
d64bbfa9c0
#1469 Fixed build with gcc 4.8. 2019-12-30 16:04:07 +07:00
XMRig
4a9a7434f6
Revert Platform::setProcessPriority 2019-12-27 03:19:03 +07:00
XMRig
2e4a83547d
Add console title for Windows. 2019-12-24 02:04:34 +07:00
XMRig
ea7aa4ccef
Fixed MSVC build. 2019-12-23 00:37:43 +07:00
XMRig
f9d07229b4
Add extra variables. 2019-12-23 00:28:57 +07:00
XMRig
5bd6a1c028
Added ENV support for "user", "pass" and "rig-id" fields. 2019-12-22 19:09:30 +07:00
XMRig
356e666e61
Added Env class. 2019-12-22 18:09:26 +07:00
XMRig
bdf12bca0f
Make Process::location static. 2019-12-22 13:26:06 +07:00
XMRig
c44ae06d54
Added --randomx-no-rdmsr command line option. 2019-12-21 23:57:25 +07:00
XMRig
98cfe7ed37
Added extra error message. 2019-12-20 23:44:32 +07:00
XMRig
5142a406b0
Less error prone log interface. 2019-12-18 02:20:31 +07:00
XMRig
3cc8b19ca0
Added command line option --verbose. 2019-12-17 22:03:50 +07:00
XMRig
f8865b1498
Added "verbose" option. 2019-12-17 21:46:11 +07:00
XMRig
a5089638ea
#1421 Added limit for maximum send buffer size. 2019-12-17 03:18:25 +07:00
XMRig
33e7a54c29
#1421 Use dynamic size send buffer. 2019-12-16 14:09:03 +07:00
xmrig
06c70a7cd9
Merge pull request #1418 from jtgrassie/buffer-size
increase stratum send buffer size
2019-12-15 15:38:27 +07:00
Jethro Grassie
348916040c
increase stratum send buffer size 2019-12-15 03:23:07 -05:00
XMRig
5d0fd2dc8e
Unified Linux/Windows MSR log messages. 2019-12-15 01:32:41 +07:00
XMRig
c62ac89081
Fixed potential division by 0. 2019-12-12 14:09:18 +07:00
XMRig
96cfdda9a1
Added RandomX option "wrmsr" with command line equivalent --randomx-wrmsr=N. 2019-12-10 23:57:29 +07:00
XMRig
6163d27f14
Added command line option --randomx-1gb-pages 2019-12-10 11:56:31 +07:00
XMRig
f1827e925e
Removed strdup from FileLog. 2019-12-06 11:56:13 +07:00
XMRig
b8762ed428
#1306 Added some network workarounds. 2019-12-06 10:56:43 +07:00
XMRig
a4d35065d9
Use normalize for load average values. 2019-12-04 10:25:26 +07:00
XMRig
901f1a7ab1
Option "yield" enabled by default and added command line option --cpu-no-yield. 2019-12-04 08:50:54 +07:00
XMRig
05421057ae
#1363 Fixed main thread priority. 2019-12-03 18:28:10 +07:00
XMRig
c529770d38
Use uv_get_free_memory. 2019-11-29 13:12:36 +07:00
XMRig
64fb4f265b
Added option "mode" (or --randomx-mode) for RandomX. 2019-11-29 13:00:17 +07:00
XMRig
ada99a6dd1
Added "resources" field to API. 2019-11-29 10:50:30 +07:00
XMRig
7d1be2d234
Code cleanup. 2019-11-29 10:17:05 +07:00
XMRig
2b87a10cf2
Fixed zero size buffers handling. 2019-11-28 07:28:28 +07:00
XMRig
d224c0e7d8
Minor changes, based on https://github.com/xmrig/xmrig-nvidia/pull/305 2019-11-28 05:14:17 +07:00
XMRig
cd723e32e8
#1307 Fixed incorrect job method for SelfSelectClient. 2019-11-21 15:44:39 +07:00
XMRig
5d559971ca Fixed isTLS method. 2019-11-20 15:36:02 +07:00
XMRig
ed4cfd55ac #1274 Added --cuda-devices command line option. 2019-11-13 00:40:22 +07:00
XMRig
9d679462ed Sync changes with proxy. 2019-11-01 21:51:03 +07:00
XMRig
26ed6254dc Added "health-print-time" option. 2019-11-01 04:08:52 +07:00
XMRig
23ebcfb2db Display backend for shares. 2019-10-29 15:43:13 +07:00
XMRig
9dfa38f1e7 Added command line options --cuda and --cuda-loader. 2019-10-29 00:42:49 +07:00
XMRig
ab7f0cb4cc Merge branch 'feature-cuda' into evo 2019-10-28 13:29:15 +07:00
XMRig
f6f480264e Merge branch 'evo' of github.com:xmrig/xmrig into evo 2019-10-28 13:28:43 +07:00
SChernykh
7cb9b92347 Fix VS2019 compilation 2019-10-26 13:32:30 +02:00
XMRig
bb2cc0deb7 Added CudaWorker and CudaLaunchData. 2019-10-26 17:37:54 +07:00
XMRig
dc705d88ab Fixed "coin" option for self select mode. 2019-10-22 16:54:36 +07:00
XMRig
c29fa62260 #1241 Revert changes in ConsoleLog for Windows. 2019-10-20 23:59:29 +07:00
XMRig
6b40ede2bc Don't add "self-select" field to generated config if it not supported. 2019-10-19 02:39:46 +07:00
XMRig
d783febad6 Added error handling for self-select mode. 2019-10-17 00:57:35 +07:00
XMRig
83a5923568 Added send with callback. 2019-10-16 19:34:33 +07:00
XMRig
3752551e53 Self-select initial working implementation. 2019-10-12 19:48:18 +07:00
XMRig
e9d2e194f3 Added SelfSelectClient stub. 2019-10-12 00:24:47 +07:00
XMRig
72c45d882b Prepare for self select. 2019-10-11 14:55:12 +07:00
XMRig
4dc7a8103b Added class Url. 2019-10-11 09:58:11 +07:00
XMRig
61ab47cc95 Improved CPU profile generation. 2019-10-09 12:58:11 +07:00
XMRig
bb7bff9115 Added command line option --cpu-memory-pool. 2019-10-09 08:45:06 +07:00
XMRig
c4170fbb86 Removed unnecessary error message. 2019-10-07 21:11:58 +07:00
XMRig
72c9d94390 Use hwloc for set thread affinity. 2019-10-06 14:40:42 +07:00
XMRig
8af1075c98 Removed uv_try_write for console log. 2019-10-06 11:03:01 +07:00
XMRig
7c463849cc Added config option "cpu/max-threads-hint" and command line option "--cpu-max-threads-hint". 2019-09-28 02:02:20 +07:00
XMRig
daed23422e Merge branch 'dev' into evo 2019-09-27 23:40:36 +07:00
XMRig
550e332909 Fixed coin option in daemon mode. 2019-09-27 23:39:57 +07:00
XMRig
43f26dcd76 Merge branch 'dev' into evo 2019-09-27 05:54:33 +07:00
XMRig
e1d1a5226c Added coin option. 2019-09-27 05:41:45 +07:00
XMRig
0f367ab117 Added "restricted" field to "GET /1/summary" request. 2019-09-26 17:29:24 +07:00
XMRig
d6f0555771 Added command line option --opencl-devices (hint mode) 2019-09-24 23:01:03 +07:00
XMRig
2604705bab Added command line option --opencl. 2019-09-24 03:14:35 +07:00
XMRig
0f05936e63 Removed option --http-enabled. 2019-09-23 04:53:33 +07:00
XMRig
637301d340 Improved/restructured --help output. 2019-09-23 03:47:40 +07:00
XMRig
2e49930b94 Optimized initialization. 2019-09-21 19:26:27 +07:00
XMRig
a4bc548fe5 Merge branch 'dev' into evo 2019-09-21 03:24:34 +07:00
XMRig
e57798360f #1183 Disable stdin handler if not available. 2019-09-21 03:22:19 +07:00
XMRig
f6752310b4 Backport fixes from v4. 2019-09-20 14:54:18 +07:00
XMRig
ed11c0a6da Fixed config file permissions after write (MSYS only). 2019-09-20 02:54:33 +07:00
XMRig
7f0891a0f0 Merge branch 'dev' into feature-opencl 2019-09-12 13:16:42 +07:00
XMRig
95daab4bc0 Implemented VM mode for OpenCL RandomX. 2019-09-12 00:01:03 +07:00
XMRig
4c90f9960e OpenCL RandomX WIP 2019-09-11 15:48:02 +07:00
XMRig
57f82f7504 cn/r part 2 of 2. 2019-09-04 11:23:04 +07:00
XMRig
a8c2e908a2 #1158 Potential fix for segmentation fault. 2019-09-03 15:31:32 +07:00
XMRig
ce3e2401cb Merge branch 'dev' into feature-opencl 2019-08-31 09:36:58 +07:00
XMRig
13e38df391 Fixed command line options for single pool, free order allowed again. 2019-08-31 06:18:32 +07:00
XMRig
71329718e4 Merge branch 'dev' into feature-opencl 2019-08-30 16:47:51 +07:00
XMRig
372183555b #1141 Fixed log in background mode. 2019-08-30 14:46:38 +07:00
XMRig
5678d15841 #1138 Fixed reconnect. 2019-08-30 10:04:12 +07:00
XMRig
df91a85128 Fixed bug in keepalive feature. 2019-08-30 07:09:14 +07:00
XMRig
39e69c2723 #1133 Fixed syslog regression. 2019-08-23 00:16:11 +07:00
XMRig
166a68244e Added platform option. 2019-08-19 22:35:58 +07:00
XMRig
476e5dcb18 Improved --print-platforms option. 2019-08-19 02:49:43 +07:00
XMRig
d8d173db4d Added OclPlatform class. 2019-08-18 04:36:34 +07:00
XMRig
d89404ee6d Move files. 2019-08-18 04:02:31 +07:00
XMRig
bd07f1d455 Merge branch 'dev' into feature-opencl 2019-08-17 23:33:48 +07:00
XMRig
ed3a39dc74 Added version field to config file. 2019-08-17 04:27:37 +07:00
XMRig
36da54b8ce Added initial OpenCL stub. 2019-08-13 01:44:52 +07:00
XMRig
6955f4a484 Added pause and resume methods via JSON RPC 2.0 API. 2019-08-12 21:13:38 +07:00
XMRig
2ec257284f Common API code moved to base/api. 2019-08-12 16:52:16 +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
3c5cb142cb Added "/2/config" alias for config API. 2019-08-06 13:21:39 +07:00
XMRig
3543abcc3c Fixed crash and added error message about seed_hash field. 2019-08-05 17:48:12 +07:00
XMRig
a8e86c3530 More compact JSON formatting. 2019-08-04 22:07:05 +07:00
XMRig
f7ea4b6dbd Always stop mining threads in RandomX dataset change upcoming. 2019-08-02 16:44:55 +07:00
XMRig
718be7e9aa Fixed 32-bit. 2019-08-02 10:54:00 +07:00
XMRig
84ff8af4bd Optimized RandomX initialization and switching. 2019-08-01 20:37:05 +07:00
XMRig
bd739d217b Added command line option --export-topology. 2019-07-30 09:06:50 +07:00
XMRig
bbcacbc1d4 Added command line options "--randomx-init" and "--randomx-no-numa". 2019-07-28 11:01:30 +07:00
XMRig
a6a0995d54 Better method to get hwloc version. 2019-07-23 14:19:41 +07:00
XMRig
91f732794b HWLOC_VERSION not always defined. 2019-07-23 08:06:04 +07:00
XMRig
4263c6c381 Added hwloc version display. 2019-07-23 07:45:00 +07:00
XMRig
3fb180f04e Removed --variant option, use --algo instead. 2019-07-20 05:24:21 +07:00
XMRig
222cebba71 Fixed command line config and removed --max-cpu-usage and --safe. 2019-07-20 00:37:15 +07:00
XMRig
ca7fb33848 Removed class ApiRouter. 2019-07-19 04:41:48 +07:00
XMRig
691b2fabbf Restored algorithm verification. 2019-07-19 00:39:27 +07:00
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
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
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
f42adafee0 Added classes Rx, RxAlgo, RxCache, RxDataset. 2019-07-10 01:53:05 +07:00
XMRig
9b14caa9f9 Merge branch 'evo' into feature-per-pool-algo 2019-07-06 10:49:31 +07:00
XMRig
ee9538ab22 Fixed, client was stuck on some pools. 2019-07-02 22:38:09 +07:00
SChernykh
6eb9d0963b Integrated RandomX, added RandomXL (Loki) 2019-07-01 20:11:51 +02:00
XMRig
dd875c7c37 Added class CpuConfig. 2019-06-28 22:28:40 +07:00
XMRig
188338c493 Merge branch 'evo' into feature-per-pool-algo 2019-06-26 15:44:52 +07:00
XMRig
b0a1481909 Sync changes with proxy. 2019-06-25 10:35:10 +07:00
XMRig
3d17ba6af6 Merge branch 'feature-randomx' into evo 2019-06-18 05:33:30 +07: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
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