Do not speak with old and potentially malicious/misconfigured nodes

This commit is contained in:
Duke Leto
2021-01-07 15:54:46 -05:00
parent 7a4cb5f36a
commit 4f1fdfb14f

View File

@@ -27,7 +27,7 @@ static const int INIT_PROTO_VERSION = 209;
//! In this version, 'getheaders' was introduced.
static const int GETHEADERS_VERSION = 31800;
//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 170009;
static const int MIN_PEER_PROTO_VERSION = 1987420;
//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this
static const int CADDR_TIME_VERSION = 31402;