|
|
@ -14,11 +14,8 @@ static const int PROTOCOL_VERSION = 70015;
|
|
|
|
//! initial proto version, to be increased after version/verack negotiation
|
|
|
|
//! initial proto version, to be increased after version/verack negotiation
|
|
|
|
static const int INIT_PROTO_VERSION = 209;
|
|
|
|
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
|
|
|
|
//! disconnect from peers older than this proto version
|
|
|
|
static const int MIN_PEER_PROTO_VERSION = GETHEADERS_VERSION;
|
|
|
|
static const int MIN_PEER_PROTO_VERSION = 31800;
|
|
|
|
|
|
|
|
|
|
|
|
//! BIP 0031, pong message, is enabled for all versions AFTER this one
|
|
|
|
//! BIP 0031, pong message, is enabled for all versions AFTER this one
|
|
|
|
static const int BIP0031_VERSION = 60000;
|
|
|
|
static const int BIP0031_VERSION = 60000;
|
|
|
|