Get rid of CLIENT_DATE
This commit is contained in:
@@ -104,16 +104,7 @@ const std::string CLIENT_NAME = GetArg("-clientname", "GoldenSandtrout");
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BUILD_DATE
|
|
||||||
#ifdef GIT_COMMIT_DATE
|
|
||||||
#define BUILD_DATE GIT_COMMIT_DATE
|
|
||||||
#else
|
|
||||||
#define BUILD_DATE __DATE__ ", " __TIME__
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const std::string CLIENT_BUILD(BUILD_DESC CLIENT_VERSION_SUFFIX);
|
const std::string CLIENT_BUILD(BUILD_DESC CLIENT_VERSION_SUFFIX);
|
||||||
const std::string CLIENT_DATE(BUILD_DATE);
|
|
||||||
|
|
||||||
std::string FormatVersion(int nVersion)
|
std::string FormatVersion(int nVersion)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -73,7 +73,6 @@ static const int CLIENT_VERSION =
|
|||||||
|
|
||||||
extern const std::string CLIENT_NAME;
|
extern const std::string CLIENT_NAME;
|
||||||
extern const std::string CLIENT_BUILD;
|
extern const std::string CLIENT_BUILD;
|
||||||
extern const std::string CLIENT_DATE;
|
|
||||||
|
|
||||||
|
|
||||||
std::string FormatVersion(int nVersion);
|
std::string FormatVersion(int nVersion);
|
||||||
|
|||||||
@@ -1063,7 +1063,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||||||
|
|
||||||
|
|
||||||
LogPrintf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
|
LogPrintf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
|
||||||
LogPrintf("Hush version %s (%s)\n", FormatFullVersion(), CLIENT_DATE);
|
LogPrintf("Hush version %s (%s)\n", FormatFullVersion());
|
||||||
|
|
||||||
// when specifying an explicit binding address, you want to listen on it
|
// when specifying an explicit binding address, you want to listen on it
|
||||||
// even when -connect or -proxy is specified
|
// even when -connect or -proxy is specified
|
||||||
|
|||||||
@@ -677,7 +677,7 @@ UniValue dumpwallet_impl(const UniValue& params, bool fHelp, bool fDumpZKeys)
|
|||||||
std::sort(vKeyBirth.begin(), vKeyBirth.end());
|
std::sort(vKeyBirth.begin(), vKeyBirth.end());
|
||||||
|
|
||||||
// produce output
|
// produce output
|
||||||
file << strprintf("# Wallet dump created by Hush %s (%s)\n", CLIENT_BUILD, CLIENT_DATE);
|
file << strprintf("# Wallet dump created by Hush %s (%s)\n", CLIENT_BUILD);
|
||||||
file << strprintf("# * Created on %s\n", EncodeDumpTime(GetTime()));
|
file << strprintf("# * Created on %s\n", EncodeDumpTime(GetTime()));
|
||||||
file << strprintf("# * Best block at time of backup was %i (%s),\n", chainActive.Height(), chainActive.Tip()->GetBlockHash().ToString());
|
file << strprintf("# * Best block at time of backup was %i (%s),\n", chainActive.Height(), chainActive.Tip()->GetBlockHash().ToString());
|
||||||
file << strprintf("# mined on %s\n", EncodeDumpTime(chainActive.Tip()->GetBlockTime()));
|
file << strprintf("# mined on %s\n", EncodeDumpTime(chainActive.Tip()->GetBlockTime()));
|
||||||
|
|||||||
Reference in New Issue
Block a user