Commit graph

205 commits

Author SHA1 Message Date
XMRig
6f4ed5f66d #478 Fixed totally broken reconnect. 2018-03-26 11:47:01 +07:00
XMRig
89608ade3b Removed unused private field in FailoverStrategy class. 2018-03-24 13:45:54 +07:00
XMRig
673a1291e1 Randomized donation start time. 2018-03-24 09:41:32 +07:00
XMRig
8aa73318c8 Backport changes from proxy. 2018-03-24 00:10:39 +07:00
XMRig
e58429a044 Merge branch 'feature-donate-failover' 2018-03-17 17:57:02 +07:00
XMRig
ed5bf3420c Add donate pool IP address to avoid DNS issues. 2018-03-17 17:55:11 +07:00
XMRig
de5016dda8 #459 Fix issue with xmr.f2pool.com 2018-03-17 16:30:41 +07:00
XMRig
1cf1d616c6 DonateStrategy now use FailoverStrategy internally and possible to use any other IStrategy. 2018-03-17 14:33:30 +07:00
XMRig
c46c019c83 Unify network strategies with upcoming proxy. 2018-03-17 05:03:14 +07:00
XMRig
a2f747fb0c Pass all options to network strategies in constructor. 2018-03-17 04:16:08 +07:00
XMRig
7ab81ef19a #456 Don't show error "JSON decode failed" in quiet mode. 2018-03-17 01:07:53 +07:00
XMRig
f9a3315d75 Fixes for 32 bit gcc builds. 2018-03-14 16:58:39 +07:00
XMRig
a01b4d0566 Simplify variant selection. 2018-03-13 17:50:09 +07:00
XMRig
07f0a107d3 Change port for AEON donate. 2018-03-13 02:17:19 +07:00
XMRig
125072a30e Added test hashes for AEON. 2018-03-13 01:29:31 +07:00
XMRig
aec31c43c0 Better v1 PoW implementation, added variant option. 2018-03-12 22:29:44 +07:00
XMRig
244ca93aa4 Change donation address to separate old and new versions. 2018-03-09 13:15:55 +07:00
XMRig
84970e9e9b Added coin field support added in xmrig-proxy 2.5. 2018-03-09 00:50:06 +07:00
XMRig
37ac1aa62c Automatically enable nicehash when use with upcoming xmrig-proxy 2.5. 2018-03-07 21:56:43 +07:00
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
df6a397e52 Update copyright and move version into Job class. 2018-03-06 17:06:07 +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
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
15fe6ce23f Remove compilation warnings under MSVC 2018-01-27 11:42:22 +01:00
XMRig
1b025f681c Remove extra semicolon. 2018-01-02 13:41:00 +07:00
XMRig
fd029201b0 v2.4.2. 2017-10-23 15:32:07 +03:00
XMRig
1af1ba6b5f #153 Force reconnect when duplicated job received. 2017-10-16 01:26:55 +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
f02b98efe7 Fix clang warnings and job comparison bug. 2017-10-07 18:58:04 +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
fd98dc236a Added support to build without API. 2017-09-02 12:12:40 +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
e3e52f6d06 #62 Don't send the login to the dev pool. 2017-08-18 06:08:35 +03:00
XMRig
9cb7d727c2 Force close connection if IP address banned. 2017-08-16 15:14:21 +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
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
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
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
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
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
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
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
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
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
c0dcfc2a97 Initial multiple pools support [2/2]. 2017-06-27 06:32:17 +03:00
XMRig
952017ae7a Initial multiple pools support [1/2]. 2017-06-26 21:13:05 +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
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
Admin
faf14f5e5a Fixes for OS X. 2017-06-14 21:13:04 +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
981e043ada Add DoubleWorker class. 2017-06-13 19:58:31 +03:00
XMRig
42bf85d10b Fixes for MSVC. 2017-06-13 06:31:25 +03:00
XMRig
3df545cfc5 Initial MSVC support. 2017-06-12 16:19:07 +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
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