aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-13 13:56:43 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit7774f1809297b1d158cef504a56bf49296f90609 (patch)
treeebc522c4e94d180f92ff2255a6f0f00c676b9acf
parent8dc2068251b779ea6b93a3e789a9ebdeb8497b5c (diff)
downloaddexon-7774f1809297b1d158cef504a56bf49296f90609.tar
dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.gz
dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.bz2
dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.lz
dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.xz
dexon-7774f1809297b1d158cef504a56bf49296f90609.tar.zst
dexon-7774f1809297b1d158cef504a56bf49296f90609.zip
node: change default datadir folder name to dexon
-rw-r--r--node/defaults.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/defaults.go b/node/defaults.go
index 6d7b6e155..ec4fc8039 100644
--- a/node/defaults.go
+++ b/node/defaults.go
@@ -57,11 +57,11 @@ func DefaultDataDir() string {
home := homeDir()
if home != "" {
if runtime.GOOS == "darwin" {
- return filepath.Join(home, "Library", "Ethereum")
+ return filepath.Join(home, "Library", "Dexon")
} else if runtime.GOOS == "windows" {
- return filepath.Join(home, "AppData", "Roaming", "Ethereum")
+ return filepath.Join(home, "AppData", "Roaming", "Dexon")
} else {
- return filepath.Join(home, ".ethereum")
+ return filepath.Join(home, ".dexon")
}
}
// As we cannot guess a stable location, return empty and handle later