mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 00:15:04 -05:00
Compare commits
9 Commits
v2.6.0-bet
...
v2.5.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d9025f2ca | ||
|
|
38874fbb0a | ||
|
|
90a09f20b3 | ||
|
|
7365e0486b | ||
|
|
593056113c | ||
|
|
888d80240d | ||
|
|
0814c28998 | ||
|
|
1c2b5acb2c | ||
|
|
d24babb96e |
@@ -1,3 +1,8 @@
|
|||||||
|
# v2.5.3
|
||||||
|
- Fixed critical bug, in some cases miner was can't recovery connection and switch to failover pool, version 2.5.2 affected. If you use v2.6.0-beta3 this issue doesn't concern you.
|
||||||
|
- [#499](https://github.com/xmrig/xmrig/issues/499) IPv6 support disabled for internal HTTP API.
|
||||||
|
- Added workaround for nicehash.com if you use `cryptonightv7.<region>.nicehash.com` option `variant=1` will be set automatically.
|
||||||
|
|
||||||
# v2.5.2
|
# v2.5.2
|
||||||
- [#448](https://github.com/xmrig/xmrig/issues/478) Fixed broken reconnect.
|
- [#448](https://github.com/xmrig/xmrig/issues/478) Fixed broken reconnect.
|
||||||
|
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -1,6 +1,6 @@
|
|||||||
# XMRig
|
# XMRig
|
||||||
|
|
||||||
:warning: **You must update miners to version 2.5 before April 6 due [Monero PoW change](https://getmonero.org/2018/02/11/PoW-change-and-key-reuse.html).**
|
:warning: **If you mine Monero, Aeon, Sumokoin, Turtlecoin, Stellite, GRAFT, Haven Protocol, IPBC, [PLEASE READ](https://github.com/xmrig/xmrig/issues/482)!** :warning:
|
||||||
|
|
||||||
[](https://github.com/xmrig/xmrig/releases)
|
[](https://github.com/xmrig/xmrig/releases)
|
||||||
[](https://github.com/xmrig/xmrig/releases)
|
[](https://github.com/xmrig/xmrig/releases)
|
||||||
@@ -124,10 +124,10 @@ Please note performance is highly dependent on system load. The numbers above ar
|
|||||||
## Release checksums
|
## Release checksums
|
||||||
### SHA-256
|
### SHA-256
|
||||||
```
|
```
|
||||||
b070d06a3615f3db67ad3beab43d6d21f3c88026aa2b4726a93df47145cd30ec xmrig-2.5.2-xenial-amd64.tar.gz/xmrig-2.5.2/xmrig
|
5ae25d05b7735dd6e2482e8dba0cf0f5d10f9738855c4ad4eaf449b8ccd2e5be xmrig-2.5.3-xenial-amd64.tar.gz/xmrig-2.5.3/xmrig
|
||||||
4852135d3f04fd450ba39abce51ca40ff9131d222220c8b30804be05f6679295 xmrig-2.5.2-gcc-win32.zip/xmrig.exe
|
f11f3b381425ca4181c425d5b693407431f964759bb903f66b7cd2345fcdd786 xmrig-2.5.3-gcc-win32.zip/xmrig.exe
|
||||||
284309d07f08261af19c937ece6d2031910d9124a7359c207ded65890b2d7c5f xmrig-2.5.2-gcc-win64.zip/xmrig.exe
|
67df8b89714e2921931092861361dbae4716c4ab872c767c92adae24dca01514 xmrig-2.5.3-gcc-win64.zip/xmrig.exe
|
||||||
e1dc46158a578fb030538fb06e5663a6acc5763545fb447a00ce0a6b388c5226 xmrig-2.5.2-msvc-win64.zip/xmrig.exe
|
52bf6e0ef72c84282f4df411125384444c521ed9143e5d8c7e7e445d7d55e143 xmrig-2.5.3-msvc-win64.zip/xmrig.exe
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contacts
|
## Contacts
|
||||||
|
|||||||
@@ -51,10 +51,6 @@ bool Httpd::start()
|
|||||||
if (MHD_is_feature_supported(MHD_FEATURE_EPOLL)) {
|
if (MHD_is_feature_supported(MHD_FEATURE_EPOLL)) {
|
||||||
flags = MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY;
|
flags = MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_INTERNALLY_LINUX_ONLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (MHD_is_feature_supported(MHD_FEATURE_IPv6)) {
|
|
||||||
flags |= MHD_USE_DUAL_STACK;
|
|
||||||
}
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
m_daemon = MHD_start_daemon(flags, m_port, nullptr, nullptr, &Httpd::handler, this, MHD_OPTION_END);
|
m_daemon = MHD_start_daemon(flags, m_port, nullptr, nullptr, &Httpd::handler, this, MHD_OPTION_END);
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ void Log::message(Log::Level level, const char* fmt, ...)
|
|||||||
backend->message(level, fmt, copy);
|
backend->message(level, fmt, copy);
|
||||||
va_end(copy);
|
va_end(copy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
va_end(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -205,28 +205,7 @@ bool Client::close()
|
|||||||
|
|
||||||
setState(ClosingState);
|
setState(ClosingState);
|
||||||
|
|
||||||
uv_stream_t *stream = reinterpret_cast<uv_stream_t*>(m_socket);
|
if (uv_is_closing(reinterpret_cast<uv_handle_t*>(m_socket)) == 0) {
|
||||||
|
|
||||||
if (uv_is_readable(stream) == 1) {
|
|
||||||
uv_read_stop(stream);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (uv_is_writable(stream) == 1) {
|
|
||||||
const int rc = uv_shutdown(new uv_shutdown_t, stream, [](uv_shutdown_t* req, int status) {
|
|
||||||
if (uv_is_closing(reinterpret_cast<uv_handle_t*>(req->handle)) == 0) {
|
|
||||||
uv_close(reinterpret_cast<uv_handle_t*>(req->handle), Client::onClose);
|
|
||||||
}
|
|
||||||
|
|
||||||
delete req;
|
|
||||||
});
|
|
||||||
|
|
||||||
assert(rc == 0);
|
|
||||||
|
|
||||||
if (rc != 0) {
|
|
||||||
onClose();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
uv_close(reinterpret_cast<uv_handle_t*>(m_socket), Client::onClose);
|
uv_close(reinterpret_cast<uv_handle_t*>(m_socket), Client::onClose);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -180,6 +180,10 @@ void Url::adjust(int algo)
|
|||||||
if (strstr(m_host, ".nicehash.com")) {
|
if (strstr(m_host, ".nicehash.com")) {
|
||||||
m_keepAlive = false;
|
m_keepAlive = false;
|
||||||
m_nicehash = true;
|
m_nicehash = true;
|
||||||
|
|
||||||
|
if (strstr(m_host, "cryptonightv7.")) {
|
||||||
|
m_variant = xmrig::VARIANT_V1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(m_host, ".minergate.com")) {
|
if (strstr(m_host, ".minergate.com")) {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
#define APP_ID "xmrig"
|
#define APP_ID "xmrig"
|
||||||
#define APP_NAME "XMRig"
|
#define APP_NAME "XMRig"
|
||||||
#define APP_DESC "XMRig CPU miner"
|
#define APP_DESC "XMRig CPU miner"
|
||||||
#define APP_VERSION "2.5.2"
|
#define APP_VERSION "2.5.3"
|
||||||
#define APP_DOMAIN "xmrig.com"
|
#define APP_DOMAIN "xmrig.com"
|
||||||
#define APP_SITE "www.xmrig.com"
|
#define APP_SITE "www.xmrig.com"
|
||||||
#define APP_COPYRIGHT "Copyright (C) 2016-2018 xmrig.com"
|
#define APP_COPYRIGHT "Copyright (C) 2016-2018 xmrig.com"
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#define APP_VER_MAJOR 2
|
#define APP_VER_MAJOR 2
|
||||||
#define APP_VER_MINOR 5
|
#define APP_VER_MINOR 5
|
||||||
#define APP_VER_BUILD 2
|
#define APP_VER_BUILD 3
|
||||||
#define APP_VER_REV 0
|
#define APP_VER_REV 0
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
|||||||
Reference in New Issue
Block a user