mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-05 01:10:54 +02:00
[protocol] Remove unused GETHEADERS_VERSION
GETHEADERS_VERSION is unused. No need to keep it in the codebase for just its historic comment.
This commit is contained in:
parent
37a934e6b3
commit
7bb6f9bfdb
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user