Alloy algo-perf for non moneroocean.stream pools

This commit is contained in:
MoneroOcean 2020-07-04 22:45:10 -07:00
parent 316af8c2b9
commit be3388b5ea
4 changed files with 8 additions and 10 deletions

View file

@ -1,5 +1,5 @@
/* XMRig
* Copyright 2018-2019 MoneroOcean <https://github.com/MoneroOcean>, <support@moneroocean.stream>
* Copyright 2018-2020 MoneroOcean <https://github.com/MoneroOcean>, <support@moneroocean.stream>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -1,5 +1,5 @@
/* XMRig
* Copyright 2018-2019 MoneroOcean <https://github.com/MoneroOcean>, <support@moneroocean.stream>
* Copyright 2018-20120 MoneroOcean <https://github.com/MoneroOcean>, <support@moneroocean.stream>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

View file

@ -176,15 +176,13 @@ void xmrig::Network::onLogin(IStrategy *, IClient *client, rapidjson::Document &
params.AddMember("algo", algo, allocator);
# ifdef XMRIG_FEATURE_BENCHMARK
if (strstr(client->pool().host(), "moneroocean.stream")) {
Value algo_perf(kObjectType);
Value algo_perf(kObjectType);
for (const auto &a : algorithms) {
algo_perf.AddMember(StringRef(a.shortName()), m_controller->config()->benchmark().algo_perf[a.id()], allocator);
}
params.AddMember("algo-perf", algo_perf, allocator);
for (const auto &a : algorithms) {
algo_perf.AddMember(StringRef(a.shortName()), m_controller->config()->benchmark().algo_perf[a.id()], allocator);
}
params.AddMember("algo-perf", algo_perf, allocator);
# endif
}

View file

@ -28,7 +28,7 @@
#define APP_ID "xmrig"
#define APP_NAME "XMRig"
#define APP_DESC "XMRig miner"
#define APP_VERSION "6.2.2-mo1"
#define APP_VERSION "6.2.2-mo2"
#define APP_DOMAIN "xmrig.com"
#define APP_SITE "www.xmrig.com"
#define APP_COPYRIGHT "Copyright (C) 2016-2020 xmrig.com"