Implement automatic shutdown of deprecated Zcash versions
Closes #2274.
This commit is contained in:
@@ -100,7 +100,7 @@ const std::string CLIENT_NAME("MagicBean");
|
||||
const std::string CLIENT_BUILD(BUILD_DESC CLIENT_VERSION_SUFFIX);
|
||||
const std::string CLIENT_DATE(BUILD_DATE);
|
||||
|
||||
static std::string FormatVersion(int nVersion)
|
||||
std::string FormatVersion(int nVersion)
|
||||
{
|
||||
if (nVersion % 100 < 25)
|
||||
return strprintf("%d.%d.%d-beta%d", nVersion / 1000000, (nVersion / 10000) % 100, (nVersion / 100) % 100, (nVersion % 100)+1);
|
||||
|
||||
Reference in New Issue
Block a user