diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-02-14 22:53:03 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-02-14 22:53:03 +0200 |
commit | 3782075a5fd4ad0c15a6119e8cdaf136898f679e (patch) | |
tree | ab02fc2d18d1cf0348be3e70f876f0e73323120d /src/util/system.cpp | |
parent | 561e375c73a37934fe77a519762d81edf7a3325c (diff) |
Move all PID file stuff to init.cpp
It is only used from init.cpp.
Move-only refactoring.
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r-- | src/util/system.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp index 8268456919..4934174420 100644 --- a/src/util/system.cpp +++ b/src/util/system.cpp @@ -79,7 +79,6 @@ const int64_t nStartupTime = GetTime(); const char * const BITCOIN_CONF_FILENAME = "bitcoin.conf"; -const char * const BITCOIN_PID_FILENAME = "bitcoind.pid"; ArgsManager gArgs; @@ -958,13 +957,6 @@ std::string ArgsManager::GetChainName() const return CBaseChainParams::MAIN; } -#ifndef WIN32 -fs::path GetPidFile() -{ - return AbsPathForConfigVal(fs::path(gArgs.GetArg("-pid", BITCOIN_PID_FILENAME))); -} -#endif - bool RenameOver(fs::path src, fs::path dest) { #ifdef WIN32 |