Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-bitswap
Commits
8c2a566e
Commit
8c2a566e
authored
Oct 06, 2017
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update deps for new connmgr code
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
80625126
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
12 deletions
+12
-12
bitswap_test.go
bitswap_test.go
+2
-2
decision/bench_test.go
decision/bench_test.go
+1
-1
decision/engine_test.go
decision/engine_test.go
+1
-1
decision/peer_request_queue_test.go
decision/peer_request_queue_test.go
+1
-1
network/ipfs_impl.go
network/ipfs_impl.go
+1
-1
testnet/interface.go
testnet/interface.go
+1
-1
testnet/network_test.go
testnet/network_test.go
+1
-1
testnet/peernet.go
testnet/peernet.go
+2
-2
testnet/virtual.go
testnet/virtual.go
+1
-1
testutils.go
testutils.go
+1
-1
No files found.
bitswap_test.go
View file @
8c2a566e
...
...
@@ -14,13 +14,13 @@ import (
tn
"github.com/ipfs/go-ipfs/exchange/bitswap/testnet"
mockrouting
"github.com/ipfs/go-ipfs/routing/mock"
delay
"github.com/ipfs/go-ipfs/thirdparty/delay"
travis
"gx/ipfs/QmQgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK/go-testutil/ci/travis"
blocks
"gx/ipfs/QmSn9Td7xgxm9EV7iEjTckpUWmWApggzPxu7eFGWkkpwin/go-block-format"
travis
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil/ci/travis"
detectrace
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-detect-race"
cid
"gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid"
tu
"gx/ipfs/Qm
QgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK
/go-testutil"
tu
"gx/ipfs/Qm
WRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx
/go-testutil"
p2ptestutil
"gx/ipfs/QmdzuGp4a9pahgXuBeReHdYGUzdVX3FUCwfmWVo5mQfkTi/go-libp2p-netutil"
)
...
...
decision/bench_test.go
View file @
8c2a566e
...
...
@@ -7,8 +7,8 @@ import (
"github.com/ipfs/go-ipfs/exchange/bitswap/wantlist"
cid
"gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid"
"gx/ipfs/QmQgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK/go-testutil"
u
"gx/ipfs/QmSU6eubNdhXjFBJBSksTp8kv8YRub8mGAPv8tVJHmL2EU/go-ipfs-util"
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil"
"gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
)
...
...
decision/engine_test.go
View file @
8c2a566e
...
...
@@ -11,10 +11,10 @@ import (
context
"context"
blockstore
"github.com/ipfs/go-ipfs/blocks/blockstore"
message
"github.com/ipfs/go-ipfs/exchange/bitswap/message"
testutil
"gx/ipfs/QmQgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK/go-testutil"
blocks
"gx/ipfs/QmSn9Td7xgxm9EV7iEjTckpUWmWApggzPxu7eFGWkkpwin/go-block-format"
ds
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore"
dssync
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore/sync"
testutil
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil"
peer
"gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
)
...
...
decision/peer_request_queue_test.go
View file @
8c2a566e
...
...
@@ -10,8 +10,8 @@ import (
"github.com/ipfs/go-ipfs/exchange/bitswap/wantlist"
cid
"gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid"
"gx/ipfs/QmQgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK/go-testutil"
u
"gx/ipfs/QmSU6eubNdhXjFBJBSksTp8kv8YRub8mGAPv8tVJHmL2EU/go-ipfs-util"
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil"
)
func
TestPushPop
(
t
*
testing
.
T
)
{
...
...
network/ipfs_impl.go
View file @
8c2a566e
...
...
@@ -16,7 +16,7 @@ import (
ma
"gx/ipfs/QmXY77cVe7rVRQXZZQRioukUM7aRW3BTcAgJe12MCtb3Ji/go-multiaddr"
peer
"gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
ggio
"gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV/gogo-protobuf/io"
host
"gx/ipfs/Qm
aSxYRuMq4pkpBBG2CYaRrPx2z7NmMVEs34b9g61biQA6
/go-libp2p-host"
host
"gx/ipfs/Qm
c1XhrFEiSeBNn3mpfg6gEuYCt5im2gYmNVmncsvmpeAk
/go-libp2p-host"
)
var
log
=
logging
.
Logger
(
"bitswap_network"
)
...
...
testnet/interface.go
View file @
8c2a566e
...
...
@@ -2,7 +2,7 @@ package bitswap
import
(
bsnet
"github.com/ipfs/go-ipfs/exchange/bitswap/network"
"gx/ipfs/Qm
QgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK
/go-testutil"
"gx/ipfs/Qm
WRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx
/go-testutil"
peer
"gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
)
...
...
testnet/network_test.go
View file @
8c2a566e
...
...
@@ -9,8 +9,8 @@ import (
bsnet
"github.com/ipfs/go-ipfs/exchange/bitswap/network"
mockrouting
"github.com/ipfs/go-ipfs/routing/mock"
delay
"github.com/ipfs/go-ipfs/thirdparty/delay"
testutil
"gx/ipfs/QmQgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK/go-testutil"
blocks
"gx/ipfs/QmSn9Td7xgxm9EV7iEjTckpUWmWApggzPxu7eFGWkkpwin/go-block-format"
testutil
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil"
peer
"gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
)
...
...
testnet/peernet.go
View file @
8c2a566e
...
...
@@ -4,10 +4,10 @@ import (
"context"
bsnet
"github.com/ipfs/go-ipfs/exchange/bitswap/network"
mockrouting
"github.com/ipfs/go-ipfs/routing/mock"
testutil
"gx/ipfs/QmQgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK/go-testutil"
mockpeernet
"gx/ipfs/QmRQ76P5dgvxTujhfPsCRAG83rC15jgb1G9bKLuomuC6dQ/go-libp2p/p2p/net/mock"
ds
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore"
testutil
"gx/ipfs/QmWRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx/go-testutil"
peer
"gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer"
mockpeernet
"gx/ipfs/Qmbgce14YTWE2qhE49JVvTBPaHTyz3FaFmqQPyuZAz6C28/go-libp2p/p2p/net/mock"
)
type
peernet
struct
{
...
...
testnet/virtual.go
View file @
8c2a566e
...
...
@@ -8,7 +8,7 @@ import (
bsnet
"github.com/ipfs/go-ipfs/exchange/bitswap/network"
mockrouting
"github.com/ipfs/go-ipfs/routing/mock"
delay
"github.com/ipfs/go-ipfs/thirdparty/delay"
testutil
"gx/ipfs/Qm
QgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK
/go-testutil"
testutil
"gx/ipfs/Qm
WRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx
/go-testutil"
cid
"gx/ipfs/QmNp85zy9RLrQ5oQD4hPyS39ezrrXpcaa7R4Y9kxdWQLLQ/go-cid"
routing
"gx/ipfs/QmPR2JzfKd9poHx9XBhzoFeBBC31ZM3W5iUPKJZWyaoZZm/go-libp2p-routing"
...
...
testutils.go
View file @
8c2a566e
...
...
@@ -8,7 +8,7 @@ import (
tn
"github.com/ipfs/go-ipfs/exchange/bitswap/testnet"
datastore2
"github.com/ipfs/go-ipfs/thirdparty/datastore2"
delay
"github.com/ipfs/go-ipfs/thirdparty/delay"
testutil
"gx/ipfs/Qm
QgLZP9haZheimMHqqAjJh2LhRmNfEoZDfbtkpeMhi9xK
/go-testutil"
testutil
"gx/ipfs/Qm
WRCn8vruNAzHx8i6SAXinuheRitKEGu8c7m26stKvsYx
/go-testutil"
ds
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore"
ds_sync
"gx/ipfs/QmVSase1JP7cq9QkPT46oNwdp9pT6kBkG3oqS14y3QcZjG/go-datastore/sync"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment