Commit Graph

30 Commits

Author SHA1 Message Date
Prem Chaitanya Prathi
8864d1c33e feat:add contexts to all peerstore methods (#2312) 2023-06-03 02:24:50 -07:00
Marten Seemann
4623690009 switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
Marten Seemann
3effab121a switch from github.com/libp2p/go-libp2p-swarm to p2p/net/swarm 2022-04-21 13:35:04 +01:00
Marten Seemann
d12b3851b9 speed up the dial tests 2021-12-20 11:03:07 +04:00
Marten Seemann
a872d26b7c use testing.Cleanup to shut down peerstore and revert most test changes 2021-09-08 17:25:49 +01:00
Marten Seemann
782897ea41 stop using goprocess to control teardown 2021-09-08 17:25:48 +01:00
Raúl Kripalani
e132f6af3f migrate to consolidated types; remove CircleCI config (#127) 2019-05-26 15:55:50 +01:00
Steven Allen
d2b407f84d don't hang tests on dial failure 2018-06-25 19:58:13 -07:00
Steven Allen
4e39954ac9 refactor for new transports
Removes:

* go-libp2p-conn logic (moved to transports)
* go-libp2p-peerstream (moved here)

Changes:

* New transport interface.
* Explicit over implicit (the implicit automagic now all lives in go-libp2p):
  * No more default transports, muxers, etc.
  * No more fallback dialer. Transports are now *required*.
* Stream opening:
  * Connection picking logic (instead of just picking the first).
  * Tries harder to open a stream of some connections happen to be closed.
* Stream closing:
  * No longer treats half-closed streams as fully closed. Users *must* read the
    an EOF or reset the stream for it to be garbage collected.
* No more polling for dead connections.
* Multiplexers are now *non-optional*. Really, they haven't been optional for a
  while but we still pretended that they were.
* No more Network type alias. It added a bunch of code and didn't really provide
  anything but an alternative set of methods that do the same thing.
* Notifications:
  * New guarantee: connection open notifications will complete before connection
    close notifications begin.
  * Given that, notifications are now delivered in parallel. No more
    notification backlogs blocking connection closing/opening.
2018-06-04 19:19:48 -07:00
Jeromy
9661f5e7ab gx publish 1.6.9 2017-02-03 13:05:16 -08:00
Jeromy
5c58b97791 gx publish 1.6.8 2017-02-03 11:02:21 -08:00
Jeromy
05b9ca6039 update deps 2016-10-04 21:18:07 -07:00
Jeromy
7f10dbda8b extract conn, addr-util, and testutil 2016-10-04 13:03:14 -07:00
Jeromy
17194ccda6 switch to using stdlib context package 2016-10-03 11:00:00 -07:00
Jeromy
a2a399b0ee update local import paths to reflect org change 2016-08-10 09:59:14 -07:00
Jeromy
4e786eb947 split peerstore from peer package 2016-05-31 16:24:11 -07:00
Jeromy
b58b106ecd rewrite all package paths to dvcs 2016-04-27 12:59:04 -07:00
Jeromy
995f55cbe0 recursive dependency update of utp lib 2016-04-27 10:12:51 -07:00
Jeromy
c218be3e56 move some deps out as gx packages 2016-04-11 23:24:32 -07:00
Jeromy
55941459a2 update version of go-multiaddr 2016-03-03 13:03:24 -08:00
Jeromy
3cdb2f50f7 path rewrites 2016-01-04 05:45:58 -08:00
Jeromy
2d1b1db0e4 WIP 2015-12-06 23:11:16 -08:00
Jeromy
a120be4ee5 migrate to gx namespace 2015-11-18 16:11:24 -08:00
Jeromy
a82cbe7b2f move testutil up 2015-11-15 19:59:59 -08:00
Jeromy
7d2dd014c8 vendor in notifier 2015-11-15 18:42:27 -08:00
Jeromy
21e5c03e68 fixes for sha3 2015-11-15 18:28:35 -08:00
Jeromy
5070870e7b more vendoring 2015-11-15 11:56:01 -08:00
Jeromy
9b779001c2 extract from 0.4.0 2015-11-11 16:19:51 -08:00
Juan Batiz-Benet
9bf24a5968 rewrote imports to p2p 2015-09-30 19:24:00 -04:00
Juan Batiz-Benet
4ab021d79b move to p2p dir 2015-09-30 18:42:55 -04:00