Merge pull request #6415

09abca7 wallet_api: checkUpdate - optional version and buildtag params (xiphon)
This commit is contained in:
luigi1111
2020-04-21 08:52:57 -05:00
2 changed files with 19 additions and 7 deletions
+5 -1
View File
@@ -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);
};