![]() |
Bitcoin Core
21.99.0
P2P Digital Currency
|
Go to the source code of this file.
Macros | |
#define | BUILD_DESC "v" STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_BUILD) |
git will put "#define GIT_COMMIT_ID ..." on the next line inside archives. More... | |
#define | BUILD_SUFFIX "-unk" |
Functions | |
const std::string | CLIENT_NAME ("Satoshi") |
Name of client reported in the 'version' message. More... | |
const std::string | CLIENT_BUILD (BUILD_DESC BUILD_SUFFIX) |
static 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... | |
#define BUILD_DESC "v" STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_BUILD) |
git will put "#define GIT_COMMIT_ID ..." on the next line inside archives.
Definition at line 33 of file clientversion.cpp.
#define BUILD_SUFFIX "-unk" |
Definition at line 39 of file clientversion.cpp.
const std::string CLIENT_BUILD | ( | BUILD_DESC | BUILD_SUFFIX | ) |
const std::string CLIENT_NAME | ( | "Satoshi" | ) |
Name of client reported in the 'version' message.
Report the same name for both bitcoind and bitcoin-qt, to make it harder for attackers to target servers or GUI users specifically.
std::string FormatFullVersion | ( | ) |
Definition at line 50 of file clientversion.cpp.
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 58 of file clientversion.cpp.
|
static |