cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes

This commit is contained in:
Felix Lange
2015-02-07 00:38:36 +01:00
parent 2cf4fed11b
commit 028775a086
9 changed files with 43 additions and 22 deletions

View File

@ -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))