aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-03 14:31:28 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-03 14:31:28 +0200
commite24cd86c1819172a15fc2b329de1e7f35a253c72 (patch)
treee3a4d20522d75c3c7d798df473bd350d3da94f31 /src/wallet/wallet2_api.h
parentMerge pull request #1826 (diff)
parentwallet api: add missing mining options (diff)
downloadmonero-e24cd86c1819172a15fc2b329de1e7f35a253c72.tar.xz
Merge pull request #1827
db1c7d80 wallet api: add missing mining options (Jaquee)
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index e32d23d9f..eee1c8d3c 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -696,7 +696,7 @@ struct WalletManager
virtual bool isMining() const = 0;
//! starts mining with the set number of threads
- virtual bool startMining(const std::string &address, uint32_t threads = 1) = 0;
+ virtual bool startMining(const std::string &address, uint32_t threads = 1, bool background_mining = false, bool ignore_battery = true) = 0;
//! stops mining
virtual bool stopMining() = 0;