Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
feat: update to latest go-libp2p-core interfaces
Browse files Browse the repository at this point in the history
This commit switches over to the new Close/CloseWrite/CloseRead interface
changes in go-libp2p-core 0.7.0.

This change also removes a now obsolete hack to implicitly clean up streams
after reading an EOF; calling Close or Reset is now required.

See: https://github.com/libp2p/go-libp2p-core/releases/tag/v0.7.0
  • Loading branch information
Stebalien committed Sep 2, 2020
1 parent 58c167a commit ff5d620
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 65 deletions.
2 changes: 1 addition & 1 deletion dial_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/libp2p/go-libp2p-testing/ci"

ma "github.com/multiformats/go-multiaddr"
manet "github.com/multiformats/go-multiaddr-net"
manet "github.com/multiformats/go-multiaddr/net"

. "github.com/libp2p/go-libp2p-swarm"
)
Expand Down
9 changes: 4 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ require (
github.com/jbenet/goprocess v0.1.4
github.com/libp2p/go-addr-util v0.0.2
github.com/libp2p/go-conn-security-multistream v0.2.0
github.com/libp2p/go-libp2p-core v0.6.0
github.com/libp2p/go-libp2p-core v0.7.0
github.com/libp2p/go-libp2p-loggables v0.1.0
github.com/libp2p/go-libp2p-peerstore v0.2.6
github.com/libp2p/go-libp2p-testing v0.1.1
github.com/libp2p/go-libp2p-testing v0.3.0
github.com/libp2p/go-libp2p-transport-upgrader v0.3.0
github.com/libp2p/go-libp2p-yamux v0.2.8
github.com/libp2p/go-libp2p-yamux v0.4.0
github.com/libp2p/go-stream-muxer-multistream v0.3.0
github.com/libp2p/go-tcp-transport v0.2.0
github.com/multiformats/go-multiaddr v0.2.2
github.com/multiformats/go-multiaddr v0.3.1
github.com/multiformats/go-multiaddr-fmt v0.1.0
github.com/multiformats/go-multiaddr-net v0.1.5
github.com/stretchr/testify v1.6.1
github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7
)
Loading

0 comments on commit ff5d620

Please sign in to comment.