From 8e6364694f95bf1f675dab1d4027ae3c470a4eeb Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Tue, 19 Jun 2018 18:48:16 +0300 Subject: [PATCH] Bump SERIALIZATION_VERSION_STRINGs (#2136) This is needed to ensure masternode and governance cache cleanup on migration. --- src/governance.cpp | 2 +- src/masternodeman.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/governance.cpp b/src/governance.cpp index 983435d3cc..4d33b6dde2 100644 --- a/src/governance.cpp +++ b/src/governance.cpp @@ -21,7 +21,7 @@ CGovernanceManager governance; int nSubmittedFinalBudget; -const std::string CGovernanceManager::SERIALIZATION_VERSION_STRING = "CGovernanceManager-Version-12"; +const std::string CGovernanceManager::SERIALIZATION_VERSION_STRING = "CGovernanceManager-Version-13"; const int CGovernanceManager::MAX_TIME_FUTURE_DEVIATION = 60*60; const int CGovernanceManager::RELIABLE_PROPAGATION_TIME = 60; diff --git a/src/masternodeman.cpp b/src/masternodeman.cpp index 55a16c267a..bec58a45dc 100644 --- a/src/masternodeman.cpp +++ b/src/masternodeman.cpp @@ -24,7 +24,7 @@ /** Masternode manager */ CMasternodeMan mnodeman; -const std::string CMasternodeMan::SERIALIZATION_VERSION_STRING = "CMasternodeMan-Version-7"; +const std::string CMasternodeMan::SERIALIZATION_VERSION_STRING = "CMasternodeMan-Version-8"; const int CMasternodeMan::LAST_PAID_SCAN_BLOCKS = 100; struct CompareLastPaidBlock