preparations for background mining

requires #1827
This commit is contained in:
Jaquee
2017-03-02 15:44:37 +01:00
parent 988e299290
commit 223f09dc94
5 changed files with 50 additions and 5 deletions

View File

@@ -114,7 +114,7 @@ public:
Q_INVOKABLE double miningHashRate() const;
Q_INVOKABLE bool isMining() const;
Q_INVOKABLE bool startMining(const QString &address, quint32 threads);
Q_INVOKABLE bool startMining(const QString &address, quint32 threads, bool backgroundMining, bool ignoreBattery);
Q_INVOKABLE bool stopMining();
// QML missing such functionality, implementing these helpers here