aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/path.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/path.go b/common/path.go
index 3468b3366..63a23abcd 100644
--- a/common/path.go
+++ b/common/path.go
@@ -94,6 +94,10 @@ func DefaultDataDir() string {
}
}
+func DefaultIpcPath() string {
+ return filepath.Join(DefaultDataDir(), "geth.ipc")
+}
+
func IsWindows() bool {
return runtime.GOOS == "windows"
}