5 #ifndef BITCOIN_CLIENTVERSION_H 6 #define BITCOIN_CLIENTVERSION_H 10 #if defined(HAVE_CONFIG_H) 12 #endif //HAVE_CONFIG_H 15 #if !defined(CLIENT_VERSION_MAJOR) || !defined(CLIENT_VERSION_MINOR) || !defined(CLIENT_VERSION_BUILD) || !defined(CLIENT_VERSION_IS_RELEASE) || !defined(COPYRIGHT_YEAR) 16 #error Client version information missing: version is not defined by bitcoin-config.h or in any other way 20 #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL 28 #if !defined(WINDRES_PREPROC) 43 std::string
FormatSubVersion(
const std::string&
name,
int nClientVersion,
const std::vector<std::string>& comments);
45 #endif // WINDRES_PREPROC 47 #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...
#define CLIENT_VERSION_MINOR
std::string FormatFullVersion()
const std::string CLIENT_NAME
#define CLIENT_VERSION_BUILD
static const int CLIENT_VERSION
bitcoind-res.rc includes this file, but it cannot cope with real c++ code.
const std::string CLIENT_BUILD
#define CLIENT_VERSION_MAJOR