aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-08-11 22:33:38 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-08-11 22:33:38 -0400
commitcb084663943a835e70687c399495042424101cf1 (patch)
tree828f27c18a5688c478a704094da9638aa626619b /src/wallet/api/wallet2_api.h
parentMerge pull request #7800 (diff)
parentwallet_api: expose offline mode status (diff)
downloadmonero-cb084663943a835e70687c399495042424101cf1.tar.xz
Merge pull request #7802
a3d2b71 wallet_api: expose offline mode status (rating89us)
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;