aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-26 13:54:28 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:54 +0800
commit32e1c5ad4d6e57e4d555577fa586324f10b7319e (patch)
treecce99e6243b10c46226355fd58787f47a0b1c64a /cmd/gdex
parent622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7 (diff)
downloaddexon-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar
dexon-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.gz
dexon-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.bz2
dexon-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.lz
dexon-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.xz
dexon-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.zst
dexon-32e1c5ad4d6e57e4d555577fa586324f10b7319e.zip
core: add Taipei testnet (#47)
Add a new testnet named Taipei.
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.go3
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 0fb94b89e..1ca7cd766 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 496e20ecf..d67817096 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,