Skip to content

Commit

Permalink
Fixed algo perf for updated upstream miner
Browse files Browse the repository at this point in the history
  • Loading branch information
MoneroOcean committed Mar 5, 2021
1 parent a2970bc commit 2398f8c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/base/net/stratum/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,6 @@ void xmrig::Client::getjob()
using namespace rapidjson;

if (!m_rpcId) return;
if (m_getjob && m_getjob + 30*1000 < Chrono::steadyMSecs()) return;
m_getjob = Chrono::steadyMSecs();

Document doc(kObjectType);
auto &allocator = doc.GetAllocator();
Expand Down
1 change: 0 additions & 1 deletion src/base/net/stratum/Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ class Client : public BaseClient, public IDnsListener, public ILineListener, pub
String m_rpcId;
Tls *m_tls = nullptr;
uint64_t m_expire = 0;
uint64_t m_getjob = 0;
uint64_t m_jobs = 0;
uint64_t m_keepAlive = 0;
uintptr_t m_key = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#define APP_ID "xmrig-proxy"
#define APP_NAME "xmrig-proxy"
#define APP_DESC "XMRig Stratum proxy"
#define APP_VERSION "6.4.0-mo6"
#define APP_VERSION "6.4.0-mo7"
#define APP_DOMAIN "xmrig.com"
#define APP_SITE "www.xmrig.com"
#define APP_COPYRIGHT "Copyright (C) 2016-2020 xmrig.com"
Expand Down

0 comments on commit 2398f8c

Please sign in to comment.