|
|
@ -7,7 +7,7 @@ package main |
|
|
|
// "github.com/simple-rules/harmony-benchmark/waitnode"
|
|
|
|
// "github.com/simple-rules/harmony-benchmark/waitnode"
|
|
|
|
// )
|
|
|
|
// )
|
|
|
|
|
|
|
|
|
|
|
|
// func main() {
|
|
|
|
func main() { |
|
|
|
// ip := flag.String("ip", "127.0.0.0", "IP of the node")
|
|
|
|
// ip := flag.String("ip", "127.0.0.0", "IP of the node")
|
|
|
|
// port := flag.String("port", "8080", "port of the node")
|
|
|
|
// port := flag.String("port", "8080", "port of the node")
|
|
|
|
// flag.Parse()
|
|
|
|
// flag.Parse()
|
|
|
@ -15,4 +15,4 @@ package main |
|
|
|
// idcpeer := p2p.Peer{Ip: "localhost", Port: "9000"} //Hardcoded here.
|
|
|
|
// idcpeer := p2p.Peer{Ip: "localhost", Port: "9000"} //Hardcoded here.
|
|
|
|
// node := waitnode.New(peer)
|
|
|
|
// node := waitnode.New(peer)
|
|
|
|
// node.ConnectIdentityChain(idcpeer)
|
|
|
|
// node.ConnectIdentityChain(idcpeer)
|
|
|
|
// }
|
|
|
|
} |
|
|
|