mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-04-24 22:32:13 +00:00
update dependencies after package extraction funtime
This commit is contained in:
parent
e64bc450ca
commit
6894f33507
10
dht.go
10
dht.go
@ -17,17 +17,17 @@ import (
|
||||
proto "github.com/gogo/protobuf/proto"
|
||||
cid "github.com/ipfs/go-cid"
|
||||
ds "github.com/ipfs/go-datastore"
|
||||
ci "github.com/ipfs/go-libp2p-crypto"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
pstore "github.com/ipfs/go-libp2p-peerstore"
|
||||
logging "github.com/ipfs/go-log"
|
||||
goprocess "github.com/jbenet/goprocess"
|
||||
goprocessctx "github.com/jbenet/goprocess/context"
|
||||
ci "github.com/libp2p/go-libp2p-crypto"
|
||||
host "github.com/libp2p/go-libp2p-host"
|
||||
kb "github.com/libp2p/go-libp2p-kbucket"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
pstore "github.com/libp2p/go-libp2p-peerstore"
|
||||
protocol "github.com/libp2p/go-libp2p-protocol"
|
||||
record "github.com/libp2p/go-libp2p-record"
|
||||
recpb "github.com/libp2p/go-libp2p-record/pb"
|
||||
host "github.com/libp2p/go-libp2p/p2p/host"
|
||||
protocol "github.com/libp2p/go-libp2p/p2p/protocol"
|
||||
base32 "github.com/whyrusleeping/base32"
|
||||
)
|
||||
|
||||
|
@ -10,9 +10,9 @@ import (
|
||||
"time"
|
||||
|
||||
u "github.com/ipfs/go-ipfs-util"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
goprocess "github.com/jbenet/goprocess"
|
||||
periodicproc "github.com/jbenet/goprocess/periodic"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
routing "github.com/libp2p/go-libp2p-routing"
|
||||
)
|
||||
|
||||
|
@ -7,10 +7,10 @@ import (
|
||||
"time"
|
||||
|
||||
ggio "github.com/gogo/protobuf/io"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
ctxio "github.com/jbenet/go-context/io"
|
||||
pb "github.com/libp2p/go-libp2p-kad-dht/pb"
|
||||
inet "github.com/libp2p/go-libp2p/p2p/net"
|
||||
inet "github.com/libp2p/go-libp2p-net"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
)
|
||||
|
||||
var dhtReadMessageTimeout = time.Minute
|
||||
|
@ -15,13 +15,13 @@ import (
|
||||
ds "github.com/ipfs/go-datastore"
|
||||
dssync "github.com/ipfs/go-datastore/sync"
|
||||
u "github.com/ipfs/go-ipfs-util"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
pstore "github.com/ipfs/go-libp2p-peerstore"
|
||||
ma "github.com/jbenet/go-multiaddr"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
pstore "github.com/libp2p/go-libp2p-peerstore"
|
||||
record "github.com/libp2p/go-libp2p-record"
|
||||
netutil "github.com/libp2p/go-libp2p/p2p/test/util"
|
||||
ci "github.com/libp2p/go-testutil/ci"
|
||||
travisci "github.com/libp2p/go-testutil/ci/travis"
|
||||
ma "github.com/multiformats/go-multiaddr"
|
||||
)
|
||||
|
||||
var testCaseValues = map[string][]byte{}
|
||||
|
@ -11,11 +11,11 @@ import (
|
||||
ds "github.com/ipfs/go-datastore"
|
||||
dssync "github.com/ipfs/go-datastore/sync"
|
||||
u "github.com/ipfs/go-ipfs-util"
|
||||
pstore "github.com/ipfs/go-libp2p-peerstore"
|
||||
pb "github.com/libp2p/go-libp2p-kad-dht/pb"
|
||||
inet "github.com/libp2p/go-libp2p-net"
|
||||
pstore "github.com/libp2p/go-libp2p-peerstore"
|
||||
record "github.com/libp2p/go-libp2p-record"
|
||||
routing "github.com/libp2p/go-libp2p-routing"
|
||||
inet "github.com/libp2p/go-libp2p/p2p/net"
|
||||
mocknet "github.com/libp2p/go-libp2p/p2p/net/mock"
|
||||
)
|
||||
|
||||
|
@ -10,10 +10,10 @@ import (
|
||||
cid "github.com/ipfs/go-cid"
|
||||
ds "github.com/ipfs/go-datastore"
|
||||
u "github.com/ipfs/go-ipfs-util"
|
||||
lgbl "github.com/ipfs/go-libp2p-loggables"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
pstore "github.com/ipfs/go-libp2p-peerstore"
|
||||
pb "github.com/libp2p/go-libp2p-kad-dht/pb"
|
||||
lgbl "github.com/libp2p/go-libp2p-loggables"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
pstore "github.com/libp2p/go-libp2p-peerstore"
|
||||
recpb "github.com/libp2p/go-libp2p-record/pb"
|
||||
base32 "github.com/whyrusleeping/base32"
|
||||
)
|
||||
|
@ -3,11 +3,11 @@ package dht
|
||||
import (
|
||||
"context"
|
||||
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
pset "github.com/ipfs/go-libp2p-peer/peerset"
|
||||
pstore "github.com/ipfs/go-libp2p-peerstore"
|
||||
logging "github.com/ipfs/go-log"
|
||||
kb "github.com/libp2p/go-libp2p-kbucket"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
pset "github.com/libp2p/go-libp2p-peer/peerset"
|
||||
pstore "github.com/libp2p/go-libp2p-peerstore"
|
||||
notif "github.com/libp2p/go-libp2p-routing/notifications"
|
||||
)
|
||||
|
||||
|
4
notif.go
4
notif.go
@ -1,8 +1,8 @@
|
||||
package dht
|
||||
|
||||
import (
|
||||
ma "github.com/jbenet/go-multiaddr"
|
||||
inet "github.com/libp2p/go-libp2p/p2p/net"
|
||||
inet "github.com/libp2p/go-libp2p-net"
|
||||
ma "github.com/multiformats/go-multiaddr"
|
||||
mstream "github.com/whyrusleeping/go-multistream"
|
||||
)
|
||||
|
||||
|
56
package.json
56
package.json
@ -14,15 +14,15 @@
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmVoi5es8D5fNHZDqoW6DgDAEPEV5hQp8GBz161vZXiwpQ",
|
||||
"hash": "QmfWDLQjGjVe4fr5CoztYW2DYYjRysMJrFe1RCsXLPTf46",
|
||||
"name": "go-libp2p-crypto",
|
||||
"version": "1.0.4"
|
||||
"version": "1.3.1"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmWXjJo15p4pzT7cayEwZi2sWgJqLnGDof6ZGMh9xBgU1p",
|
||||
"hash": "QmfMmLGoKzCHDN7cGgk64PJr4iipzidDRME8HABSJqvmhC",
|
||||
"name": "go-libp2p-peer",
|
||||
"version": "2.0.4"
|
||||
"version": "2.1.0"
|
||||
},
|
||||
{
|
||||
"hash": "QmSF8fPo3jgVBAy8fpdjjYqgG87dkJgUprRBHRd2tmfgpP",
|
||||
@ -42,9 +42,9 @@
|
||||
},
|
||||
{
|
||||
"author": "jbenet",
|
||||
"hash": "QmX6DhWrpBB5NtadXmPSXYNdVvuLfJXoFNMvUMoVvP5UJa",
|
||||
"hash": "QmTKsRYeY4simJyf37K93juSq75Lo8MVCDJ7owjmf46u8W",
|
||||
"name": "go-context",
|
||||
"version": "0.0.0"
|
||||
"version": "1.0.0"
|
||||
},
|
||||
{
|
||||
"author": "jbenet",
|
||||
@ -60,9 +60,9 @@
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmYkwVGkwoPbMVQEbf6LonZg4SsCxGP3H7PBEtdNCNRyxD",
|
||||
"hash": "QmXXCcQ7CLg5a81Ui9TTR35QcR4y7ZyihxwfjqaHfUVcVo",
|
||||
"name": "go-libp2p-peerstore",
|
||||
"version": "1.2.5"
|
||||
"version": "1.3.0"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
@ -84,27 +84,27 @@
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmYpVUnnedgGrp6cX2pBii5HRQgcSr778FiKVe7o7nF5Z3",
|
||||
"hash": "QmaEcA713Y54EtSsj7ZYfwXmsTfxrJ4oywr1iFt1d6LKY5",
|
||||
"name": "go-testutil",
|
||||
"version": "1.0.2"
|
||||
"version": "1.1.0"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmV4WegGoE6DcQdS3fPJjfMykWD9RqhheQ2gKdzkMJnvr9",
|
||||
"hash": "QmdM4ohF7cr4MvAECVeD3hRA3HtZrk1ngaek4n8ojVT87h",
|
||||
"name": "go-libp2p-record",
|
||||
"version": "2.0.0"
|
||||
"version": "2.1.0"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmepYi89BQ3qAhDXejox51WUm7toGBGd9xVVB7fhpsiXuv",
|
||||
"hash": "QmUKePKcUEXwdvJENZJ6z8mJjPaxLsDZ3V9CZjPPtyawPm",
|
||||
"name": "go-libp2p-kbucket",
|
||||
"version": "2.0.0"
|
||||
"version": "2.1.0"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmPtBUT1rFE9AR8qbyWtPAq54hhPggPCQbTV7vyHx896BX",
|
||||
"hash": "QmXKuGUzLcgoQvp8M6ZEJzupWUNmx8NoqXEbYLMDjL4rjj",
|
||||
"name": "go-libp2p-routing",
|
||||
"version": "2.0.1"
|
||||
"version": "2.1.1"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
@ -114,15 +114,27 @@
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmeDy4wNGTzmizLRKfm7oVe2k9FanDC4ys4LSFTuwTvb3z",
|
||||
"name": "go-libp2p",
|
||||
"version": "3.6.0"
|
||||
"hash": "QmakyCk6Vnn16WEKjbkxieZmM2YLTzkFWizbmGowoYPjro",
|
||||
"name": "go-cid",
|
||||
"version": "0.5.2"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmcW7CcRA5kMdqNBRpif7e8y9yvVRmJG1uurMvea8TY2SM",
|
||||
"name": "go-cid",
|
||||
"version": "0.5.0"
|
||||
"hash": "QmTMy4hVSY28DdwJ9kBz6y7q6MuioFzPcpM3Ma3aPjo1i3",
|
||||
"name": "go-libp2p-loggables",
|
||||
"version": "1.1.1"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmdML3R42PRSwnt46jSuEts9bHSqLctVYEjJqMR3UYV8ki",
|
||||
"name": "go-libp2p-host",
|
||||
"version": "1.1.0"
|
||||
},
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"hash": "QmcRa2qn6iCmap9bjp8jAwkvYAq13AUfxdY3rrYiaJbLum",
|
||||
"name": "go-libp2p",
|
||||
"version": "4.0.1"
|
||||
}
|
||||
],
|
||||
"gxVersion": "0.4.0",
|
||||
|
@ -1,12 +1,12 @@
|
||||
package dht_pb
|
||||
|
||||
import (
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
pstore "github.com/ipfs/go-libp2p-peerstore"
|
||||
logging "github.com/ipfs/go-log"
|
||||
b58 "github.com/jbenet/go-base58"
|
||||
ma "github.com/jbenet/go-multiaddr"
|
||||
inet "github.com/libp2p/go-libp2p/p2p/net"
|
||||
inet "github.com/libp2p/go-libp2p-net"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
pstore "github.com/libp2p/go-libp2p-peerstore"
|
||||
ma "github.com/multiformats/go-multiaddr"
|
||||
)
|
||||
|
||||
var log = logging.Logger("dht.pb")
|
||||
|
@ -11,10 +11,10 @@ import (
|
||||
cid "github.com/ipfs/go-cid"
|
||||
ds "github.com/ipfs/go-datastore"
|
||||
dsq "github.com/ipfs/go-datastore/query"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
logging "github.com/ipfs/go-log"
|
||||
goprocess "github.com/jbenet/goprocess"
|
||||
goprocessctx "github.com/jbenet/goprocess/context"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
autobatch "github.com/whyrusleeping/autobatch"
|
||||
base32 "github.com/whyrusleeping/base32"
|
||||
)
|
||||
|
@ -1,6 +1,7 @@
|
||||
package providers
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"testing"
|
||||
"time"
|
||||
@ -8,8 +9,7 @@ import (
|
||||
cid "github.com/ipfs/go-cid"
|
||||
ds "github.com/ipfs/go-datastore"
|
||||
u "github.com/ipfs/go-ipfs-util"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
context "golang.org/x/net/context"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
)
|
||||
|
||||
func TestProviderManager(t *testing.T) {
|
||||
|
8
query.go
8
query.go
@ -5,14 +5,14 @@ import (
|
||||
"sync"
|
||||
|
||||
u "github.com/ipfs/go-ipfs-util"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
pset "github.com/ipfs/go-libp2p-peer/peerset"
|
||||
pstore "github.com/ipfs/go-libp2p-peerstore"
|
||||
queue "github.com/ipfs/go-libp2p-peerstore/queue"
|
||||
logging "github.com/ipfs/go-log"
|
||||
todoctr "github.com/ipfs/go-todocounter"
|
||||
process "github.com/jbenet/goprocess"
|
||||
ctxproc "github.com/jbenet/goprocess/context"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
pset "github.com/libp2p/go-libp2p-peer/peerset"
|
||||
pstore "github.com/libp2p/go-libp2p-peerstore"
|
||||
queue "github.com/libp2p/go-libp2p-peerstore/queue"
|
||||
routing "github.com/libp2p/go-libp2p-routing"
|
||||
notif "github.com/libp2p/go-libp2p-routing/notifications"
|
||||
)
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
ci "github.com/ipfs/go-libp2p-crypto"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
ctxfrac "github.com/jbenet/go-context/frac"
|
||||
ci "github.com/libp2p/go-libp2p-crypto"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
record "github.com/libp2p/go-libp2p-record"
|
||||
recpb "github.com/libp2p/go-libp2p-record/pb"
|
||||
routing "github.com/libp2p/go-libp2p-routing"
|
||||
|
@ -9,15 +9,15 @@ import (
|
||||
"time"
|
||||
|
||||
cid "github.com/ipfs/go-cid"
|
||||
peer "github.com/ipfs/go-libp2p-peer"
|
||||
pset "github.com/ipfs/go-libp2p-peer/peerset"
|
||||
pstore "github.com/ipfs/go-libp2p-peerstore"
|
||||
pb "github.com/libp2p/go-libp2p-kad-dht/pb"
|
||||
kb "github.com/libp2p/go-libp2p-kbucket"
|
||||
inet "github.com/libp2p/go-libp2p-net"
|
||||
peer "github.com/libp2p/go-libp2p-peer"
|
||||
pset "github.com/libp2p/go-libp2p-peer/peerset"
|
||||
pstore "github.com/libp2p/go-libp2p-peerstore"
|
||||
record "github.com/libp2p/go-libp2p-record"
|
||||
routing "github.com/libp2p/go-libp2p-routing"
|
||||
notif "github.com/libp2p/go-libp2p-routing/notifications"
|
||||
inet "github.com/libp2p/go-libp2p/p2p/net"
|
||||
)
|
||||
|
||||
// asyncQueryBuffer is the size of buffered channels in async queries. This
|
||||
|
Loading…
x
Reference in New Issue
Block a user