From 5a9178b8976d75d62d98bbcc8fa1561a9e5049e1 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sun, 25 Oct 2020 22:52:43 -0400 Subject: [PATCH] Get rid of STAKEDMIN protocol version --- src/main.cpp | 2 -- src/version.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 2bf771e4c..c53a25a70 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7262,8 +7262,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, uint64_t nNonce = 1; int nVersion; // use temporary for version, don't set version number until validated as connected int minVersion = MIN_PEER_PROTO_VERSION; - if ( is_STAKED(ASSETCHAINS_SYMBOL) != 0 ) - minVersion = STAKEDMIN_PEER_PROTO_VERSION; vRecv >> nVersion >> pfrom->nServices >> nTime >> addrMe; if (nVersion == 10300) nVersion = 300; diff --git a/src/version.h b/src/version.h index 68d538615..a8098bded 100644 --- a/src/version.h +++ b/src/version.h @@ -35,7 +35,6 @@ static const int GETHEADERS_VERSION = 31800; //! disconnect from peers older than this proto version static const int MIN_PEER_PROTO_VERSION = 170007; -static const int STAKEDMIN_PEER_PROTO_VERSION = 170007; //! nTime field added to CAddress, starting with this version; //! if possible, avoid requesting addresses nodes older than this