|
|
@ -8,11 +8,11 @@ package main |
|
|
|
// )
|
|
|
|
// )
|
|
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
// peer := p2p.Peer{Ip: *ip, Port: *port}
|
|
|
|
// peer := p2p.Peer{Ip: *ip, Port: *port}
|
|
|
|
// 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)
|
|
|
|
} |
|
|
|
} |
|
|
|