|
|
@ -157,7 +157,7 @@ void Shutdown() |
|
|
|
/// for example if the data directory was found to be locked.
|
|
|
|
/// Be sure that anything that writes files or flushes caches only does this if the respective
|
|
|
|
/// module was initialized.
|
|
|
|
RenameThread("bitcoin-shutoff"); |
|
|
|
RenameThread("zcash-shutoff"); |
|
|
|
mempool.AddTransactionsUpdated(1); |
|
|
|
StopRPCThreads(); |
|
|
|
#ifdef ENABLE_WALLET |
|
|
@ -531,7 +531,7 @@ void CleanupBlockRevFiles() |
|
|
|
|
|
|
|
void ThreadImport(std::vector<boost::filesystem::path> vImportFiles) |
|
|
|
{ |
|
|
|
RenameThread("bitcoin-loadblk"); |
|
|
|
RenameThread("zcash-loadblk"); |
|
|
|
// -reindex
|
|
|
|
if (fReindex) { |
|
|
|
#ifdef ENABLE_WALLET |
|
|
@ -926,7 +926,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) |
|
|
|
|
|
|
|
// Sanity check
|
|
|
|
if (!InitSanityCheck()) |
|
|
|
return InitError(_("Initialization sanity check failed. Bitcoin Core is shutting down.")); |
|
|
|
return InitError(_("Initialization sanity check failed. Zcash is shutting down.")); |
|
|
|
|
|
|
|
std::string strDataDir = GetDataDir().string(); |
|
|
|
#ifdef ENABLE_WALLET |
|
|
@ -942,9 +942,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) |
|
|
|
try { |
|
|
|
static boost::interprocess::file_lock lock(pathLockFile.string().c_str()); |
|
|
|
if (!lock.try_lock()) |
|
|
|
return InitError(strprintf(_("Cannot obtain a lock on data directory %s. Bitcoin Core is probably already running."), strDataDir)); |
|
|
|
return InitError(strprintf(_("Cannot obtain a lock on data directory %s. Zcash is probably already running."), strDataDir)); |
|
|
|
} catch(const boost::interprocess::interprocess_exception& e) { |
|
|
|
return InitError(strprintf(_("Cannot obtain a lock on data directory %s. Bitcoin Core is probably already running.") + " %s.", strDataDir, e.what())); |
|
|
|
return InitError(strprintf(_("Cannot obtain a lock on data directory %s. Zcash is probably already running.") + " %s.", strDataDir, e.what())); |
|
|
|
} |
|
|
|
|
|
|
|
#ifndef WIN32 |
|
|
@ -953,7 +953,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) |
|
|
|
if (GetBoolArg("-shrinkdebugfile", !fDebug)) |
|
|
|
ShrinkDebugFile(); |
|
|
|
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 (%s)\n", FormatFullVersion(), CLIENT_DATE); |
|
|
|
LogPrintf("Zcash version %s (%s)\n", FormatFullVersion(), CLIENT_DATE); |
|
|
|
LogPrintf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION)); |
|
|
|
#ifdef ENABLE_WALLET |
|
|
|
LogPrintf("Using BerkeleyDB version %s\n", DbEnv::version(0, 0, 0)); |
|
|
|