![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <string>
#include <vector>
Go to the source code of this file.
Macros | |
#define | CLIENT_VERSION_MAJOR 0 |
These need to be macros, as clientversion.cpp's and dash*-res.rc's voodoo requires it. More... | |
#define | CLIENT_VERSION_MINOR 12 |
#define | CLIENT_VERSION_REVISION 2 |
#define | CLIENT_VERSION_BUILD 1 |
#define | CLIENT_VERSION_IS_RELEASE true |
Set to true for release, false for prerelease or test build. More... | |
#define | COPYRIGHT_YEAR 2017 |
#define | STRINGIZE(X) DO_STRINGIZE(X) |
#define | DO_STRINGIZE(X) #X |
#define | COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers, 2014-" STRINGIZE(COPYRIGHT_YEAR) " The Dash 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) |
Variables | |
static const int | CLIENT_VERSION |
const std::string | CLIENT_NAME |
const std::string | CLIENT_BUILD |
const std::string | CLIENT_DATE |
#define CLIENT_VERSION_BUILD 1 |
Definition at line 20 of file clientversion.h.
#define CLIENT_VERSION_IS_RELEASE true |
Set to true for release, false for prerelease or test build.
Definition at line 23 of file clientversion.h.
Referenced by GetWarnings(), and ClientModel::isReleaseVersion().
#define CLIENT_VERSION_MAJOR 0 |
These need to be macros, as clientversion.cpp's and dash*-res.rc's voodoo requires it.
client versioning and copyright year
Definition at line 17 of file clientversion.h.
#define CLIENT_VERSION_MINOR 12 |
Definition at line 18 of file clientversion.h.
#define CLIENT_VERSION_REVISION 2 |
Definition at line 19 of file clientversion.h.
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers, 2014-" STRINGIZE(COPYRIGHT_YEAR) " The Dash Core Developers" |
Copyright string used in Windows .rc files.
Definition at line 41 of file clientversion.h.
#define COPYRIGHT_YEAR 2017 |
Copyright year (2009-this) Todo: update this when changing our copyright comments in the source
Definition at line 29 of file clientversion.h.
Referenced by LicenseInfo(), and SplashScreen::SplashScreen().
Definition at line 38 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 37 of file clientversion.h.
std::string FormatFullVersion | ( | ) |
Definition at line 89 of file clientversion.cpp.
Referenced by AppInit(), AppInitRawTx(), AppInitRPC(), CKeePassIntegrator::constructHTTPPost(), CKeePassIntegrator::doHTTPPost(), ClientModel::formatFullVersion(), HelpMessageDialog::HelpMessageDialog(), InitLogging(), and SplashScreen::SplashScreen().
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 97 of file clientversion.cpp.
Referenced by AppInit2(), and CAlert::AppliesToMe().
const std::string CLIENT_BUILD |
Referenced by dumpwallet().
const std::string CLIENT_DATE |
Referenced by dumpwallet(), and InitLogging().
const std::string CLIENT_NAME |
|
static |
dashd-res.rc includes this file, but it cannot cope with real c++ code. WINDRES_PREPROC is defined to indicate that its pre-processor is running. Anything other than a define should be guarded below.
Definition at line 54 of file clientversion.h.
Referenced by AcceptBlock(), RecentRequestsTableModel::addNewRequest(), AppInit2(), CAlert::AppliesToMe(), CDB::CDB(), ConnectBlock(), CDBBatch::Erase(), CDB::Erase(), CDB::Exists(), CDBWrapper::Exists(), CWalletDB::FindWalletTx(), getinfo(), CDBIterator::GetKey(), getnetworkinfo(), GetTransaction(), CDBIterator::GetValue(), InitBlockIndex(), CWalletDB::ListAccountCreditDebit(), LoadBlockIndexDB(), LoadExternalBlockFile(), CWalletDB::LoadWallet(), PrepareShutdown(), CFlatDB< T >::Read(), CAddrDB::Read(), CBanDB::Read(), CDB::Read(), CDBWrapper::Read(), ReadBlockFromDisk(), CTxMemPool::ReadFeeEstimates(), CWalletDB::Recover(), CDB::Rewrite(), CDBIterator::Seek(), CAlert::Sign(), ThreadSendAlert(), CFlatDB< T >::Write(), CDBBatch::Write(), CAddrDB::Write(), CBanDB::Write(), CDB::Write(), WriteBlockToDisk(), and CTxMemPool::WriteFeeEstimates().