diff options
author | Bas van Kervel <basvankervel@ziggo.nl> | 2015-06-08 17:01:02 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@gmail.com> | 2015-06-11 20:01:39 +0800 |
commit | 2a0d888326036be9cabe6680617ce2d1a27761d3 (patch) | |
tree | 8458bcb21f07fbc5290712029f1f4f78ab54aa5a /common | |
parent | 8ebf2d8fad729a8261f237bb05b6073e6c1b652f (diff) | |
download | dexon-2a0d888326036be9cabe6680617ce2d1a27761d3.tar.gz dexon-2a0d888326036be9cabe6680617ce2d1a27761d3.tar.zst dexon-2a0d888326036be9cabe6680617ce2d1a27761d3.zip |
added API/IPC commandline flags
Diffstat (limited to 'common')
-rw-r--r-- | common/path.go | 4 |
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" } |