added API/IPC commandline flags
This commit is contained in:
committed by
Bas van Kervel
parent
8ebf2d8fad
commit
2a0d888326
@ -94,6 +94,10 @@ func DefaultDataDir() string {
|
||||
}
|
||||
}
|
||||
|
||||
func DefaultIpcPath() string {
|
||||
return filepath.Join(DefaultDataDir(), "geth.ipc")
|
||||
}
|
||||
|
||||
func IsWindows() bool {
|
||||
return runtime.GOOS == "windows"
|
||||
}
|
||||
|
Reference in New Issue
Block a user