aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorbenevanoff <benjaminevanoff99@gmail.com>2021-04-05 13:41:04 -0500
committerbenevanoff <benjaminevanoff99@gmail.com>2021-04-05 13:41:04 -0500
commit25e82545f35b5bfe8beb17220c232fb89411d4da (patch)
tree4d62467b0ac3b3b990b2608ad919f60b887c486b /src/wallet/api/wallet2_api.h
parentMerge pull request #7260 (diff)
downloadmonero-25e82545f35b5bfe8beb17220c232fb89411d4da.tar.xz
expose set_offline to wallet api
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index 44928a422..f8cfe0599 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -1007,6 +1007,12 @@ struct Wallet
* \return true on success
*/
virtual bool rescanSpent() = 0;
+
+ /*
+ * \brief setOffline - toggle set offline on/off
+ * \param offline - true/false
+ */
+ virtual void setOffline(bool offline) = 0;
//! blackballs a set of outputs
virtual bool blackballOutputs(const std::vector<std::string> &outputs, bool add) = 0;