Skip to content

Commit

Permalink
[protocol] Remove unused GETHEADERS_VERSION
Browse files Browse the repository at this point in the history
GETHEADERS_VERSION is unused. No need to keep it in the codebase
for just its historic comment.
  • Loading branch information
jnewbery committed Jul 10, 2020
1 parent d3b579f commit 158f28d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/version.h
Expand Up @@ -14,11 +14,8 @@ static const int PROTOCOL_VERSION = 70015;
//! initial proto version, to be increased after version/verack negotiation
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 = GETHEADERS_VERSION;
static const int MIN_PEER_PROTO_VERSION = 31800;

//! BIP 0031, pong message, is enabled for all versions AFTER this one
static const int BIP0031_VERSION = 60000;
Expand Down

0 comments on commit 158f28d

Please sign in to comment.