diff options
author | xiphon <xiphon@protonmail.com> | 2020-10-17 02:56:15 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-10-17 02:56:15 +0000 |
commit | 70eb0d1844258e491f0d22866b8029e66846a482 (patch) | |
tree | 98a6adccb7d1e6c6876278e7297685561c7d5b82 /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #6867 (diff) | |
download | monero-70eb0d1844258e491f0d22866b8029e66846a482.tar.xz |
wallet2_api: implement stop() to interrupt refresh() loop once
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index c2559d1df..e8efc58b8 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -508,6 +508,11 @@ struct Wallet virtual std::string publicMultisigSignerKey() const = 0; /*! + * \brief stop - interrupts wallet refresh() loop once (doesn't stop background refresh thread) + */ + virtual void stop() = 0; + + /*! * \brief store - stores wallet to file. * \param path - main filename to store wallet to. additionally stores address file and keys file. * to store to the same file - just pass empty string; |