Commit Graph

308 Commits

Author SHA1 Message Date
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