if (IsProtocolV2(nHeight) && nVersion < 7)
return DoS(100, error("AcceptBlock() : reject too old nVersion = %d", nVersion));
else if (!IsProtocolV2(nHeight) && nVersion > 6)
return DoS(100, error("AcceptBlock() : reject too new nVersion = %d", nVersion));
----------
inline bool IsProtocolV1RetargetingFixed(int nHeight) { return TestNet() || nHeight > 62016; }
inline bool IsProtocolV2(int nHeight) { return TestNet() || nHeight > 62016; }
inline bool IsProtocolV3(int64_t nTime) { return TestNet() || nTime > 1467633600; }