diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-02-25 19:08:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:22 +0800 |
commit | 20718c049c3988f6aac25bee2d33f959ad517deb (patch) | |
tree | 19fc4ec3a0f5fbcfa753353c87a5da545a8c4cd0 /cmd/gdex | |
parent | 8e92e73dc650ac03c228fbb26a3afe88a5bc237c (diff) | |
download | go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.gz go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.bz2 go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.lz go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.xz go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.zst go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.zip |
params: add Yilan network (#207)
* Add Yilan network
* Fixup: remove dummy log
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 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, |