Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <string>
#include <vector>
Go to the source code of this file.
Macros | |
#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 "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers, 2014-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL |
Copyright string used in Windows .rc files. More... | |
Functions | |
std::string | FormatVersion (int nVersion) |
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 | |
static const int | CLIENT_VERSION |
dashd-res.rc includes this file, but it cannot cope with real c++ code. More... | |
const std::string | CLIENT_NAME |
const std::string | CLIENT_BUILD |
Macro Definition Documentation
◆ COPYRIGHT_STR
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers, 2014-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL |
Copyright string used in Windows .rc files.
Definition at line 25 of file clientversion.h.
◆ DO_STRINGIZE
Definition at line 22 of file clientversion.h.
◆ STRINGIZE
#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 21 of file clientversion.h.
Function Documentation
◆ FormatFullVersion()
std::string FormatFullVersion | ( | ) |
Definition at line 79 of file clientversion.cpp.
References CLIENT_BUILD().
Referenced by AppInit(), AppInitRawTx(), AppInitRPC(), CKeePassIntegrator::constructHTTPPost(), CKeePassIntegrator::doHTTPPost(), ClientModel::formatFullVersion(), HelpMessageDialog::HelpMessageDialog(), InitLogging(), and SplashScreen::SplashScreen().
◆ FormatSubVersion()
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 87 of file clientversion.cpp.
References FormatVersion(), and name.
Referenced by AppInitMain().
◆ FormatVersion()
std::string FormatVersion | ( | int | nVersion | ) |
Definition at line 71 of file clientversion.cpp.
References strprintf.
Referenced by FormatSubVersion().
Variable Documentation
◆ CLIENT_BUILD
const std::string CLIENT_BUILD |
Referenced by dumpwallet().
◆ CLIENT_NAME
const std::string CLIENT_NAME |
Referenced by AppInitMain(), PaymentServer::fetchPaymentACK(), and PaymentServer::fetchRequest().
◆ CLIENT_VERSION
|
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 38 of file clientversion.h.
Referenced by RecentRequestsTableModel::addNewRequest(), AppInitMain(), BerkeleyBatch::BerkeleyBatch(), CSimplifiedMNListEntry::CalcHash(), CalcTxInputsHash(), OptionsModel::checkAndMigrate(), CDBWrapper::CompactRange(), CWallet::CreateWalletFromFile(), DumpMempool(), BerkeleyBatch::Erase(), CDBWrapper::EstimateSize(), BerkeleyBatch::Exists(), CDBWrapper::Exists(), WalletBatch::FindWalletTx(), CDBIterator::GetKey(), CDBTransactionIterator< CDBTransaction >::GetKey(), getnetworkinfo(), GetTransaction(), CDBIterator::GetValue(), CDBTransaction< RootTransaction, RootTransaction >::KeyToDataStream(), WalletBatch::ListAccountCreditDebit(), LoadBlockIndexDB(), LoadExternalBlockFile(), LoadMempool(), WalletBatch::LoadWallet(), PrepareShutdown(), CFlatDB< T >::Read(), BerkeleyBatch::Read(), CBlockPolicyEstimator::Read(), CDBWrapper::Read(), ReadBlockFromDisk(), CDBWrapper::ReadDataStream(), llmq::CRecoveredSigsDb::ReadRecoveredSig(), BerkeleyBatch::Recover(), llmq::CRecoveredSigsDb::RemoveRecoveredSig(), BerkeleyBatch::Rewrite(), SaveBlockToDisk(), CDBIterator::Seek(), CDeterministicMNManager::UpgradeDiff(), CFlatDB< T >::Write(), CBlockPolicyEstimator::Write(), BerkeleyBatch::Write(), CDBTransaction< RootTransaction, RootTransaction >::Write(), WriteBlockToDisk(), WriteTxIndexDataForBlock(), and WriteUndoDataForBlock().