Do not speak with old and potentially malicious/misconfigured nodes
This commit is contained in:
@@ -27,7 +27,7 @@ static const int INIT_PROTO_VERSION = 209;
|
|||||||
//! In this version, 'getheaders' was introduced.
|
//! In this version, 'getheaders' was introduced.
|
||||||
static const int GETHEADERS_VERSION = 31800;
|
static const int GETHEADERS_VERSION = 31800;
|
||||||
//! disconnect from peers older than this proto version
|
//! 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;
|
//! nTime field added to CAddress, starting with this version;
|
||||||
//! if possible, avoid requesting addresses nodes older than this
|
//! if possible, avoid requesting addresses nodes older than this
|
||||||
static const int CADDR_TIME_VERSION = 31402;
|
static const int CADDR_TIME_VERSION = 31402;
|
||||||
|
|||||||
Reference in New Issue
Block a user