aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2015-07-27 16:35:30 +0100
committerRoss Nicoll <[email protected]>2019-03-25 05:36:11 +0000
commit148a2aca05fe98031bcf857fa186d792c507090c (patch)
tree11c7fd275ea0a61250e747b81f0b2c372c77a3dd /src/util.cpp
parentDrop use of smart fees (diff)
downloaddiscoin-148a2aca05fe98031bcf857fa186d792c507090c.tar.xz
discoin-148a2aca05fe98031bcf857fa186d792c507090c.zip
Introduce basic Dogecoin branding
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 6f812d910..2cf6a3279 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -103,8 +103,8 @@ namespace boost {
using namespace std;
-const char * const BITCOIN_CONF_FILENAME = "bitcoin.conf";
-const char * const BITCOIN_PID_FILENAME = "bitcoind.pid";
+const char * const BITCOIN_CONF_FILENAME = "dogecoin.conf";
+const char * const BITCOIN_PID_FILENAME = "dogecoind.pid";
CCriticalSection cs_args;
map<string, string> mapArgs;
@@ -462,7 +462,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(
@@ -488,7 +488,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");
@@ -498,10 +498,10 @@ boost::filesystem::path GetDefaultDataDir()
pathRet = fs::path(pszHome);
#ifdef MAC_OSX
// Mac
- return pathRet / "Library/Application Support/Bitcoin";
+ return pathRet / "Library/Application Support/Dogecoin";
#else
// Unix
- return pathRet / ".bitcoin";
+ return pathRet / ".dogecoin";
#endif
#endif
}