mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-02 02:03:03 -05:00
Removed --save-config option and added calibrate algo control options to config file
This commit is contained in:
@@ -48,7 +48,6 @@ xmrig::CommonConfig::CommonConfig() :
|
||||
m_dryRun(false),
|
||||
m_calibrateAlgo(false),
|
||||
m_calibrateAlgoTime(60),
|
||||
m_saveConfig(false),
|
||||
m_syslog(false),
|
||||
|
||||
# ifdef XMRIG_PROXY_PROJECT
|
||||
@@ -191,10 +190,6 @@ bool xmrig::CommonConfig::parseBoolean(int key, bool enable)
|
||||
m_calibrateAlgo = enable;
|
||||
break;
|
||||
|
||||
case IConfig::SaveConfigKey: /* --save-config */
|
||||
m_saveConfig = enable;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,6 @@ public:
|
||||
inline bool isDryRun() const { return m_dryRun; }
|
||||
inline bool isCalibrateAlgo() const { return m_calibrateAlgo; }
|
||||
inline int calibrateAlgoTime() const { return m_calibrateAlgoTime; }
|
||||
inline bool isSaveConfig() const { return m_saveConfig; }
|
||||
inline bool isSyslog() const { return m_syslog; }
|
||||
inline const char *apiToken() const { return m_apiToken.data(); }
|
||||
inline const char *apiWorkerId() const { return m_apiWorkerId.data(); }
|
||||
@@ -93,7 +92,6 @@ protected:
|
||||
bool m_dryRun;
|
||||
bool m_calibrateAlgo;
|
||||
int m_calibrateAlgoTime;
|
||||
bool m_saveConfig;
|
||||
bool m_syslog;
|
||||
bool m_watch;
|
||||
int m_apiPort;
|
||||
|
||||
Reference in New Issue
Block a user