Commit Graph

32 Commits

Author SHA1 Message Date
Marten Seemann 24b27cc71b
change the default key type to Ed25519 (#1576) 2022-08-09 08:03:55 -07:00
Marten Seemann e477efda73
use autoscaling limits (#1637) 2022-07-03 10:04:29 -07:00
Marten Seemann 27cfd3f4ed switch from github.com/libp2p/go-libp2p-tls to p2p/security/tls 2022-04-27 12:00:11 +02:00
Marten Seemann 935905753a switch from github.com/libp2p/go-libp2p-noise to p2p/security/noise 2022-04-26 19:59:10 +02:00
Marten Seemann 43e4e51b74
rename the yamux package (#1452) 2022-04-25 12:03:16 -07:00
Marten Seemann f3bdb4b53c switch from github.com/libp2p/go-libp2p-yamux to p2p/muxer/yamux 2022-04-22 18:10:16 +01:00
Marten Seemann 4810afb293 switch from github.com/libp2p/go-libp2p-quic-transport to p2p/transport/quic 2022-04-22 16:34:30 +01:00
Marten Seemann 690a16ccbe switch from github.com/libp2p/go-ws-transport to p2p/transport/websocket 2022-04-22 15:49:01 +01:00
Marten Seemann dfc3a3f24a switch from github.com/libp2p/go-tcp-transport to p2p/transport/tcp 2022-04-22 14:48:25 +01:00
Marten Seemann 72fe013d15
remove mplex from the list of default muxers (#1344) 2022-03-30 09:51:36 -07:00
vyzo f9e4c5c8f5 slightly lower default connmgr limits 2022-01-18 11:48:48 +02:00
vyzo 12402c7970 default connection manager 2022-01-18 11:48:43 +02:00
vyzo df2301ba95 use the resource manager in libp2p bundled services, initialize default one 2022-01-18 12:27:07 +04:00
Gus Eggert 7a35d0df97
feat: plumb through peerstore context changes (#1237) 2021-11-12 13:43:02 -05:00
Marten Seemann e86c4ed31f make QUIC a default transport 2021-08-28 15:25:35 +01:00
Steven Allen db5f196114 feat: switch from SECIO to Noise as the default security transport
This is a backwards incompatible change and will require a major version bump
plus an announcement. Users can choose to re-enable SECIO by passing
`libp2p.Security(secio.ID, secio.New)` to the constructor.
2020-08-19 11:15:02 -07:00
Steven Allen eb76a02251 feat: support TLS by default
But don't make it the default per https://github.com/libp2p/go-libp2p/pull/710#pullrequestreview-382182995.
2020-04-13 11:16:09 -07:00
Vasco Santos fe2c13c71b docs: uniform comment sentences 2020-03-03 15:33:32 +01:00
Christian Muehlhaeuser 40cb489097 Fixed typos (#680)
Just a few nit-picky typo fixes.
2019-07-22 13:44:24 +01:00
Raúl Kripalani d87f89314c
Consolidate abstractions and core types into go-libp2p-core (#601) 2019-05-26 22:55:46 +01:00
Steven Allen 26f880b899 dep: import go-smux-* into the libp2p org
0. I imported whyrusleeping/go-smux-* into go mod.
1. To handle post-1.0 tags, I renamed all of our "gx" tags to "gx/v..." as we
   did with the rest of libp2p.
2. This broke _everything_ because `go mod` absolutely can't deal with deleted
   tags if any transitive go.sum file mentions the tag.
3. To fix this, I first got rid of all mentions of these 2.x+incompatible tags.
4. Unfortunately, I realized this was still going to be a nightmare for
   downstream users as a `go get github.com/libp2p/go-libp2p@latest` on a fresh
   clone (no go mod cache) would fail. I didn't want to have to explain to all
   of our downstream users "please delete your go.sum files!".
5. So I did what I should have done in the first place:
  a. I restored those tags.
  b. I forked all the whyrusleeping/go-smux-* repositories (and
     whyrusleeping/yamux) into the libp2p org where.
  c. I removed all tags but the _new_ go-mod tags on those new libp2p repos.

What does this mean for downstream users? If they manually import any of these
stream muxer repos, they'll have to fix their imports. Otherwise, it shouldn't
make a difference.
2019-05-21 19:44:12 -07:00
Steven Allen d59ca83d48 switch to DisablePing instead of PingCustom 2018-10-24 07:44:25 -07:00
vyzo 1056fa8119 Ping constructor option, enabled by default 2018-10-19 12:37:20 +03:00
vyzo 0600392e23 enable relay by default in New 2018-09-28 11:30:45 +03:00
gukq b84518b6c9 Just repair spelling mistake
Signed-off-by: gukq <gukaiqiang@gmail.com>
2018-09-13 01:02:07 +08:00
Steven Allen c46e8d6e36 gx: update go-libp2p-peerstore 2018-09-07 22:11:23 -07:00
Florian Lenz fcaa18df9a [muxer] set mplex version to 6.7.0 2018-07-30 22:29:16 +03:00
Abhishek Upperwal 617d7a5797 Corrected ip6 string 2018-07-28 02:47:27 +05:30
Abhishek Upperwal 836d042f54 added ipv6 + checking for default transport 2018-07-25 23:42:03 +05:30
Abhishek Upperwal d104ff8dea making go fmt happy 2018-07-25 22:02:37 +05:30
Abhishek Upperwal f82d4ec6aa default listener 2018-07-25 21:50:54 +05:30
Steven Allen 41c6834850 refactor for transport changes
Also, make the libp2p constructor fully useful. There should now be no need to
manually construct a swarm/host.
2018-06-04 21:22:24 -07:00