define startMining()

This commit is contained in:
woodser
2019-07-02 22:01:21 -04:00
parent a00c4a9ee5
commit 9ae62176fb
2 changed files with 15 additions and 10 deletions
+5
View File
@@ -1599,6 +1599,11 @@ namespace monero {
return wallet2->import_outputs_from_str(blob);
}
void MoneroWallet::startMining(uint64_t numThreads, boost::optional<bool> backgroundMining, boost::optional<bool> ignoreBattery) {
cout << "startMining" << endl;
throw runtime_error("Not implemented");
}
void MoneroWallet::save() {
cout << "save()" << endl;
wallet2->store();
+10 -10
View File
@@ -1029,16 +1029,16 @@ namespace monero {
// * @return the attribute's value
// */
// public string getAttribute(string key);
//
// /**
// * Start mining.
// *
// * @param numThreads is the number of threads created for mining (optional)
// * @param backgroundMining specifies if mining should occur in the background (optional)
// * @param ignoreBattery specifies if the battery should be ignored for mining (optional)
// */
// public void startMining(Integer numThreads, Boolean backgroundMining, Boolean ignoreBattery);
//
/**
* Start mining.
*
* @param numThreads is the number of threads created for mining (optional)
* @param backgroundMining specifies if mining should occur in the background (optional)
* @param ignoreBattery specifies if the battery should be ignored for mining (optional)
*/
void startMining(uint64_t numThreads, boost::optional<bool> backgroundMining, boost::optional<bool> ignoreBattery);
// /**
// * Stop mining.
// */