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-swarm
Commits
8838b1c2
Commit
8838b1c2
authored
Nov 03, 2016
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bubble up peerstream modifications
parent
0ff1abb2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
package.json
package.json
+6
-6
swarm.go
swarm.go
+1
-1
swarm_conn.go
swarm_conn.go
+1
-1
swarm_listen.go
swarm_listen.go
+1
-1
swarm_stream.go
swarm_stream.go
+1
-1
No files found.
package.json
View file @
8838b1c2
...
...
@@ -9,9 +9,9 @@
"gxDependencies"
:
[
{
"author"
:
"whyrusleeping"
,
"hash"
:
"Qm
Z3qHMAtW9WEHexN3HsjSoduUBbrBPXMEoeddQtqdJUJ6
"
,
"hash"
:
"Qm
dysBu77i3YaagNtMAjiCJdeWWvds18ho5XEB784guQ41
"
,
"name"
:
"go-libp2p-net"
,
"version"
:
"1.
3
.0"
"version"
:
"1.
5
.0"
},
{
"author"
:
"whyrusleeping"
,
...
...
@@ -75,15 +75,15 @@
},
{
"author"
:
"whyrusleeping"
,
"hash"
:
"Qm
ezvofp8DAh8GnU395s2cvim7uACGp6DdiKVftAesEovw
"
,
"hash"
:
"Qm
VcNzHewFvmVah1CGqg8NV7nHHsPu19U43YE5b2oqWyBp
"
,
"name"
:
"go-libp2p-metrics"
,
"version"
:
"1.
3
.0"
"version"
:
"1.
5
.0"
},
{
"author"
:
"whyrusleeping"
,
"hash"
:
"Qm
diBXu57LDzaoovc89jypRSNEhxVZ4zRig2AsXm9VwrsS
"
,
"hash"
:
"Qm
eFCCpGjB663gcLVS7Kz6ZSXyFgx5aJwQu27xkwyWdWiG
"
,
"name"
:
"go-libp2p-conn"
,
"version"
:
"1.
2.1
"
"version"
:
"1.
4.0
"
},
{
"author"
:
"whyrusleeping"
,
...
...
swarm.go
View file @
8838b1c2
...
...
@@ -12,7 +12,6 @@ import (
"time"
logging
"github.com/ipfs/go-log"
ps
"github.com/jbenet/go-peerstream"
pst
"github.com/jbenet/go-stream-muxer"
"github.com/jbenet/goprocess"
goprocessctx
"github.com/jbenet/goprocess/context"
...
...
@@ -26,6 +25,7 @@ import (
pstore
"github.com/libp2p/go-libp2p-peerstore"
transport
"github.com/libp2p/go-libp2p-transport"
filter
"github.com/libp2p/go-maddr-filter"
ps
"github.com/libp2p/go-peerstream"
tcpt
"github.com/libp2p/go-tcp-transport"
ma
"github.com/multiformats/go-multiaddr"
psmss
"github.com/whyrusleeping/go-smux-multistream"
...
...
swarm_conn.go
View file @
8838b1c2
...
...
@@ -4,11 +4,11 @@ import (
"context"
"fmt"
ps
"github.com/jbenet/go-peerstream"
ic
"github.com/libp2p/go-libp2p-crypto"
iconn
"github.com/libp2p/go-libp2p-interface-conn"
inet
"github.com/libp2p/go-libp2p-net"
peer
"github.com/libp2p/go-libp2p-peer"
ps
"github.com/libp2p/go-peerstream"
ma
"github.com/multiformats/go-multiaddr"
)
...
...
swarm_listen.go
View file @
8838b1c2
...
...
@@ -4,13 +4,13 @@ import (
"context"
"fmt"
ps
"github.com/jbenet/go-peerstream"
conn
"github.com/libp2p/go-libp2p-conn"
iconn
"github.com/libp2p/go-libp2p-interface-conn"
lgbl
"github.com/libp2p/go-libp2p-loggables"
mconn
"github.com/libp2p/go-libp2p-metrics/conn"
inet
"github.com/libp2p/go-libp2p-net"
transport
"github.com/libp2p/go-libp2p-transport"
ps
"github.com/libp2p/go-peerstream"
ma
"github.com/multiformats/go-multiaddr"
)
...
...
swarm_stream.go
View file @
8838b1c2
...
...
@@ -4,7 +4,7 @@ import (
inet
"github.com/libp2p/go-libp2p-net"
protocol
"github.com/libp2p/go-libp2p-protocol"
ps
"github.com/
jbenet
/go-peerstream"
ps
"github.com/
libp2p
/go-peerstream"
)
// Stream is a wrapper around a ps.Stream that exposes a way to get
...
...
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