Change branding from bitcoin to elements

This commit is contained in:
Steven Roose 2019-03-21 12:40:38 +00:00
parent ade539cbb4
commit e1cd00cc6c
39 changed files with 220 additions and 215 deletions

View file

@ -81,8 +81,8 @@
// Application startup time (used for uptime calculation)
const int64_t nStartupTime = GetTime();
const char * const BITCOIN_CONF_FILENAME = "bitcoin.conf";
const char * const BITCOIN_PID_FILENAME = "bitcoind.pid";
const char * const BITCOIN_CONF_FILENAME = "elements.conf";
const char * const BITCOIN_PID_FILENAME = "elementsd.pid";
ArgsManager gArgs;
@ -712,7 +712,7 @@ fs::path GetDefaultDataDir()
// Unix: ~/.bitcoin
#ifdef WIN32
// Windows
return GetSpecialFolderPath(CSIDL_APPDATA) / "Bitcoin";
return GetSpecialFolderPath(CSIDL_APPDATA) / "Elements";
#else
fs::path pathRet;
char* pszHome = getenv("HOME");
@ -722,10 +722,10 @@ fs::path GetDefaultDataDir()
pathRet = fs::path(pszHome);
#ifdef MAC_OSX
// Mac
return pathRet / "Library/Application Support/Bitcoin";
return pathRet / "Library/Application Support/Elements";
#else
// Unix
return pathRet / ".bitcoin";
return pathRet / ".elements";
#endif
#endif
}