From 25e82545f35b5bfe8beb17220c232fb89411d4da Mon Sep 17 00:00:00 2001 From: benevanoff Date: Mon, 5 Apr 2021 13:41:04 -0500 Subject: expose set_offline to wallet api --- src/wallet/api/wallet2_api.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/wallet/api/wallet2_api.h') 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 &outputs, bool add) = 0; -- cgit v1.2.3