diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-04-16 12:51:22 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-04-16 12:51:22 -0500 |
commit | 13418dbb98df1cc8281f8cabeb9b9c9292ec7ff9 (patch) | |
tree | 9e77fb2260de5f81fe94baf707e3fa8b79033855 /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #7642 (diff) | |
parent | expose set_offline to wallet api (diff) | |
download | monero-13418dbb98df1cc8281f8cabeb9b9c9292ec7ff9.tar.xz |
Merge pull request #7648
25e8254 expose set_offline to wallet api (benevanoff)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index b1cebedaf..320b458bd 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -1014,6 +1014,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; |