diff options
author | John Newbery <john@johnnewbery.com> | 2020-07-10 16:52:05 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2020-07-10 22:14:18 +0100 |
commit | 7bb6f9bfdbd3b0b5594febc9a0ae2f84e6d7add1 (patch) | |
tree | 2f5cf912160cdf87b3f055b9042331721e696d37 /src/version.h | |
parent | 37a934e6b35bea2125732d2c074998d9fe70633e (diff) |
[protocol] Remove unused GETHEADERS_VERSION
GETHEADERS_VERSION is unused. No need to keep it in the codebase
for just its historic comment.
Diffstat (limited to 'src/version.h')
-rw-r--r-- | src/version.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/version.h b/src/version.h index d2a747fab3..e5d1f5a7f9 100644 --- a/src/version.h +++ b/src/version.h @@ -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; |