diff --git a/doc/release-notes-6281.md b/doc/release-notes-6281.md new file mode 100644 index 0000000000..8958cd8b81 --- /dev/null +++ b/doc/release-notes-6281.md @@ -0,0 +1,4 @@ +P2P and Network Changes +----------------------- + +`MIN_PEER_PROTO_VERSION` has been bumped to `70216` diff --git a/src/masternode/sync.cpp b/src/masternode/sync.cpp index fefc12730d..d4cf62a735 100644 --- a/src/masternode/sync.cpp +++ b/src/masternode/sync.cpp @@ -206,7 +206,7 @@ void CMasternodeSync::ProcessTick(const PeerManager& peerman) // Now that the blockchain is synced request the mempool from the connected outbound nodes if possible for (auto pNodeTmp : snap.Nodes()) { bool fRequestedEarlier = m_netfulfilledman.HasFulfilledRequest(pNodeTmp->addr, "mempool-sync"); - if (pNodeTmp->nVersion >= 70216 && !pNodeTmp->IsInboundConn() && !fRequestedEarlier && !pNodeTmp->IsBlockRelayOnly()) { + if (!pNodeTmp->IsInboundConn() && !fRequestedEarlier && !pNodeTmp->IsBlockRelayOnly()) { m_netfulfilledman.AddFulfilledRequest(pNodeTmp->addr, "mempool-sync"); connman.PushMessage(pNodeTmp, msgMaker.Make(NetMsgType::MEMPOOL)); LogPrint(BCLog::MNSYNC, "CMasternodeSync::ProcessTick -- nTick %d nCurrentAsset %d -- syncing mempool from peer=%d\n", nTick, nCurrentAsset, pNodeTmp->GetId()); diff --git a/src/version.h b/src/version.h index b880474991..45f8fce916 100644 --- a/src/version.h +++ b/src/version.h @@ -17,7 +17,7 @@ static const int PROTOCOL_VERSION = 70235; static const int INIT_PROTO_VERSION = 209; //! disconnect from peers older than this proto version -static const int MIN_PEER_PROTO_VERSION = 70215; +static const int MIN_PEER_PROTO_VERSION = 70216; //! minimum proto version of masternode to accept in DKGs static const int MIN_MASTERNODE_PROTO_VERSION = 70233;