aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-07-19 00:15:15 +0200
committerrating89us <rating89us@rating89us.com>2021-07-19 00:30:36 +0200
commita3d2b71ee98905f96a12e312a769c8614dcba0bf (patch)
tree43e211b11f67ae6b5acd3d40715d17c84042f27e /src/wallet/api/wallet2_api.h
parentMerge pull request #7764 (diff)
downloadmonero-a3d2b71ee98905f96a12e312a769c8614dcba0bf.tar.xz
wallet_api: expose offline mode status
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index a08033033..ed8c55d3b 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -1034,6 +1034,7 @@ struct Wallet
* \param offline - true/false
*/
virtual void setOffline(bool offline) = 0;
+ virtual bool isOffline() const = 0;
//! blackballs a set of outputs
virtual bool blackballOutputs(const std::vector<std::string> &outputs, bool add) = 0;