diff options
author | Felix Lange <fjl@twurst.com> | 2015-02-07 07:38:36 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-02-07 07:52:49 +0800 |
commit | 028775a0863946c1e9ad51fe7b22faa5c59b2605 (patch) | |
tree | bc3962f1ad12e421cd8f67291af7a571d364b1c4 /cmd/mist/main.go | |
parent | 2cf4fed11b01bb99e08b838f7df2b9396f42f758 (diff) | |
download | go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.gz go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.tar.zst go-tangerine-028775a0863946c1e9ad51fe7b22faa5c59b2605.zip |
cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes
Diffstat (limited to 'cmd/mist/main.go')
-rw-r--r-- | cmd/mist/main.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/mist/main.go b/cmd/mist/main.go index 17ab9467a..5bae33088 100644 --- a/cmd/mist/main.go +++ b/cmd/mist/main.go @@ -59,8 +59,9 @@ func run() error { LogLevel: LogLevel, MaxPeers: MaxPeer, Port: OutboundPort, - NATType: PMPGateway, + NATType: NatType, PMPGateway: PMPGateway, + BootNodes: BootNodes, KeyRing: KeyRing, Dial: true, }) @@ -82,7 +83,7 @@ func run() error { utils.RegisterInterrupt(func(os.Signal) { gui.Stop() }) - go utils.StartEthereum(ethereum, SeedNode) + go utils.StartEthereum(ethereum) fmt.Println("ETH stack took", time.Since(tstart)) |