forked from Public/monero-gui
p2pool: Restart monerod only when needed and with proper args
This commit is contained in:
@@ -58,6 +58,8 @@ public:
|
||||
Q_INVOKABLE void exit();
|
||||
Q_INVOKABLE QVariantMap validateDataDir(const QString &dataDir) const;
|
||||
Q_INVOKABLE bool checkLmdbExists(QString datadir);
|
||||
Q_INVOKABLE QString getArgs(const QString &dataDir);
|
||||
Q_INVOKABLE bool checkUnderSystemd();
|
||||
|
||||
private:
|
||||
|
||||
@@ -82,6 +84,7 @@ private:
|
||||
QString m_monerod;
|
||||
bool m_app_exit = false;
|
||||
bool m_noSync = false;
|
||||
QString args = "";
|
||||
|
||||
mutable FutureScheduler m_scheduler;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user