aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@ziggo.nl>2015-06-08 17:01:02 +0800
committerBas van Kervel <basvankervel@gmail.com>2015-06-11 20:01:39 +0800
commit2a0d888326036be9cabe6680617ce2d1a27761d3 (patch)
tree8458bcb21f07fbc5290712029f1f4f78ab54aa5a /cmd/geth
parent8ebf2d8fad729a8261f237bb05b6073e6c1b652f (diff)
downloadgo-tangerine-2a0d888326036be9cabe6680617ce2d1a27761d3.tar
go-tangerine-2a0d888326036be9cabe6680617ce2d1a27761d3.tar.gz
go-tangerine-2a0d888326036be9cabe6680617ce2d1a27761d3.tar.bz2
go-tangerine-2a0d888326036be9cabe6680617ce2d1a27761d3.tar.lz
go-tangerine-2a0d888326036be9cabe6680617ce2d1a27761d3.tar.xz
go-tangerine-2a0d888326036be9cabe6680617ce2d1a27761d3.tar.zst
go-tangerine-2a0d888326036be9cabe6680617ce2d1a27761d3.zip
added API/IPC commandline flags
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 4d7d57220..d180c269f 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -239,6 +239,9 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
utils.RPCEnabledFlag,
utils.RPCListenAddrFlag,
utils.RPCPortFlag,
+ utils.IPCDisabledFlag,
+ utils.IPCApiFlag,
+ utils.IPCPathFlag,
utils.WhisperEnabledFlag,
utils.VMDebugFlag,
utils.ProtocolVersionFlag,
@@ -382,6 +385,11 @@ func startEth(ctx *cli.Context, eth *eth.Ethereum) {
}
}
// Start auxiliary services if enabled.
+ if !ctx.GlobalBool(utils.IPCDisabledFlag.Name) {
+ if err := utils.StartIPC(eth, ctx); err != nil {
+ utils.Fatalf("Error string IPC: %v", err)
+ }
+ }
if ctx.GlobalBool(utils.RPCEnabledFlag.Name) {
if err := utils.StartRPC(eth, ctx); err != nil {
utils.Fatalf("Error starting RPC: %v", err)