aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorbarrystyle <[email protected]>2021-02-20 20:13:43 +0800
committerGitHub <[email protected]>2021-02-20 12:13:43 +0000
commit8f77f8870dcff8d22c4339cd72269cf71a8b1265 (patch)
tree418715cc6d3f5f019f8e596b6b784d5247b67eec /src/util
parentMerge #20933: [0.21] doc: Archive release notes, Add template for minor release (diff)
downloaddiscoin-8f77f8870dcff8d22c4339cd72269cf71a8b1265.tar.xz
discoin-8f77f8870dcff8d22c4339cd72269cf71a8b1265.zip
1.21 codebase rebrand (#1711)
* build: Brand codebase as Dogecoin via automake/autoconf files. * build: Update internal resource files for windows builds. * build: Update internal application names and data directories. * build: Update immediately visible remaining bitcoin name references from cli binaries and qt. * build: Update immediately visible bitcoin references in the main gui itself. * Update functional tests to match Dogecoin * wallet: Add missing check for -descriptors wallet tool option * correct output for functional tests (errorlevels?) Co-authored-by: Ross Nicoll <[email protected]> Co-authored-by: MarcoFalke <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/system.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index 5f30136fa..0cc19f67f 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -71,7 +71,7 @@
// Application startup time (used for uptime calculation)
const int64_t nStartupTime = GetTime();
-const char * const BITCOIN_CONF_FILENAME = "bitcoin.conf";
+const char * const BITCOIN_CONF_FILENAME = "dogecoin.conf";
const char * const BITCOIN_SETTINGS_FILENAME = "settings.json";
ArgsManager gArgs;
@@ -631,7 +631,7 @@ static std::string FormatException(const std::exception* pex, const char* pszThr
char pszModule[MAX_PATH] = "";
GetModuleFileNameA(nullptr, pszModule, sizeof(pszModule));
#else
- const char* pszModule = "bitcoin";
+ const char* pszModule = "dogecoin";
#endif
if (pex)
return strprintf(
@@ -650,12 +650,12 @@ void PrintExceptionContinue(const std::exception* pex, const char* pszThread)
fs::path GetDefaultDataDir()
{
- // Windows: C:\Users\Username\AppData\Roaming\Bitcoin
- // macOS: ~/Library/Application Support/Bitcoin
- // Unix-like: ~/.bitcoin
+ // Windows: C:\Users\Username\AppData\Roaming\Dogecoin
+ // macOS: ~/Library/Application Support/Dogecoin
+ // Unix-like: ~/.dogecoin
#ifdef WIN32
// Windows
- return GetSpecialFolderPath(CSIDL_APPDATA) / "Bitcoin";
+ return GetSpecialFolderPath(CSIDL_APPDATA) / "Dogecoin";
#else
fs::path pathRet;
char* pszHome = getenv("HOME");
@@ -665,10 +665,10 @@ fs::path GetDefaultDataDir()
pathRet = fs::path(pszHome);
#ifdef MAC_OSX
// macOS
- return pathRet / "Library/Application Support/Bitcoin";
+ return pathRet / "Library/Application Support/Dogecoin";
#else
// Unix-like
- return pathRet / ".bitcoin";
+ return pathRet / ".dogecoin";
#endif
#endif
}