Skip to content

Commit 7bb6f9b

Browse files
committed
[protocol] Remove unused GETHEADERS_VERSION
GETHEADERS_VERSION is unused. No need to keep it in the codebase for just its historic comment.
1 parent 37a934e commit 7bb6f9b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/version.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,8 @@ static const int PROTOCOL_VERSION = 70015;
1414
//! initial proto version, to be increased after version/verack negotiation
1515
static const int INIT_PROTO_VERSION = 209;
1616

17-
//! In this version, 'getheaders' was introduced.
18-
static const int GETHEADERS_VERSION = 31800;
19-
2017
//! disconnect from peers older than this proto version
21-
static const int MIN_PEER_PROTO_VERSION = GETHEADERS_VERSION;
18+
static const int MIN_PEER_PROTO_VERSION = 31800;
2219

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

0 commit comments

Comments
 (0)