diff --git a/doc/files.md b/doc/files.md index 6a60a61ee..1014b94a5 100644 --- a/doc/files.md +++ b/doc/files.md @@ -1,5 +1,7 @@ -* komodo.conf: contains configuration settings for komodod -* komodod.pid: stores the process id of komodod while running +# Hush Files + +* HUSH3.conf: contains configuration settings for hushd +* hushd.pid: stores the process id of hushd while running * blocks/blk000??.dat: block data (custom, 128 MiB per file) * blocks/rev000??.dat; block undo data (custom) * blocks/index/*; block index (LevelDB) diff --git a/src/init.cpp b/src/init.cpp index 6e5315b41..483f1495f 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -384,7 +384,7 @@ std::string HelpMessage(HelpMessageMode mode) strUsage += HelpMessageOpt("-par=", strprintf(_("Set the number of script verification threads (%u to %d, 0 = auto, <0 = leave that many cores free, default: %d)"), -(int)boost::thread::hardware_concurrency(), MAX_SCRIPTCHECK_THREADS, DEFAULT_SCRIPTCHECK_THREADS)); #ifndef _WIN32 - strUsage += HelpMessageOpt("-pid=", strprintf(_("Specify pid file (default: %s)"), "komodod.pid")); + strUsage += HelpMessageOpt("-pid=", strprintf(_("Specify pid file (default: %s)"), "hushd.pid")); #endif strUsage += HelpMessageOpt("-txexpirynotify=", _("Execute command when transaction expires (%s in cmd is replaced by transaction id)")); strUsage += HelpMessageOpt("-prune=", strprintf(_("Reduce storage requirements by pruning (deleting) old blocks. This mode disables wallet support and is incompatible with -txindex. " diff --git a/src/util.cpp b/src/util.cpp index cab379559..2668a2cd7 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -700,7 +700,7 @@ void ReadConfigFile(map& mapSettingsRet, #ifndef _WIN32 boost::filesystem::path GetPidFile() { - boost::filesystem::path pathPidFile(GetArg("-pid", "komodod.pid")); + boost::filesystem::path pathPidFile(GetArg("-pid", "hushd.pid")); if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile; return pathPidFile; }