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
p2p
go-p2p-kbucket
Commits
b124471f
Commit
b124471f
authored
Jun 05, 2020
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: switch to forked cid ranger dep
parent
f49a71a0
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
287 deletions
+19
-287
go.mod
go.mod
+3
-5
go.sum
go.sum
+15
-281
peerdiversity/filter.go
peerdiversity/filter.go
+1
-1
No files found.
go.mod
View file @
b124471f
module
github.com/libp2p/go-libp2p-kbucket
module
github.com/libp2p/go-libp2p-kbucket
require (
require (
github.com/ipfs/go-ipfs-util
v0.0.
1
github.com/ipfs/go-ipfs-util
v0.0.
2
github.com/ipfs/go-log
v1.0.4
github.com/ipfs/go-log
v1.0.4
github.com/
jbenet/goprocess
v0.1.4
github.com/
libp2p/go-cidranger
v1.0.0
github.com/libp2p/go-libp2p-asn-util
v0.0.0-20200
528110405-70ea36266519
github.com/libp2p/go-libp2p-asn-util
v0.0.0-20200
606034824-1b967eb41be7
github.com/libp2p/go-libp2p-core
v0.5.4
github.com/libp2p/go-libp2p-core
v0.5.4
github.com/libp2p/go-libp2p-peerstore
v0.2.4
github.com/libp2p/go-libp2p-peerstore
v0.2.4
github.com/minio/sha256-simd
v0.1.1
github.com/minio/sha256-simd
v0.1.1
...
@@ -12,8 +12,6 @@ require (
...
@@ -12,8 +12,6 @@ require (
github.com/multiformats/go-multiaddr-net
v0.1.5
github.com/multiformats/go-multiaddr-net
v0.1.5
github.com/multiformats/go-multihash
v0.0.13
github.com/multiformats/go-multihash
v0.0.13
github.com/stretchr/testify
v1.5.1
github.com/stretchr/testify
v1.5.1
github.com/wangjia184/sortedset
v0.0.0-20160527075905-f5d03557ba30
github.com/yl2chen/cidranger
v1.0.0
)
)
go 1.13
go 1.13
go.sum
View file @
b124471f
This diff is collapsed.
Click to expand it.
peerdiversity/filter.go
View file @
b124471f
...
@@ -13,7 +13,7 @@ import (
...
@@ -13,7 +13,7 @@ import (
ma
"github.com/multiformats/go-multiaddr"
ma
"github.com/multiformats/go-multiaddr"
manet
"github.com/multiformats/go-multiaddr-net"
manet
"github.com/multiformats/go-multiaddr-net"
"github.com/
yl2chen/
cidranger"
"github.com/
libp2p/go-
cidranger"
)
)
var
dfLog
=
logging
.
Logger
(
"diversityFilter"
)
var
dfLog
=
logging
.
Logger
(
"diversityFilter"
)
...
...
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