aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2015-08-01 11:44:25 +0100
committerJ Ross Nicoll <[email protected]>2015-10-31 14:49:39 +0000
commit5731f4f3c6dff84d6c5264954ba15e5b991abe38 (patch)
tree0e162847a682e9074ec7fd9598c3d28b4768b858 /src/util.cpp
parentIntroduce basic Dogecoin branding (diff)
downloaddiscoin-5731f4f3c6dff84d6c5264954ba15e5b991abe38.tar.xz
discoin-5731f4f3c6dff84d6c5264954ba15e5b991abe38.zip
Update Bitcoin references and addresses in strings to Dogecoin equivalents
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 4fbe66219..ae948c19f 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -375,7 +375,7 @@ static std::string FormatException(const std::exception* pex, const char* pszThr
char pszModule[MAX_PATH] = "";
GetModuleFileNameA(NULL, pszModule, sizeof(pszModule));
#else
- const char* pszModule = "bitcoin";
+ const char* pszModule = "dogecoin";
#endif
if (pex)
return strprintf(
@@ -402,7 +402,7 @@ boost::filesystem::path GetDefaultDataDir()
// Unix: ~/.bitcoin
#ifdef WIN32
// Windows
- return GetSpecialFolderPath(CSIDL_APPDATA) / "Bitcoin";
+ return GetSpecialFolderPath(CSIDL_APPDATA) / "Dogecoin";
#else
fs::path pathRet;
char* pszHome = getenv("HOME");
@@ -414,10 +414,10 @@ boost::filesystem::path GetDefaultDataDir()
// Mac
pathRet /= "Library/Application Support";
TryCreateDirectory(pathRet);
- return pathRet / "Bitcoin";
+ return pathRet / "Dogecoin";
#else
// Unix
- return pathRet / ".bitcoin";
+ return pathRet / ".dogecoin";
#endif
#endif
}
@@ -464,7 +464,7 @@ void ClearDatadirCache()
boost::filesystem::path GetConfigFile()
{
- boost::filesystem::path pathConfigFile(GetArg("-conf", "bitcoin.conf"));
+ boost::filesystem::path pathConfigFile(GetArg("-conf", "dogecoin.conf"));
if (!pathConfigFile.is_complete())
pathConfigFile = GetDataDir(false) / pathConfigFile;
@@ -500,7 +500,7 @@ void ReadConfigFile(map<string, string>& mapSettingsRet,
#ifndef WIN32
boost::filesystem::path GetPidFile()
{
- boost::filesystem::path pathPidFile(GetArg("-pid", "bitcoind.pid"));
+ boost::filesystem::path pathPidFile(GetArg("-pid", "dogecoind.pid"));
if (!pathPidFile.is_complete()) pathPidFile = GetDataDir() / pathPidFile;
return pathPidFile;
}