diff --git a/src/init.cpp b/src/init.cpp --- a/src/init.cpp +++ b/src/init.cpp @@ -444,8 +444,9 @@ _("Discover own IP addresses (default: 1 when " "listening and no -externalip or -proxy)")); strUsage += HelpMessageOpt( - "-dns", _("Allow DNS lookups for -addnode, -seednode and -connect") + - " " + strprintf(_("(default: %u)"), DEFAULT_NAME_LOOKUP)); + "-dns", + _("Allow DNS lookups for -addnode, -seednode and -connect") + " " + + strprintf(_("(default: %u)"), DEFAULT_NAME_LOOKUP)); strUsage += HelpMessageOpt( "-dnsseed", _("Query for peer addresses via DNS lookup, if low on " "addresses (default: 1 unless -connect/-noconnect)")); @@ -1179,7 +1180,7 @@ fLogIPs = GetBoolArg("-logips", DEFAULT_LOGIPS); LogPrintf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); - LogPrintf("Bitcoin version %s\n", FormatFullVersion()); + LogPrintf("%s version %s\n", CLIENT_NAME, FormatFullVersion()); } namespace { // Variables internal to initialization process only @@ -1889,11 +1890,11 @@ // total cache cannot be greater than nMaxDbcache nTotalCache = std::min(nTotalCache, nMaxDbCache << 20); int64_t nBlockTreeDBCache = nTotalCache / 8; - nBlockTreeDBCache = - std::min(nBlockTreeDBCache, (GetBoolArg("-txindex", DEFAULT_TXINDEX) - ? nMaxBlockDBAndTxIndexCache - : nMaxBlockDBCache) - << 20); + nBlockTreeDBCache = std::min(nBlockTreeDBCache, + (GetBoolArg("-txindex", DEFAULT_TXINDEX) + ? nMaxBlockDBAndTxIndexCache + : nMaxBlockDBCache) + << 20); nTotalCache -= nBlockTreeDBCache; // use 25%-50% of the remainder for disk cache int64_t nCoinDBCache = @@ -2043,8 +2044,9 @@ _("Do you want to rebuild the block database now?"), strLoadError + ".\nPlease restart with -reindex or " "-reindex-chainstate to recover.", - "", CClientUIInterface::MSG_ERROR | - CClientUIInterface::BTN_ABORT); + "", + CClientUIInterface::MSG_ERROR | + CClientUIInterface::BTN_ABORT); if (fRet) { fReindex = true; fRequestShutdown = false;