Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
4bb9a610
Commit
4bb9a610
authored
Jun 11, 2015
by
Jeffrey Wilcke
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1245 from bas-vk/ipcdatadirfix
ipc socket always uses default path
parents
e2c2d8e1
22080e1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
main.go
cmd/geth/main.go
+1
-1
flags.go
cmd/utils/flags.go
+1
-1
No files found.
cmd/geth/main.go
View file @
4bb9a610
...
@@ -308,7 +308,7 @@ func console(ctx *cli.Context) {
...
@@ -308,7 +308,7 @@ func console(ctx *cli.Context) {
ethereum
,
ethereum
,
ctx
.
String
(
utils
.
JSpathFlag
.
Name
),
ctx
.
String
(
utils
.
JSpathFlag
.
Name
),
ctx
.
GlobalString
(
utils
.
RPCCORSDomainFlag
.
Name
),
ctx
.
GlobalString
(
utils
.
RPCCORSDomainFlag
.
Name
),
ctx
.
GlobalString
(
utils
.
IPCPathFlag
.
Name
),
filepath
.
Join
(
ctx
.
GlobalString
(
utils
.
DataDirFlag
.
Name
),
"geth.ipc"
),
true
,
true
,
nil
,
nil
,
)
)
...
...
cmd/utils/flags.go
View file @
4bb9a610
...
@@ -387,7 +387,7 @@ func MakeAccountManager(ctx *cli.Context) *accounts.Manager {
...
@@ -387,7 +387,7 @@ func MakeAccountManager(ctx *cli.Context) *accounts.Manager {
func
StartIPC
(
eth
*
eth
.
Ethereum
,
ctx
*
cli
.
Context
)
error
{
func
StartIPC
(
eth
*
eth
.
Ethereum
,
ctx
*
cli
.
Context
)
error
{
config
:=
comms
.
IpcConfig
{
config
:=
comms
.
IpcConfig
{
Endpoint
:
ctx
.
GlobalString
(
IPCPathFlag
.
Name
),
Endpoint
:
filepath
.
Join
(
ctx
.
GlobalString
(
DataDirFlag
.
Name
),
"geth.ipc"
),
}
}
xeth
:=
xeth
.
New
(
eth
,
nil
)
xeth
:=
xeth
.
New
(
eth
,
nil
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment