aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2019-02-25 19:08:17 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:57 +0800
commit27d1254cd5459b69217b4b7877493a008e9dbe3e (patch)
tree125e8c41dd2c5a3fbde1d968d111c2f71dcec10e /cmd/gdex
parent5832a21db625bfa98a3b7909bb6996dd1fd2e4d3 (diff)
downloaddexon-27d1254cd5459b69217b4b7877493a008e9dbe3e.tar
dexon-27d1254cd5459b69217b4b7877493a008e9dbe3e.tar.gz
dexon-27d1254cd5459b69217b4b7877493a008e9dbe3e.tar.bz2
dexon-27d1254cd5459b69217b4b7877493a008e9dbe3e.tar.lz
dexon-27d1254cd5459b69217b4b7877493a008e9dbe3e.tar.xz
dexon-27d1254cd5459b69217b4b7877493a008e9dbe3e.tar.zst
dexon-27d1254cd5459b69217b4b7877493a008e9dbe3e.zip
params: add Yilan network (#207)
* Add Yilan network * Fixup: remove dummy log
Diffstat (limited to 'cmd/gdex')
-rw-r--r--cmd/gdex/consolecmd.go2
-rw-r--r--cmd/gdex/main.go1
-rw-r--r--cmd/gdex/usage.go1
3 files changed, 4 insertions, 0 deletions
diff --git a/cmd/gdex/consolecmd.go b/cmd/gdex/consolecmd.go
index 8b9d58dad..bc447fefd 100644
--- a/cmd/gdex/consolecmd.go
+++ b/cmd/gdex/consolecmd.go
@@ -126,6 +126,8 @@ func remoteConsole(ctx *cli.Context) error {
path = filepath.Join(path, "testnet")
} else if ctx.GlobalBool(utils.TaipeiFlag.Name) {
path = filepath.Join(path, "taipei")
+ } else if ctx.GlobalBool(utils.YilanFlag.Name) {
+ path = filepath.Join(path, "yilan")
}
}
endpoint = fmt.Sprintf("%s/gdex.ipc", path)
diff --git a/cmd/gdex/main.go b/cmd/gdex/main.go
index a2597c098..dcd46e796 100644
--- a/cmd/gdex/main.go
+++ b/cmd/gdex/main.go
@@ -123,6 +123,7 @@ var (
utils.DeveloperPeriodFlag,
utils.TestnetFlag,
utils.TaipeiFlag,
+ utils.YilanFlag,
utils.VMEnableDebugFlag,
utils.NetworkIdFlag,
utils.ConstantinopleOverrideFlag,
diff --git a/cmd/gdex/usage.go b/cmd/gdex/usage.go
index 910b6498b..093115b93 100644
--- a/cmd/gdex/usage.go
+++ b/cmd/gdex/usage.go
@@ -74,6 +74,7 @@ var AppHelpFlagGroups = []flagGroup{
utils.NetworkIdFlag,
utils.TestnetFlag,
utils.TaipeiFlag,
+ utils.YilanFlag,
utils.SyncModeFlag,
utils.GCModeFlag,
utils.EthStatsURLFlag,