5#include <bitcoin-build-config.h>
27#include <bitcoin-build-info.h>
38 #define BUILD_DESC BUILD_GIT_TAG
39 #define BUILD_SUFFIX ""
41 #define BUILD_DESC "v" CLIENT_VERSION_STRING
42 #if CLIENT_VERSION_IS_RELEASE
43 #define BUILD_SUFFIX ""
44 #elif defined(BUILD_GIT_COMMIT)
45 #define BUILD_SUFFIX "-" BUILD_GIT_COMMIT
46 #elif defined(GIT_COMMIT_ID)
47 #define BUILD_SUFFIX "-g" GIT_COMMIT_ID
49 #define BUILD_SUFFIX "-suse"
55 return strprintf(
"%d.%d.%d", nVersion / 10000, (nVersion / 100) % 100, nVersion % 100);
88 const std::string
URL_SOURCE_CODE =
"<https://github.com/bitcoin/bitcoin>";
92 strprintf(
_(
"Please contribute if you find %s useful. "
93 "Visit %s for further information about the software."),
100 _(
"This is experimental software.") +
"\n" +
101 strprintf(
_(
"Distributed under the MIT software license, see the accompanying file %s or %s"),
"COPYING",
"<https://opensource.org/license/MIT>").translated +
std::string CopyrightHolders(const std::string &strPrefix)
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...
static std::string FormatVersion(int nVersion)
std::string FormatFullVersion()
std::string LicenseInfo()
Returns licensing information (for -version)
const std::string UA_NAME
auto Join(const C &container, const S &separator, UnaryOp unary_op)
Join all container items.
consteval auto _(util::TranslatedLiteral str)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.