diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-04-21 08:52:57 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-04-21 08:52:57 -0500 |
| commit | cc91c0221ded1766c71c1c877493a3c7dadef106 (patch) | |
| tree | b336c9249413c1957e09648999cf46068ef7d51e /src/wallet/api/wallet2_api.h | |
| parent | f389ce1a0fd39f0de61d39d11abb6d738814229a (diff) | |
| parent | 09abca76ae3ed218daccbb8bbed8e5db1966b42f (diff) | |
| download | monzero-core-cc91c0221ded1766c71c1c877493a3c7dadef106.tar.gz monzero-core-cc91c0221ded1766c71c1c877493a3c7dadef106.tar.xz monzero-core-cc91c0221ded1766c71c1c877493a3c7dadef106.zip | |
Merge pull request #6415
09abca7 wallet_api: checkUpdate - optional version and buildtag params (xiphon)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
| -rw-r--r-- | src/wallet/api/wallet2_api.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 09c64106e..6309724a4 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -1293,7 +1293,11 @@ struct WalletManager virtual std::string resolveOpenAlias(const std::string &address, bool &dnssec_valid) const = 0; //! checks for an update and returns version, hash and url - static std::tuple<bool, std::string, std::string, std::string, std::string> checkUpdates(const std::string &software, std::string subdir); + static std::tuple<bool, std::string, std::string, std::string, std::string> checkUpdates( + const std::string &software, + std::string subdir, + const char *buildtag = nullptr, + const char *current_version = nullptr); }; |
