Litecoin: Reject peer proto version below 70002

This commit is contained in:
Warren Togami 2015-01-23 01:27:31 -10:00
parent 13f144a0e3
commit f2d66b7f6e

View File

@ -15,7 +15,7 @@ static const int PROTOCOL_VERSION = 70002;
static const int INIT_PROTO_VERSION = 209;
//! In this version, 'getheaders' was introduced.
static const int GETHEADERS_VERSION = 31800;
static const int GETHEADERS_VERSION = 70002;
//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = GETHEADERS_VERSION;