The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/identitychain/identitychain_test.go

17 lines
331 B

6 years ago
package identitychain
import (
"testing"
)
func TestConnAlive(test *testing.T) {
// peer := p2p.Peer{Ip: "127.0.0.1", Port: "8080"}
// IDC := New(peer)
// IDC.listenOnPort()
// // conn, err := net.Dial("tcp", IDC.Peer.Ip+":"+IDC.Peer.Port)
// // if err != nil {
// // test.Fatal(err)
// // }
// // defer conn.Close()
}