Juan Batiz-Benet
3b0da8a33f
peer/queue: close fix, and logging
2015-01-05 04:55:02 -08:00
Juan Batiz-Benet
d03fad69b8
testutil: obvious names for seeded key pairs
2015-01-05 04:55:02 -08:00
Juan Batiz-Benet
f3c490a4e3
peer+mocknet: sorting for determinism.
2015-01-05 04:55:01 -08:00
Juan Batiz-Benet
e4f1221ba0
vendor identify pb
...
not sure how it wasnt an error
2015-01-02 08:46:47 -08:00
Juan Batiz-Benet
f645cb8c04
use ZeroLocalTCPAddress for network tests
...
This commit makes all network tests use ZeroLocalTCPAddress
as the initial peer address, and then relies on
net.ListenAddresses()
This should get rid of the tcp addr clash problems.
2015-01-02 08:46:46 -08:00
Juan Batiz-Benet
21580ccdab
swap net2 -> net
2015-01-02 08:46:46 -08:00
Juan Batiz-Benet
08b8250c67
mocknet: use host
2015-01-02 08:46:46 -08:00
Juan Batiz-Benet
7c3202b11a
host interface + services
...
The separation of work in the p2p pkg is as follows:
- net implements the Swarm and connectivity
- protocol has muxer and header protocols
- host implements protocol muxing + services
- identify took over handshake completely! yay.
- p2p package works as a whole
2015-01-02 08:46:46 -08:00
Juan Batiz-Benet
b54517ee61
net2: separate protocols/services out.
...
using a placeholder net2 package so tests continue to pass.
Will be swapped atomically into main code.
2015-01-02 08:46:46 -08:00
Juan Batiz-Benet
2c6c64b2f6
mux: close stream on error
...
remove comment about spdystream. this is now
superceded by go-peerstream interface.
2015-01-02 08:46:46 -08:00
Juan Batiz-Benet
1d3554e695
peerstore: AddPeerInfo
2015-01-02 08:46:46 -08:00
Juan Batiz-Benet
57b7903347
combined protocol and mux
2015-01-02 08:46:45 -08:00
Juan Batiz-Benet
a103a2dac0
protocol and muxer pkg
2015-01-02 08:46:45 -08:00
Juan Batiz-Benet
72df463fd8
net -> p2p/net
...
The net package is the next to move. It will be massaged
a bit still to fix the Network / "NetworkBackend" conflict.
2015-01-02 08:46:45 -08:00
Juan Batiz-Benet
bfcb95d60c
crypto -> p2p/crypto
...
The crypto package moves into p2p. Nothing in it so far is ipfs
specific; everything is p2p-general.
2015-01-02 08:46:45 -08:00
Juan Batiz-Benet
0c1fe86b5e
introducing p2p pkg
...
I think it's time to move a lot of the peer-to-peer networking
but-not-ipfs-specific things into its own package: p2p.
This could in the future be split off into its own library.
The first thing to go is the peer.
2015-01-02 08:46:45 -08:00
Simon Menke
50e7633d5f
Fixed the example
2014-11-05 13:04:22 +01:00
Simon Menke
c0902fb9c1
Extracted from gogotelehash
2014-11-05 12:43:11 +01:00
Simon Menke
4dbe9af9ab
WIP go vet and golint
2014-10-30 17:11:53 +01:00
Simon Menke
83bf98db65
Vendored dependencies
2014-10-27 17:39:55 +01:00
Simon Menke
d827c54a1e
Moving to github
2014-10-27 08:07:06 +01:00
Simon Menke
605978b9c3
e3x: working on channel implementation
2014-08-28 20:49:41 +02:00