From 71697f97d3f9512f0af934070690c14f1c0d95ea Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Tue, 28 Oct 2014 21:33:23 -0400 Subject: Separate protocol versioning from clientversion --- src/version.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/version.h') diff --git a/src/version.h b/src/version.h index a1e440de24..6ee08c205b 100644 --- a/src/version.h +++ b/src/version.h @@ -5,25 +5,6 @@ #ifndef BITCOIN_VERSION_H #define BITCOIN_VERSION_H -#include "clientversion.h" - -#include -#include - -// -// client versioning -// - -static const int CLIENT_VERSION = - 1000000 * CLIENT_VERSION_MAJOR - + 10000 * CLIENT_VERSION_MINOR - + 100 * CLIENT_VERSION_REVISION - + 1 * CLIENT_VERSION_BUILD; - -extern const std::string CLIENT_NAME; -extern const std::string CLIENT_BUILD; -extern const std::string CLIENT_DATE; - // // network protocol versioning // @@ -53,7 +34,4 @@ static const int BIP0031_VERSION = 60000; // "mempool" command, enhanced "getdata" behavior starts with this version static const int MEMPOOL_GD_VERSION = 60002; -std::string FormatFullVersion(); -std::string FormatSubVersion(const std::string& name, int nClientVersion, const std::vector& comments); - #endif // BITCOIN_VERSION_H -- cgit v1.2.3