From 2d28e2e09c12e2523e56ea5342c16d0fa9896562 Mon Sep 17 00:00:00 2001 From: MNP_Jason Date: Tue, 12 Feb 2019 22:26:30 -0600 Subject: [PATCH 1/2] Update masternode.sh build script for the newest wallet version --- doc/masternode.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/masternode.sh b/doc/masternode.sh index b74ee9d..b4fa2d4 100755 --- a/doc/masternode.sh +++ b/doc/masternode.sh @@ -1,7 +1,7 @@ #!/bin/bash -PACKAGE='mnpcoin-v1.2.2.tar.gz' -VERSION='v1.2.2' +PACKAGE='mnpcoin-v1.2.3.tar.gz' +VERSION='v1.2.3' system_motd() { clear @@ -21,7 +21,7 @@ system_motd() { echo " ██║ ╚═╝ ██║██║ ╚═██║██║ ╚██████╗╚██████╔╝██║██║ ╚═██║ " echo " ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═╝ " echo "" - echo "Updated: 1/27/2019 By: MNP_Jason" + echo "Updated: 2/12/2019 By: MNP_Jason" echo && echo && echo sleep 2 } From 2689c068a0fe5a735b08a50aed77b594adebcb35 Mon Sep 17 00:00:00 2001 From: MNP_Jason Date: Tue, 12 Feb 2019 22:30:50 -0600 Subject: [PATCH 2/2] Change out Min protocal update to 70010 --- src/spork.cpp | 2 ++ src/version.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/spork.cpp b/src/spork.cpp index 93e8f32..84d3bd8 100644 --- a/src/spork.cpp +++ b/src/spork.cpp @@ -268,6 +268,7 @@ int CSporkManager::GetSporkIDByName(std::string strName) if (strName == "SPORK_14_NEW_PROTOCOL_ENFORCEMENT") return SPORK_14_NEW_PROTOCOL_ENFORCEMENT; if (strName == "SPORK_15_NEW_PROTOCOL_ENFORCEMENT_2") return SPORK_15_NEW_PROTOCOL_ENFORCEMENT_2; if (strName == "SPORK_16_ZEROCOIN_MAINTENANCE_MODE") return SPORK_16_ZEROCOIN_MAINTENANCE_MODE; + if (strName == "SPORK_17_FAKE_STAKE_FIX") return SPORK_17_FAKE_STAKE_FIX; return -1; } @@ -285,6 +286,7 @@ std::string CSporkManager::GetSporkNameByID(int id) if (id == SPORK_14_NEW_PROTOCOL_ENFORCEMENT) return "SPORK_14_NEW_PROTOCOL_ENFORCEMENT"; if (id == SPORK_15_NEW_PROTOCOL_ENFORCEMENT_2) return "SPORK_15_NEW_PROTOCOL_ENFORCEMENT_2"; if (id == SPORK_16_ZEROCOIN_MAINTENANCE_MODE) return "SPORK_16_ZEROCOIN_MAINTENANCE_MODE"; + if (id == SPORK_17_FAKE_STAKE_FIX) return "SPORK_17_FAKE_STAKE_FIX"; return "Unknown"; } diff --git a/src/version.h b/src/version.h index b615cc3..52e5cc7 100644 --- a/src/version.h +++ b/src/version.h @@ -20,7 +20,7 @@ static const int INIT_PROTO_VERSION = 209; static const int GETHEADERS_VERSION = 70000; //! disconnect from peers older than this proto version -static const int MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT = 70020; +static const int MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT = 70010; static const int MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT = 70030; //! nTime field added to CAddress, starting with this version;