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-dms3
Commits
b4dbfd33
Unverified
Commit
b4dbfd33
authored
Nov 14, 2020
by
Adin Schmahmann
Committed by
GitHub
Nov 14, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7747 from ipfs/feat/rw-close
update libp2p for stream closure refactor
parents
d523cca3
5cd013ed
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
111 additions
and
86 deletions
+111
-86
core/coreapi/pubsub.go
core/coreapi/pubsub.go
+5
-1
go.mod
go.mod
+18
-19
go.sum
go.sum
+88
-66
No files found.
core/coreapi/pubsub.go
View file @
b4dbfd33
...
...
@@ -118,5 +118,9 @@ func (msg *pubSubMessage) Seq() []byte {
}
func
(
msg
*
pubSubMessage
)
Topics
()
[]
string
{
return
msg
.
msg
.
TopicIDs
// TODO: handle breaking downstream changes by returning a single string.
if
msg
.
msg
.
Topic
==
nil
{
return
nil
}
return
[]
string
{
*
msg
.
msg
.
Topic
}
}
go.mod
View file @
b4dbfd33
...
...
@@ -14,9 +14,9 @@ require (
github.com/gogo/protobuf
v1.3.1
github.com/hashicorp/go-multierror
v1.1.0
github.com/hashicorp/golang-lru
v0.5.4
github.com/ipfs/go-bitswap
v0.
2
.2
0
github.com/ipfs/go-bitswap
v0.
3
.2
github.com/ipfs/go-block-format
v0.0.2
github.com/ipfs/go-blockservice
v0.1.
3
github.com/ipfs/go-blockservice
v0.1.
4
github.com/ipfs/go-cid
v0.0.7
github.com/ipfs/go-cidutil
v0.0.2
github.com/ipfs/go-datastore
v0.4.5
...
...
@@ -27,7 +27,7 @@ require (
github.com/ipfs/go-ds-measure
v0.1.0
github.com/ipfs/go-filestore
v0.0.3
github.com/ipfs/go-fs-lock
v0.0.6
github.com/ipfs/go-graphsync
v0.
1.1
github.com/ipfs/go-graphsync
v0.
5.0
github.com/ipfs/go-ipfs-blockstore
v0.1.4
github.com/ipfs/go-ipfs-chunker
v0.0.5
github.com/ipfs/go-ipfs-cmds
v0.4.0
...
...
@@ -54,33 +54,33 @@ require (
github.com/ipfs/go-unixfs
v0.2.4
github.com/ipfs/go-verifcid
v0.0.1
github.com/ipfs/interface-go-ipfs-core
v0.4.0
github.com/ipld/go-car
v0.1.1-0.2020
0429200904-c222d793c339
github.com/ipld/go-car
v0.1.1-0.2020
1015032735-ff6ccdc46acc
github.com/jbenet/go-is-domain
v1.0.5
github.com/jbenet/go-random
v0.0.0-20190219211222-123a90aedc0c
github.com/jbenet/go-temp-err-catcher
v0.1.0
github.com/jbenet/goprocess
v0.1.4
github.com/libp2p/go-libp2p
v0.1
1
.0
github.com/libp2p/go-libp2p-circuit
v0.
3.1
github.com/libp2p/go-libp2p
v0.1
2
.0
github.com/libp2p/go-libp2p-circuit
v0.
4.0
github.com/libp2p/go-libp2p-connmgr
v0.2.4
github.com/libp2p/go-libp2p-core
v0.
6.1
github.com/libp2p/go-libp2p-core
v0.
7.0
github.com/libp2p/go-libp2p-discovery
v0.5.0
github.com/libp2p/go-libp2p-http
v0.
1.5
github.com/libp2p/go-libp2p-kad-dht
v0.
9
.0
github.com/libp2p/go-libp2p-http
v0.
2.0
github.com/libp2p/go-libp2p-kad-dht
v0.
11
.0
github.com/libp2p/go-libp2p-kbucket
v0.4.7
github.com/libp2p/go-libp2p-loggables
v0.1.0
github.com/libp2p/go-libp2p-mplex
v0.
2.4
github.com/libp2p/go-libp2p-mplex
v0.
3.0
github.com/libp2p/go-libp2p-noise
v0.1.1
github.com/libp2p/go-libp2p-peerstore
v0.2.6
github.com/libp2p/go-libp2p-pubsub
v0.
3.5
github.com/libp2p/go-libp2p-pubsub-router
v0.
3.2
github.com/libp2p/go-libp2p-quic-transport
v0.
8.2
github.com/libp2p/go-libp2p-pubsub
v0.
4.0
github.com/libp2p/go-libp2p-pubsub-router
v0.
4.0
github.com/libp2p/go-libp2p-quic-transport
v0.
9.0
github.com/libp2p/go-libp2p-record
v0.1.3
github.com/libp2p/go-libp2p-routing-helpers
v0.2.3
github.com/libp2p/go-libp2p-secio
v0.2.2
github.com/libp2p/go-libp2p-swarm
v0.
2.8
github.com/libp2p/go-libp2p-testing
v0.
2
.0
github.com/libp2p/go-libp2p-swarm
v0.
3.1
github.com/libp2p/go-libp2p-testing
v0.
3
.0
github.com/libp2p/go-libp2p-tls
v0.1.3
github.com/libp2p/go-libp2p-yamux
v0.
2.8
github.com/libp2p/go-libp2p-yamux
v0.
4.0
github.com/libp2p/go-socket-activation
v0.0.2
github.com/libp2p/go-tcp-transport
v0.2.1
github.com/libp2p/go-ws-transport
v0.3.1
...
...
@@ -101,11 +101,10 @@ require (
github.com/whyrusleeping/multiaddr-filter
v0.0.0-20160516205228-e903e4adabd7
github.com/whyrusleeping/tar-utils
v0.0.0-20180509141711-8c6c8ba81d5c
go.uber.org/fx
v1.13.1
go.uber.org/zap
v1.1
5
.0
golang.org/x/crypto
v0.0.0-20200
622213623-75b288015ac9
go.uber.org/zap
v1.1
6
.0
golang.org/x/crypto
v0.0.0-20200
820211705-5c72a883971a
golang.org/x/lint
v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/sys
v0.0.0-20200615200032-f1bc736245b1
golang.org/x/tools
v0.0.0-20200522201501-cb1345f3a375 // indirect
)
go 1.13
go.sum
View file @
b4dbfd33
This diff is collapsed.
Click to expand it.
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