diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-26 13:54:28 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 61cb6c4428d46897b1cb812f431289cdbb9a4433 (patch) | |
tree | c37d1946a7557fb4e009adf9c0cd64ee1da9d8cd /cmd/gdex | |
parent | f79bf330b4b649ea74d54faf749214c14f32af9c (diff) | |
download | dexon-61cb6c4428d46897b1cb812f431289cdbb9a4433.tar dexon-61cb6c4428d46897b1cb812f431289cdbb9a4433.tar.gz dexon-61cb6c4428d46897b1cb812f431289cdbb9a4433.tar.bz2 dexon-61cb6c4428d46897b1cb812f431289cdbb9a4433.tar.lz dexon-61cb6c4428d46897b1cb812f431289cdbb9a4433.tar.xz dexon-61cb6c4428d46897b1cb812f431289cdbb9a4433.tar.zst dexon-61cb6c4428d46897b1cb812f431289cdbb9a4433.zip |
core: add Taipei testnet (#47)
Add a new testnet named Taipei.
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 | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/cmd/gdex/consolecmd.go b/cmd/gdex/consolecmd.go index 9915e1ee0..8b9d58dad 100644 --- a/cmd/gdex/consolecmd.go +++ b/cmd/gdex/consolecmd.go @@ -124,6 +124,8 @@ func remoteConsole(ctx *cli.Context) error { if path != "" { if ctx.GlobalBool(utils.TestnetFlag.Name) { path = filepath.Join(path, "testnet") + } else if ctx.GlobalBool(utils.TaipeiFlag.Name) { + path = filepath.Join(path, "taipei") } } endpoint = fmt.Sprintf("%s/gdex.ipc", path) diff --git a/cmd/gdex/main.go b/cmd/gdex/main.go index 376559ef3..6d495ba11 100644 --- a/cmd/gdex/main.go +++ b/cmd/gdex/main.go @@ -122,6 +122,7 @@ var ( utils.DeveloperFlag, utils.DeveloperPeriodFlag, utils.TestnetFlag, + utils.TaipeiFlag, utils.VMEnableDebugFlag, utils.NetworkIdFlag, utils.ConstantinopleOverrideFlag, diff --git a/cmd/gdex/usage.go b/cmd/gdex/usage.go index b9d4d1833..c19991928 100644 --- a/cmd/gdex/usage.go +++ b/cmd/gdex/usage.go @@ -65,7 +65,7 @@ type flagGroup struct { // AppHelpFlagGroups is the application flags, grouped by functionality. var AppHelpFlagGroups = []flagGroup{ { - Name: "ETHEREUM", + Name: "DEXON", Flags: []cli.Flag{ configFileFlag, utils.DataDirFlag, @@ -73,6 +73,7 @@ var AppHelpFlagGroups = []flagGroup{ utils.NoUSBFlag, utils.NetworkIdFlag, utils.TestnetFlag, + utils.TaipeiFlag, utils.SyncModeFlag, utils.GCModeFlag, utils.EthStatsURLFlag, |