aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-18 18:42:01 +0800
committerobscuren <geffobscura@gmail.com>2015-02-18 18:42:01 +0800
commit05b1ec008b771d9856e83a6269a5267eb18e1f51 (patch)
tree001e9a721f7d7611b5907b819fcdc334609fc847 /cmd
parent60318c96d03bcaaf731802b1080a3d87cb482124 (diff)
downloadgo-tangerine-05b1ec008b771d9856e83a6269a5267eb18e1f51.tar
go-tangerine-05b1ec008b771d9856e83a6269a5267eb18e1f51.tar.gz
go-tangerine-05b1ec008b771d9856e83a6269a5267eb18e1f51.tar.bz2
go-tangerine-05b1ec008b771d9856e83a6269a5267eb18e1f51.tar.lz
go-tangerine-05b1ec008b771d9856e83a6269a5267eb18e1f51.tar.xz
go-tangerine-05b1ec008b771d9856e83a6269a5267eb18e1f51.tar.zst
go-tangerine-05b1ec008b771d9856e83a6269a5267eb18e1f51.zip
Disabled ability to disable whisper. Closes #334
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ethereum/flags.go2
-rw-r--r--cmd/ethereum/main.go2
-rw-r--r--cmd/mist/main.go1
3 files changed, 3 insertions, 2 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go
index 1e6869a69..577bee442 100644
--- a/cmd/ethereum/flags.go
+++ b/cmd/ethereum/flags.go
@@ -132,7 +132,7 @@ func Init() {
natstr = flag.String("nat", "any", "port mapping mechanism (any|none|upnp|pmp|extip:<IP>)")
)
flag.BoolVar(&Dial, "dial", true, "dial out connections (default on)")
- flag.BoolVar(&SHH, "shh", true, "run whisper protocol (default on)")
+ //flag.BoolVar(&SHH, "shh", true, "run whisper protocol (default on)")
flag.StringVar(&OutboundPort, "port", "30303", "listening port")
flag.StringVar(&BootNodes, "bootnodes", "", "space-separated node URLs for discovery bootstrap")
diff --git a/cmd/ethereum/main.go b/cmd/ethereum/main.go
index 0dba462be..1ffd4b6e9 100644
--- a/cmd/ethereum/main.go
+++ b/cmd/ethereum/main.go
@@ -71,7 +71,7 @@ func main() {
Port: OutboundPort,
NAT: NAT,
KeyRing: KeyRing,
- Shh: SHH,
+ Shh: true,
Dial: Dial,
BootNodes: BootNodes,
NodeKey: NodeKey,
diff --git a/cmd/mist/main.go b/cmd/mist/main.go
index 32222fbef..14f561e99 100644
--- a/cmd/mist/main.go
+++ b/cmd/mist/main.go
@@ -60,6 +60,7 @@ func run() error {
MaxPeers: MaxPeer,
Port: OutboundPort,
NAT: NAT,
+ Shh: true,
BootNodes: BootNodes,
NodeKey: NodeKey,
KeyRing: KeyRing,