Skip to content

Commit

Permalink
bitswap: migrate ipfs/go-bitswap
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo committed Jan 26, 2023
1 parent 28de80b commit c556725
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion testnet/interface.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package bitswap

import (
bsnet "github.com/ipfs/go-bitswap/network"
bsnet "github.com/ipfs/go-libipfs/bitswap/network"

tnet "github.com/libp2p/go-libp2p-testing/net"
"github.com/libp2p/go-libp2p/core/peer"
Expand Down
6 changes: 3 additions & 3 deletions testnet/network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"sync"
"testing"

bsmsg "github.com/ipfs/go-bitswap/message"
bsnet "github.com/ipfs/go-bitswap/network"
bsmsg "github.com/ipfs/go-libipfs/bitswap/message"
bsnet "github.com/ipfs/go-libipfs/bitswap/network"

blocks "github.com/ipfs/go-block-format"
delay "github.com/ipfs/go-ipfs-delay"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
blocks "github.com/ipfs/go-libipfs/blocks"

tnet "github.com/libp2p/go-libp2p-testing/net"
"github.com/libp2p/go-libp2p/core/peer"
Expand Down
2 changes: 1 addition & 1 deletion testnet/peernet.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package bitswap
import (
"context"

bsnet "github.com/ipfs/go-bitswap/network"
bsnet "github.com/ipfs/go-libipfs/bitswap/network"

ds "github.com/ipfs/go-datastore"
mockrouting "github.com/ipfs/go-ipfs-routing/mock"
Expand Down
4 changes: 2 additions & 2 deletions testnet/virtual.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"sync/atomic"
"time"

bsmsg "github.com/ipfs/go-bitswap/message"
bsnet "github.com/ipfs/go-bitswap/network"
bsmsg "github.com/ipfs/go-libipfs/bitswap/message"
bsnet "github.com/ipfs/go-libipfs/bitswap/network"

cid "github.com/ipfs/go-cid"
delay "github.com/ipfs/go-ipfs-delay"
Expand Down

0 comments on commit c556725

Please sign in to comment.