mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 23:31:32 +02:00
define startMining()
This commit is contained in:
@@ -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
@@ -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.
|
||||
// */
|
||||
|
||||
Reference in New Issue
Block a user