diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-02-21 14:44:01 +0800 |
---|---|---|
committer | Mission Liao <mission.liao@dexon.org> | 2019-02-22 10:36:58 +0800 |
commit | e93e59e731216c61f45c1f41fef3d087a708c3c0 (patch) | |
tree | 0495fe07e9058a5907cfaf40bd97a92574ad2cc8 /cmd/gdex | |
parent | 7c3d44602d9e6d9547dd9d4e1ad8e167d33f11d2 (diff) | |
download | dexon-e93e59e731216c61f45c1f41fef3d087a708c3c0.tar dexon-e93e59e731216c61f45c1f41fef3d087a708c3c0.tar.gz dexon-e93e59e731216c61f45c1f41fef3d087a708c3c0.tar.bz2 dexon-e93e59e731216c61f45c1f41fef3d087a708c3c0.tar.lz dexon-e93e59e731216c61f45c1f41fef3d087a708c3c0.tar.xz dexon-e93e59e731216c61f45c1f41fef3d087a708c3c0.tar.zst dexon-e93e59e731216c61f45c1f41fef3d087a708c3c0.zip |
Add Yilan network
Diffstat (limited to 'cmd/gdex')
-rw-r--r-- | cmd/gdex/consolecmd.go | 2 | ||||
-rw-r--r-- | cmd/gdex/main.go | 1 | ||||
-rw-r--r-- | cmd/gdex/usage.go | 1 |
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 86a7af203..00eaf3b9c 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 f819c7695..f1ea5485f 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, |