aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-03 15:28:45 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commit43b14136118d600f14a4ae706557fa14401047d2 (patch)
tree9595f648b2b369913d828023b458c152c7e76d33 /cmd/gdex
parentd7f599a14d89e7ce1e9f2ab44a01e0d63c428f26 (diff)
downloadgo-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar
go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.gz
go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.bz2
go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.lz
go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.xz
go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.tar.zst
go-tangerine-43b14136118d600f14a4ae706557fa14401047d2.zip
test: start a separate RPC node for testing block sync
Diffstat (limited to 'cmd/gdex')
-rw-r--r--cmd/gdex/main.go4
-rw-r--r--cmd/gdex/usage.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/cmd/gdex/main.go b/cmd/gdex/main.go
index 84a02cca4..0fb94b89e 100644
--- a/cmd/gdex/main.go
+++ b/cmd/gdex/main.go
@@ -97,7 +97,7 @@ var (
utils.ListenPortFlag,
utils.MaxPeersFlag,
utils.MaxPendingPeersFlag,
- utils.ProposingEnabledFlag,
+ utils.BlockProposerEnabledFlag,
utils.MiningEnabledFlag,
utils.MinerThreadsFlag,
utils.MinerLegacyThreadsFlag,
@@ -358,7 +358,7 @@ func startNode(ctx *cli.Context, stack *node.Node) {
}
}
- if ctx.GlobalBool(utils.ProposingEnabledFlag.Name) {
+ if ctx.GlobalBool(utils.BlockProposerEnabledFlag.Name) {
if ctx.GlobalString(utils.SyncModeFlag.Name) == "light" {
utils.Fatalf("Light clients do not support proposing")
}
diff --git a/cmd/gdex/usage.go b/cmd/gdex/usage.go
index 685b5bc1c..496e20ecf 100644
--- a/cmd/gdex/usage.go
+++ b/cmd/gdex/usage.go
@@ -184,9 +184,9 @@ var AppHelpFlagGroups = []flagGroup{
},
},
{
- Name: "PROPOSER",
+ Name: "BLOCK PROPOSER",
Flags: []cli.Flag{
- utils.ProposingEnabledFlag,
+ utils.BlockProposerEnabledFlag,
},
},
{