Commit Graph

95 Commits

Author SHA1 Message Date
Hector Sanjuan
613ed7edf8 net/mock: Make golint happier
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-15 18:07:03 +01:00
Hector Sanjuan
040c881b35 p2p/net: use ipfs to store image
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-15 17:58:31 +01:00
Jeromy
f61f242f69 Extract netutil to its own package 2016-11-17 10:58:15 -08:00
Jeromy
4f17a651d1 add negotiate timeout option to basichost 2016-11-10 12:40:38 -08:00
Jeromy
6f804db71e update dependencies and add deadline methods to streams 2016-11-08 13:11:02 -08:00
Jeromy
1bad77c7db update packages to add support for getStreams 2016-11-03 18:06:26 -07:00
Jeromy
7aced371c7 extract libp2p-swarm 2016-10-05 10:34:57 -07:00
Jeromy
70872ff663 update deps 2016-10-04 21:18:07 -07:00
Jeromy
1a53ad77b9 extract host interface 2016-10-04 16:16:24 -07:00
Jeromy
9910e6a7cf switching to separated conn and interface-conn packages 2016-10-04 15:39:24 -07:00
Jeromy
cea1fe131f extract net interface and metrics 2016-10-04 13:56:20 -07:00
Jeromy
0f3ffb2d07 extract conn, addr-util, and testutil 2016-10-04 13:03:14 -07:00
Jeromy
1085a07654 extract protocol and maddr-filter 2016-10-03 21:47:08 -07:00
Jeromy
4dd30d824b switch to using stdlib context package 2016-10-03 11:00:00 -07:00
Jeromy
2eef5a702e split tcp transports out of the base package 2016-09-25 04:51:27 -07:00
Jeromy
9441754369 swarm: add deadline for connection setup 2016-09-18 03:17:22 -07:00
Jeromy Johnson
4ae3510f1a Merge pull request #107 from libp2p/feat/better-dialsync
Improve swarm dial sync code
2016-09-16 15:12:07 -04:00
Jeromy
d70e1625a8 conn/dial: implement contextDial up the stack 2016-09-15 22:32:51 -07:00
Jeromy
126e150674 swarm: integrate new dialsync code into swarm 2016-09-08 10:37:32 -07:00
Jeromy
e26950ff77 swarm: implement new DialSync manager code 2016-09-08 10:37:15 -07:00
Jeromy
71efb2ccb2 swarm: perform backoff check before taking dialsync lock 2016-09-07 18:48:22 -07:00
Jeromy Johnson
b45c89792d Merge pull request #104 from libp2p/fix/secio-hs-errs
swarm: externalize secio handshake errors
2016-09-06 17:59:53 -04:00
Jeromy
5758d3e652 swarm: externalize secio handshake errors 2016-09-05 14:48:28 -07:00
Jeromy
324aae38f1 swarm: add optimized method for checking connectedness to peer 2016-09-05 13:25:24 -07:00
Jeromy
9a9a8de2c7 don't wrap conns with metrics if bwc is nil 2016-09-04 10:50:07 -07:00
Jeromy
a56440a9c7 swarm: pass in stream muxer on construct 2016-09-04 08:13:36 -07:00
Jeromy
978b186d81 swarm: refactor to make modular construction easier 2016-09-03 10:43:27 -07:00
Jeromy Johnson
40a5c58c00 Merge pull request #53 from libp2p/feat/exp-ws-support
add in experimental websocket support
2016-08-26 15:06:50 -07:00
Jeromy
faced1efd2 add note to test failure 2016-08-24 13:03:30 -07:00
Jeromy
b1456b79b6 add in experimental websocket support 2016-08-24 09:42:27 -07:00
Jeromy Johnson
287383a75a sleep before final connectedness check 2016-08-18 11:19:20 -07:00
Jeromy
f74add8a19 swarm: make stream.Protocol() return type protocol.ID 2016-08-18 11:16:01 -07:00
Jeromy
7a3394b1da host: remember which protocols work for a given peer 2016-08-18 11:16:00 -07:00
Jeromy Johnson
d846840062 Merge pull request #80 from libp2p/lint/fix-some-linting
lint: fixed a bunch of issues reported by gometalinter
2016-08-17 16:51:21 -07:00
Jeromy
46eafb52f3 p2p/net/swarm: improve code coverage 2016-08-16 15:04:24 -07:00
Jeromy
e90e01708a lint: fixed a bunch of issues reported by gometalinter 2016-08-10 21:48:23 -07:00
Jeromy
8744e460da update local import paths to reflect org change 2016-08-10 09:59:14 -07:00
Jeromy
c0e2b930e3 update multistream deps and fix code to work with new changes 2016-08-10 09:48:34 -07:00
John Steidley
5c8093b073 gosimple 2016-07-23 13:24:45 -07:00
Jeromy
45f9b5ae0f expose backoff manager in swarm 2016-07-03 13:28:06 -07:00
Jeromy Johnson
4a2bc51c29 Merge pull request #38 from ipfs/sketch/dial-redo
refactor swarm dialing logic
2016-06-01 11:41:26 -07:00
Jeromy
6dddefe20c improve comment on temp code 2016-06-01 10:02:26 -07:00
Jeromy
916bc557c3 split peerstore from peer package 2016-05-31 16:24:11 -07:00
Jeromy
9edbb2d932 test cleanup 2016-05-31 09:41:17 -07:00
Jeromy
84d4e76e2f address CR feedback 2016-05-31 09:41:17 -07:00
Jeromy
b54202e768 refactor locking order structure 2016-05-31 09:41:17 -07:00
Jeromy
b6f19a5591 don't execute cancelled jobs 2016-05-31 09:41:17 -07:00
Jeromy
d899b07f17 Refactor the swarm dialer 2016-05-31 09:41:17 -07:00
Jeromy
d7edac0da3 yamux patches to help mitigate hanging issue 2016-05-15 18:58:23 -07:00
Jeromy
de1d675417 update muxers, includes yamux deadlock fix 2016-05-13 10:59:16 -07:00