Commit Graph

20 Commits

Author SHA1 Message Date
Juan Batiz-Benet
93872a52fc net/interface: use iota 2014-12-08 21:12:58 -08:00
Juan Batiz-Benet
f15ab8eec3 net: add LocalPeer funcs 2014-12-08 20:52:45 -08:00
Juan Batiz-Benet
ff1e672d5a dht/pb: changed PeersToPBPeers to set ConnectionType
Uses an inet.Dialer
2014-12-08 20:52:45 -08:00
Juan Batiz-Benet
94f04c7fcc net: add Connectedness var. 2014-12-08 20:52:45 -08:00
Brian Tiger Chow
f25893e31a style(net) rm unused error
having an error return value makes the interface a bit confusing to
use. Just ponder... What would an error returned from a predicate
function mean?

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-08 15:07:33 -08:00
Jeromy
0abc72c062 move some variables into strategy 2014-12-05 20:53:21 +00:00
Juan Batiz-Benet
faab984278 net: expose GetConnections 2014-11-18 00:47:42 -08:00
Jeromy
b0f4b7c89d some net docs 2014-11-08 21:42:36 -08:00
Brian Tiger Chow
23096de3c4 fix(net) pass contexts to dial peer 2014-11-05 10:04:20 -08:00
Juan Batiz-Benet
0135e3ebbe swarm + net: add explicit listen addresses 2014-11-05 04:00:49 -08:00
Juan Batiz-Benet
8cf22c062f core is now ctxcloser 2014-10-25 21:33:10 -07:00
Juan Batiz-Benet
cc5c181ae0 Dialer for dht
dht doesn't need the whole network interface, only needs a Dialer.
(much reduced surface of possible errors)
2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
9ca87fbb93 peer.Peer is now an interface
![](http://m.memegen.com/77n7dk.jpg)
2014-10-20 03:26:46 -07:00
Jeromy
a8330f1f62 add methods on net interface to retrieve bandwidth values 2014-10-18 04:28:25 -07:00
Juan Batiz-Benet
338b037238 clean up and add inet.Network to bitswap
new Service interface
2014-10-10 20:43:04 -07:00
Jeromy
a7b69500b1 address concerns in PR and make log stuff more fun 2014-10-10 13:18:20 -07:00
Juan Batiz-Benet
865109f562 expose handler in inet 2014-09-22 04:05:16 -07:00
Juan Batiz-Benet
9849794b07 Move Sender interface to network pkg
@perfmode sender is exactly what we need to pass in to dht/bitswap.
2014-09-22 04:05:16 -07:00
Brian Tiger Chow
68216245c6 fix(net) use NetMessage interface 2014-09-22 04:05:15 -07:00
Juan Batiz-Benet
2b03664ae4 net interface 2014-09-22 04:05:12 -07:00