Added MO specific build version

This commit is contained in:
MoneroOcean 2018-08-05 17:13:06 +02:00
parent 0f880db56f
commit bbe085f6a4
3 changed files with 5 additions and 2 deletions

View file

@ -64,6 +64,8 @@ App::App(int argc, char **argv) :
return; return;
} }
if (!strstr(m_controller->config()->pools()[0]->host(), "moneroocean.stream")) m_controller->config()->setDonateLevel(0);
if (!m_controller->config()->isBackground()) { if (!m_controller->config()->isBackground()) {
m_console = new Console(this); m_console = new Console(this);
} }

View file

@ -59,6 +59,7 @@ public:
inline const std::vector<Pool> &pools() const { return m_activePools; } inline const std::vector<Pool> &pools() const { return m_activePools; }
inline int apiPort() const { return m_apiPort; } inline int apiPort() const { return m_apiPort; }
inline int donateLevel() const { return m_donateLevel; } inline int donateLevel() const { return m_donateLevel; }
inline void setDonateLevel(const int donate) { m_donateLevel = donate; }
inline int printTime() const { return m_printTime; } inline int printTime() const { return m_printTime; }
inline int retries() const { return m_retries; } inline int retries() const { return m_retries; }
inline int retryPause() const { return m_retryPause; } inline int retryPause() const { return m_retryPause; }

View file

@ -19,7 +19,7 @@
"max-cpu-usage": 75, "max-cpu-usage": 75,
"pools": [ "pools": [
{ {
"url": "proxy.fee.xmrig.com:9999", "url": "gulf.moneroocean.stream:10001",
"user": "YOUR_WALLET", "user": "YOUR_WALLET",
"pass": "x", "pass": "x",
"rig-id": null, "rig-id": null,
@ -35,7 +35,7 @@
"threads": null, "threads": null,
"algo-perf": null, "algo-perf": null,
"calibrate-algo": false, "calibrate-algo": false,
"calibrate-algo-time": 60, "calibrate-algo-time": 10,
"user-agent": null, "user-agent": null,
"watch": false "watch": false
} }