diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-24 18:59:48 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:17 +0800 |
commit | d8061c0557a43cc1f67ba59a73d13df1d4436a65 (patch) | |
tree | 84547a42be163047e9715bb0c8b5af66251d0c86 /cmd/utils/flags.go | |
parent | 185c358e4e0e430df9cd68f85888e8b142786609 (diff) | |
download | go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.gz go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.tar.zst go-tangerine-d8061c0557a43cc1f67ba59a73d13df1d4436a65.zip |
Rename geth -> gdex and fix Dockerfile
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r-- | cmd/utils/flags.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 585f9c313..b96a155ff 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -608,7 +608,7 @@ var ( MetricsInfluxDBDatabaseFlag = cli.StringFlag{ Name: "metrics.influxdb.database", Usage: "InfluxDB database name to push reported metrics to", - Value: "geth", + Value: "gdex", } MetricsInfluxDBUsernameFlag = cli.StringFlag{ Name: "metrics.influxdb.username", @@ -857,7 +857,7 @@ func MakeAddress(ks *keystore.KeyStore, account string) (accounts.Account, error log.Warn("-------------------------------------------------------------------") log.Warn("Referring to accounts by order in the keystore folder is dangerous!") log.Warn("This functionality is deprecated and will be removed in the future!") - log.Warn("Please use explicit addresses! (can search via `geth account list`)") + log.Warn("Please use explicit addresses! (can search via `gdex account list`)") log.Warn("-------------------------------------------------------------------") accs := ks.Accounts() @@ -1327,7 +1327,7 @@ func SetupMetrics(ctx *cli.Context) { log.Info("Enabling metrics export to InfluxDB") - go influxdb.InfluxDBWithTags(metrics.DefaultRegistry, 10*time.Second, endpoint, database, username, password, "geth.", tagsMap) + go influxdb.InfluxDBWithTags(metrics.DefaultRegistry, 10*time.Second, endpoint, database, username, password, "gdex.", tagsMap) } } } @@ -1445,11 +1445,11 @@ func MakeConsolePreloads(ctx *cli.Context) []string { // This is a temporary function used for migrating old command/flags to the // new format. // -// e.g. geth account new --keystore /tmp/mykeystore --lightkdf +// e.g. gdex account new --keystore /tmp/mykeystore --lightkdf // // is equivalent after calling this method with: // -// geth --keystore /tmp/mykeystore --lightkdf account new +// gdex --keystore /tmp/mykeystore --lightkdf account new // // This allows the use of the existing configuration functionality. // When all flags are migrated this function can be removed and the existing |