Peer reaping and fake network

This commit is contained in:
obscuren
2014-01-12 23:46:03 +01:00
parent 52fb3b412c
commit 7ade1778fb
3 changed files with 45 additions and 13 deletions

View File

@ -72,14 +72,6 @@ func main() {
server.Start()
err = server.ConnectToPeer("localhost:12345")
if err != nil {
log.Println("Error starting server", err)
server.Stop()
return
}
// Wait for shutdown
server.WaitForShutdown()