aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/main.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-24 18:59:48 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commit46de04d42cd3292bad26133a1d00905e342773dd (patch)
tree274cf9398e1e905235e7c464b1d75d8b78ef364c /cmd/swarm/main.go
parentedae2e0b2f898abfe64e4b7998103a8a67cce914 (diff)
downloaddexon-46de04d42cd3292bad26133a1d00905e342773dd.tar
dexon-46de04d42cd3292bad26133a1d00905e342773dd.tar.gz
dexon-46de04d42cd3292bad26133a1d00905e342773dd.tar.bz2
dexon-46de04d42cd3292bad26133a1d00905e342773dd.tar.lz
dexon-46de04d42cd3292bad26133a1d00905e342773dd.tar.xz
dexon-46de04d42cd3292bad26133a1d00905e342773dd.tar.zst
dexon-46de04d42cd3292bad26133a1d00905e342773dd.zip
Rename geth -> gdex and fix Dockerfile
Diffstat (limited to 'cmd/swarm/main.go')
-rw-r--r--cmd/swarm/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/swarm/main.go b/cmd/swarm/main.go
index 8b8af0c2b..fce5a5ce9 100644
--- a/cmd/swarm/main.go
+++ b/cmd/swarm/main.go
@@ -87,7 +87,7 @@ var defaultSubcommandHelp = cli.Command{
var defaultNodeConfig = node.DefaultConfig
-// This init function sets defaults so cmd/swarm can run alongside geth.
+// This init function sets defaults so cmd/swarm can run alongside gdex.
func init() {
defaultNodeConfig.Name = clientIdentifier
defaultNodeConfig.Version = sv.VersionWithCommit(gitCommit)
@@ -261,9 +261,9 @@ func bzzd(ctx *cli.Context) error {
//pss operates on ws
cfg.WSModules = append(cfg.WSModules, "pss")
- //geth only supports --datadir via command line
+ //gdex only supports --datadir via command line
//in order to be consistent within swarm, if we pass --datadir via environment variable
- //or via config file, we get the same directory for geth and swarm
+ //or via config file, we get the same directory for gdex and swarm
if _, err := os.Stat(bzzconfig.Path); err == nil {
cfg.DataDir = bzzconfig.Path
}