diff options
author | xiphon <xiphon@protonmail.com> | 2020-10-17 02:56:15 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-10-18 11:59:23 +0000 |
commit | 39e30d54810ae733a65bd3333ea3bbc3f6dcd393 (patch) | |
tree | 08cf1fc6ce673788331347efa9068112983d3fe3 /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #6894 (diff) | |
download | monero-39e30d54810ae733a65bd3333ea3bbc3f6dcd393.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 50df7e5dd..999823ff1 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -507,6 +507,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; |