Skip to content

Commit

Permalink
Merge pull request #25 from MNPJason/master
Browse files Browse the repository at this point in the history
Update Masternode script and fix Min Version Protocol
  • Loading branch information
MNPJason authored Feb 13, 2019
2 parents e7fd007 + 2689c06 commit 06eab4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/masternode.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}
Expand Down
2 changes: 2 additions & 0 deletions src/spork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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";
}
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06eab4a

Please sign in to comment.