Anoncoin  0.9.4
P2P Digital Currency
Macros | Functions | Variables
clientversion.h File Reference
#include <string>
#include <vector>
Include dependency graph for clientversion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CLIENT_VERSION_MAJOR   0
 
#define CLIENT_VERSION_MINOR   9
 
#define CLIENT_VERSION_REVISION   4
 
#define CLIENT_VERSION_BUILD   3
 
#define CLIENT_VERSION_IS_RELEASE   false
 
#define COPYRIGHT_YEAR   2015
 Copyright year (2013-this) Todo: update this when changing our copyright comments in the source. More...
 
#define HAVE_PRIMECOIN_CONFIG_H
 
#define PRIMECOIN_VERSION_MAJOR   0
 
#define PRIMECOIN_VERSION_MINOR   1
 
#define PRIMECOIN_VERSION_REVISION   2
 
#define PRIMECOIN_VERSION_BUILD   0
 
#define STRINGIZE(X)   DO_STRINGIZE(X)
 Converts the parameter X to a string after macro replacement on X has been performed. More...
 
#define DO_STRINGIZE(X)   #X
 
#define COPYRIGHT_STR   "2013-" STRINGIZE(COPYRIGHT_YEAR) " The Anoncoin Core Developers"
 Copyright string used in Windows .rc files. More...
 

Functions

std::string FormatFullVersion ()
 
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-0014.mediawiki) More...
 

Variables

const std::string CLIENT_NAME
 
const std::string CLIENT_BUILD
 
const std::string CLIENT_DATE
 

Macro Definition Documentation

#define CLIENT_VERSION_BUILD   3

Definition at line 27 of file clientversion.h.

#define CLIENT_VERSION_IS_RELEASE   false

Definition at line 30 of file clientversion.h.

#define CLIENT_VERSION_MAJOR   0

Definition at line 24 of file clientversion.h.

#define CLIENT_VERSION_MINOR   9

Definition at line 25 of file clientversion.h.

#define CLIENT_VERSION_REVISION   4

Definition at line 26 of file clientversion.h.

#define COPYRIGHT_STR   "2013-" STRINGIZE(COPYRIGHT_YEAR) " The Anoncoin Core Developers"

Copyright string used in Windows .rc files.

Definition at line 61 of file clientversion.h.

#define COPYRIGHT_YEAR   2015

Copyright year (2013-this) Todo: update this when changing our copyright comments in the source.

Definition at line 36 of file clientversion.h.

#define DO_STRINGIZE (   X)    #X

Definition at line 58 of file clientversion.h.

#define HAVE_PRIMECOIN_CONFIG_H

Definition at line 45 of file clientversion.h.

#define PRIMECOIN_VERSION_BUILD   0

Definition at line 50 of file clientversion.h.

#define PRIMECOIN_VERSION_MAJOR   0

Definition at line 47 of file clientversion.h.

#define PRIMECOIN_VERSION_MINOR   1

Definition at line 48 of file clientversion.h.

#define PRIMECOIN_VERSION_REVISION   2

Definition at line 49 of file clientversion.h.

#define STRINGIZE (   X)    DO_STRINGIZE(X)

Converts the parameter X to a string after macro replacement on X has been performed.

Don't merge these into one macro!

Definition at line 57 of file clientversion.h.

Function Documentation

std::string FormatFullVersion ( )

Definition at line 90 of file clientversion.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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-0014.mediawiki)

Definition at line 98 of file clientversion.cpp.

Here is the caller graph for this function:

Variable Documentation

const std::string CLIENT_BUILD
const std::string CLIENT_DATE
const std::string CLIENT_NAME