5 #ifndef BITCOIN_CLIENTVERSION_H 6 #define BITCOIN_CLIENTVERSION_H 10 #include <bitcoin-build-config.h> 13 #if !defined(CLIENT_VERSION_MAJOR) || !defined(CLIENT_VERSION_MINOR) || !defined(CLIENT_VERSION_BUILD) || !defined(CLIENT_VERSION_IS_RELEASE) || !defined(COPYRIGHT_YEAR) 14 #error Client version information missing: version is not defined by bitcoin-build-config.h or in any other way 18 #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL 26 #if !defined(WINDRES_PREPROC) 32 10000 * CLIENT_VERSION_MAJOR
33 + 100 * CLIENT_VERSION_MINOR
34 + 1 * CLIENT_VERSION_BUILD;
36 extern const std::string
UA_NAME;
40 std::string
FormatSubVersion(
const std::string&
name,
int nClientVersion,
const std::vector<std::string>& comments);
47 #endif // WINDRES_PREPROC 49 #endif // BITCOIN_CLIENTVERSION_H 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...
const std::string UA_NAME
std::string CopyrightHolders(const std::string &strPrefix)
std::string LicenseInfo()
Returns licensing information (for -version)
std::string FormatFullVersion()
static const int CLIENT_VERSION
bitcoind-res.rc includes this file, but it cannot cope with real c++ code.