From 9ceee4d3363bee2a824bce15a25170281a3e27f6 Mon Sep 17 00:00:00 2001 From: ak Date: Sat, 10 Nov 2018 11:51:14 -0800 Subject: [PATCH] removing old --- runwait/run_wait.go | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 runwait/run_wait.go diff --git a/runwait/run_wait.go b/runwait/run_wait.go deleted file mode 100644 index 254efe598..000000000 --- a/runwait/run_wait.go +++ /dev/null @@ -1,30 +0,0 @@ -package main - -import ( - "flag" - "fmt" - "time" - - "github.com/simple-rules/harmony-benchmark/node" - "github.com/simple-rules/harmony-benchmark/p2p" -) - -func main() { - ip := flag.String("ip", "localhost", "IP of the node") - port := flag.String("port", "8080", "port of the node") - flag.Parse() - - i := 0 - peer := p2p.Peer{Ip: *ip, Port: *port} - fmt.Println("Now onto node i", i) - idcpeer := p2p.Peer{Ip: "localhost", Port: "9000"} //Hardcoded here. - node := node.NewWaitNode(peer, idcpeer) - go func() { - node.ConnectIdentityChain() - }() - node.StartServer(*port) - - time.Sleep(5 * time.Second) - //} - -}