5 #ifndef BITCOIN_CLIENTVERSION_H
6 #define BITCOIN_CLIENTVERSION_H
8 #if defined(HAVE_CONFIG_H)
9 #include "config/bitcoin-config.h"
17 #define CLIENT_VERSION_MAJOR 0
18 #define CLIENT_VERSION_MINOR 14
19 #define CLIENT_VERSION_REVISION 2
20 #define CLIENT_VERSION_BUILD 0
23 #define CLIENT_VERSION_IS_RELEASE true
29 #define COPYRIGHT_YEAR 2017
37 #define STRINGIZE(X) DO_STRINGIZE(X)
38 #define DO_STRINGIZE(X) #X
41 #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL
49 #if !defined(WINDRES_PREPROC)
54 static const int CLIENT_VERSION =
65 std::string
FormatSubVersion(
const std::string& name,
int nClientVersion,
const std::vector<std::string>& comments);
#define CLIENT_VERSION_REVISION
const std::string CLIENT_BUILD
std::string FormatSubVersion(const std::string &name, int nClientVersion, const std::vector< std::string > &comments)
Format the subversion field according to BIP 14 spec (https://github.com/bitcoin/bips/blob/master/bip...
#define CLIENT_VERSION_BUILD
#define CLIENT_VERSION_MAJOR
client versioning and copyright year
#define CLIENT_VERSION_MINOR
std::string FormatFullVersion()
const std::string CLIENT_NAME