6 #ifndef RAVEN_CLIENTVERSION_H 7 #define RAVEN_CLIENTVERSION_H 9 #if defined(HAVE_CONFIG_H) 11 #endif //HAVE_CONFIG_H 14 #if !defined(CLIENT_VERSION_MAJOR) || !defined(CLIENT_VERSION_MINOR) || !defined(CLIENT_VERSION_REVISION) || !defined(CLIENT_VERSION_BUILD) || !defined(CLIENT_VERSION_IS_RELEASE) || !defined(COPYRIGHT_YEAR) 15 #error Client version information missing: version is not defined by raven-config.h or in any other way 22 #define STRINGIZE(X) DO_STRINGIZE(X) 23 #define DO_STRINGIZE(X) #X 26 #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL 34 #if !defined(WINDRES_PREPROC) 39 static const int CLIENT_VERSION =
50 std::string
FormatSubVersion(
const std::string& name,
int nClientVersion,
const std::vector<std::string>& comments);
52 #endif // WINDRES_PREPROC 54 #endif // RAVEN_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/raven/bips/blob/master/bip-0...
std::string FormatFullVersion()
#define CLIENT_VERSION_REVISION
const std::string CLIENT_NAME
#define CLIENT_VERSION_MINOR
#define CLIENT_VERSION_MAJOR
#define CLIENT_VERSION_BUILD
const std::string CLIENT_BUILD