diff --git a/src/wallet/MoneroWallet.cpp b/src/wallet/MoneroWallet.cpp index 298fd6c..e976bbb 100644 --- a/src/wallet/MoneroWallet.cpp +++ b/src/wallet/MoneroWallet.cpp @@ -1011,6 +1011,11 @@ namespace monero { return syncAux(startHeight, boost::none, listener); } + void MoneroWallet::setAutoSync(bool autoSync) { + cout << "setAutoSync(" << autoSync << ")" << endl; + throw runtime_error("Not implemented"); + } + // rescanBlockchain // isMultisigImportNeeded diff --git a/src/wallet/MoneroWallet.h b/src/wallet/MoneroWallet.h index fe3310b..cf43c94 100644 --- a/src/wallet/MoneroWallet.h +++ b/src/wallet/MoneroWallet.h @@ -343,6 +343,13 @@ namespace monero { MoneroSyncResult sync(uint64_t startHeight, MoneroSyncListener& listener); + /** + * Enable or disable automatic synchronization. + * + * @param autoSync specifies if automatic synchronization is enabled or disabled + */ + void setAutoSync(bool autoSync); + // /** // * Rescan the blockchain from scratch, losing any information which cannot be recovered from // * the blockchain itself.