Test connecting two nodes

This commit is contained in:
Łukasz Magiera
2019-07-09 19:03:36 +02:00
parent 4ac8eba59e
commit 0a9ef94da5
7 changed files with 92 additions and 18 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ type API interface {
NetPeers(context.Context) ([]peer.AddrInfo, error) // TODO: check serialization
NetConnect(context.Context, peer.AddrInfo) error
NetAddrsListen(context.Context) (MultiaddrSlice, error)
NetAddrsListen(context.Context) (peer.AddrInfo, error)
// // ping
// Struct