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
3d527c71
Commit
3d527c71
authored
Nov 15, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for sha3
parent
ac13de30
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
19 additions
and
19 deletions
+19
-19
addr/addr.go
addr/addr.go
+2
-2
addr/addr_test.go
addr/addr_test.go
+2
-2
dial_test.go
dial_test.go
+2
-2
peers_test.go
peers_test.go
+1
-1
simul_test.go
simul_test.go
+1
-1
swarm.go
swarm.go
+2
-2
swarm_addr.go
swarm_addr.go
+1
-1
swarm_addr_test.go
swarm_addr_test.go
+1
-1
swarm_conn.go
swarm_conn.go
+1
-1
swarm_dial.go
swarm_dial.go
+2
-2
swarm_listen.go
swarm_listen.go
+1
-1
swarm_net.go
swarm_net.go
+1
-1
swarm_notif_test.go
swarm_notif_test.go
+1
-1
swarm_test.go
swarm_test.go
+1
-1
No files found.
addr/addr.go
View file @
3d527c71
...
@@ -5,8 +5,8 @@ import (
...
@@ -5,8 +5,8 @@ import (
logging
"QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh/go-log"
logging
"QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh/go-log"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
net
"Qm
U5s159q8cZuM1f9Vqti4LHu6y8zyVc5dxv2py81sdp6Q
/go-multiaddr
-net
"
ma
net
"Qm
anZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr
-net
"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
addr/addr_test.go
View file @
3d527c71
...
@@ -3,8 +3,8 @@ package addrutil
...
@@ -3,8 +3,8 @@ package addrutil
import
(
import
(
"testing"
"testing"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
net
"Qm
U5s159q8cZuM1f9Vqti4LHu6y8zyVc5dxv2py81sdp6Q
/go-multiaddr
-net
"
ma
net
"Qm
anZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr
-net
"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
)
)
func
newMultiaddr
(
t
*
testing
.
T
,
s
string
)
ma
.
Multiaddr
{
func
newMultiaddr
(
t
*
testing
.
T
,
s
string
)
ma
.
Multiaddr
{
...
...
dial_test.go
View file @
3d527c71
...
@@ -13,8 +13,8 @@ import (
...
@@ -13,8 +13,8 @@ import (
testutil
"util/testutil"
testutil
"util/testutil"
ci
"util/testutil/ci"
ci
"util/testutil/ci"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
net
"Qm
U5s159q8cZuM1f9Vqti4LHu6y8zyVc5dxv2py81sdp6Q
/go-multiaddr
-net
"
ma
net
"Qm
anZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr
-net
"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
peers_test.go
View file @
3d527c71
...
@@ -5,7 +5,7 @@ import (
...
@@ -5,7 +5,7 @@ import (
peer
"github.com/ipfs/go-libp2p/p2p/peer"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
simul_test.go
View file @
3d527c71
...
@@ -9,7 +9,7 @@ import (
...
@@ -9,7 +9,7 @@ import (
peer
"github.com/ipfs/go-libp2p/p2p/peer"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
ci
"util/testutil/ci"
ci
"util/testutil/ci"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
swarm.go
View file @
3d527c71
...
@@ -16,8 +16,8 @@ import (
...
@@ -16,8 +16,8 @@ import (
transport
"github.com/ipfs/go-libp2p/p2p/net/transport"
transport
"github.com/ipfs/go-libp2p/p2p/net/transport"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
mafilter
"Qm
VdADza4QFVAR9xqAxRQjt9vTZJ6UrVLgBstKua1Xg7he
/multiaddr-filter"
mafilter
"Qm
YWqTn1i8yv9QRDzGPJ2yRudKzYCaC5Aqasbm8vwaG92E
/multiaddr-filter"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
ps
"github.com/jbenet/go-peerstream"
ps
"github.com/jbenet/go-peerstream"
pst
"github.com/jbenet/go-stream-muxer"
pst
"github.com/jbenet/go-stream-muxer"
psmss
"github.com/jbenet/go-stream-muxer/multistream"
psmss
"github.com/jbenet/go-stream-muxer/multistream"
...
...
swarm_addr.go
View file @
3d527c71
...
@@ -4,7 +4,7 @@ import (
...
@@ -4,7 +4,7 @@ import (
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
)
)
// ListenAddresses returns a list of addresses at which this swarm listens.
// ListenAddresses returns a list of addresses at which this swarm listens.
...
...
swarm_addr_test.go
View file @
3d527c71
...
@@ -8,7 +8,7 @@ import (
...
@@ -8,7 +8,7 @@ import (
peer
"github.com/ipfs/go-libp2p/p2p/peer"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
testutil
"util/testutil"
testutil
"util/testutil"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
swarm_conn.go
View file @
3d527c71
...
@@ -8,7 +8,7 @@ import (
...
@@ -8,7 +8,7 @@ import (
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
ps
"github.com/jbenet/go-peerstream"
ps
"github.com/jbenet/go-peerstream"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
swarm_dial.go
View file @
3d527c71
...
@@ -8,13 +8,13 @@ import (
...
@@ -8,13 +8,13 @@ import (
"sync"
"sync"
"time"
"time"
"Qm
anZCL6SXRfafiUEMCBLq2QR171uQSdXQ8YAdHXLd8Cwr
/go-multiaddr-net"
"Qm
U5s159q8cZuM1f9Vqti4LHu6y8zyVc5dxv2py81sdp6Q
/go-multiaddr-net"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
conn
"github.com/ipfs/go-libp2p/p2p/net/conn"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
addrutil
"github.com/ipfs/go-libp2p/p2p/net/swarm/addr"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
lgbl
"util/eventlog/loggables"
lgbl
"util/eventlog/loggables"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
swarm_listen.go
View file @
3d527c71
...
@@ -9,7 +9,7 @@ import (
...
@@ -9,7 +9,7 @@ import (
transport
"github.com/ipfs/go-libp2p/p2p/net/transport"
transport
"github.com/ipfs/go-libp2p/p2p/net/transport"
lgbl
"util/eventlog/loggables"
lgbl
"util/eventlog/loggables"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
ps
"github.com/jbenet/go-peerstream"
ps
"github.com/jbenet/go-peerstream"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
swarm_net.go
View file @
3d527c71
...
@@ -8,7 +8,7 @@ import (
...
@@ -8,7 +8,7 @@ import (
metrics
"github.com/ipfs/go-libp2p/p2p/metrics"
metrics
"github.com/ipfs/go-libp2p/p2p/metrics"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
"github.com/jbenet/goprocess"
"github.com/jbenet/goprocess"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
swarm_notif_test.go
View file @
3d527c71
...
@@ -4,7 +4,7 @@ import (
...
@@ -4,7 +4,7 @@ import (
"testing"
"testing"
"time"
"time"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
inet
"github.com/ipfs/go-libp2p/p2p/net"
inet
"github.com/ipfs/go-libp2p/p2p/net"
...
...
swarm_test.go
View file @
3d527c71
...
@@ -14,7 +14,7 @@ import (
...
@@ -14,7 +14,7 @@ import (
peer
"github.com/ipfs/go-libp2p/p2p/peer"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
testutil
"util/testutil"
testutil
"util/testutil"
ma
"Qm
aA6aDzeHjZiuqBtgYRz8ZXb1qMCoyMHgyDjBEYQniUKF
/go-multiaddr"
ma
"Qm
bWxL1aXQhBjc1XGjGF1f2KGBMCBYSuT2ThA8YXnXJK83
/go-multiaddr"
context
"golang.org/x/net/context"
context
"golang.org/x/net/context"
)
)
...
...
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