Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transports/quic: Refactor Muxer and Connection #23

Merged
merged 97 commits into from
Sep 22, 2022

Commits on Jul 14, 2022

  1. swarm/src/handler: Document responsibility limiting inbound streams (l…

    …ibp2p#2752)
    
    Document that the `ConnectionHandler` implementation has to enforce a limit on
    the number of inbound substreams.
    mxinden authored Jul 14, 2022
    Configuration menu
    Copy the full SHA
    7c8a977 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. misc/metrics: Track # connected nodes supporting specific protocol (l…

    …ibp2p#2734)
    
    * misc/metrics: Explicitly delegate event recording to each recorder
    
    This allows delegating a single event to multiple `Recorder`s. That enables e.g. the
    `identify::Metrics` `Recorder` to act both on `IdentifyEvent` and `SwarmEvent`. The latter enables
    it to garbage collect per peer data on disconnects.
    
    * protocols/dcutr: Expose PROTOCOL_NAME
    
    * protocols/identify: Expose PROTOCOL_NAME and PUSH_PROTOCOL_NAME
    
    * protocols/ping: Expose PROTOCOL_NAME
    
    * protocols/relay: Expose HOP_PROTOCOL_NAME and STOP_PROTOCOL_NAME
    
    * misc/metrics: Track # connected nodes supporting specific protocol
    
    An example metric exposed with this patch:
    
    ```
    libp2p_identify_protocols{protocol="/ipfs/ping/1.0.0"} 10
    ```
    
    This implies that 10 of the currently connected nodes support the ping protocol.
    mxinden authored Jul 15, 2022
    Configuration menu
    Copy the full SHA
    d4f8ec2 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. core/muxing: Flatten StreamMuxer interface to `poll_{inbound,outbou…

    …nd,address_change,close}` (libp2p#2724)
    
    Instead of having a mix of `poll_event`, `poll_outbound` and `poll_close`, we
    flatten the entire interface of `StreamMuxer` into 4 individual functions:
    
    - `poll_inbound`
    - `poll_outbound`
    - `poll_address_change`
    - `poll_close`
    
    This design is closer to the design of other async traits like `AsyncRead` and
    `AsyncWrite`. It also allows us to delete the `StreamMuxerEvent`.
    thomaseizinger authored Jul 18, 2022
    Configuration menu
    Copy the full SHA
    1a553db View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. build(deps): Bump Swatinem/rust-cache from 1.4.0 to 2.0.0 (libp2p#2759)

    * build(deps): Bump Swatinem/rust-cache from 1.4.0 to 2.0.0
    
    Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1.4.0 to 2.0.0.
    - [Release notes](https://github.com/Swatinem/rust-cache/releases)
    - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
    - [Commits](Swatinem/rust-cache@cb2cf0c...6720f05)
    
    ---
    updated-dependencies:
    - dependency-name: Swatinem/rust-cache
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    e95232c View commit details
    Browse the repository at this point in the history
  2. transports/tcp: Bump to v0.35.0 (libp2p#2760)

    Follow up on libp2p#2724. Given that
    libp2p-core is bumped to v0.35.0, libp2p-tcp needs to be bumped as well.
    mxinden authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    66c2319 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8066df View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. Configuration menu
    Copy the full SHA
    163c5c1 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. build(deps): Update prometheus-client requirement from 0.16.0 to 0.17…

    ….0 (libp2p#2761)
    
    * build(deps): Update prometheus-client requirement from 0.16.0 to 0.17.0
    
    Updates the requirements on [prometheus-client](https://github.com/prometheus/client_rust) to permit the latest version.
    - [Release notes](https://github.com/prometheus/client_rust/releases)
    - [Changelog](https://github.com/prometheus/client_rust/blob/master/CHANGELOG.md)
    - [Commits](prometheus/client_rust@v0.16.0...v0.17.0)
    
    ---
    updated-dependencies:
    - dependency-name: prometheus-client
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    51a8471 View commit details
    Browse the repository at this point in the history
  2. core/muxing: Drop Unpin requirement from SubstreamBox (libp2p#2762)

    We are already boxing the given object so we might as well pin to
    to avoid the `Unpin` trait bound.
    thomaseizinger authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    f15a3dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e2c117 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2022

  1. Configuration menu
    Copy the full SHA
    95713ab View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2022

  1. Configuration menu
    Copy the full SHA
    f85a990 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c19a211 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0ec3bbc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74f01e4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ce963df View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. core/muxing: Drop Sync requirement for StreamMuxer on `StreamMuxe…

    …rBox` (libp2p#2775)
    
    `StreamMuxerBox` is never shared across threads but owned by a single
    connection. Restricting it to be `Sync` unnecessarily limits the design
    space around the `StreamMuxer` trait and its implementations.
    thomaseizinger authored Jul 27, 2022
    Configuration menu
    Copy the full SHA
    56c492c View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    09c6908 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaf3f3a View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2022

  1. Configuration menu
    Copy the full SHA
    7019d49 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    2b9e212 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. core/muxing: Have functions on StreamMuxer take Pin<&mut Self> (l…

    …ibp2p#2765)
    
    Co-authored-by: Elena Frank <elena.frank@protonmail.com>
    Co-authored-by: Max Inden <mail@max-inden.de>
    3 people authored Aug 3, 2022
    Configuration menu
    Copy the full SHA
    028dece View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07c0dba View commit details
    Browse the repository at this point in the history
  3. transports/quic: adapt QuicMuxer to libp2p#2724

    Discussed in libp2p#2722.
    elenaf9 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    57840a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. swarm-derive/: Generate OutEvent if not provided (libp2p#2792)

    Generate `NetworkBehaviour::OutEvent` if not provided through
    `#[behaviour(out_event = "MyOutEvent")]` and event processing is
    disabled (default).
    mxinden authored Aug 8, 2022
    Configuration menu
    Copy the full SHA
    579b1be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2b83b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3da8b42 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Configuration menu
    Copy the full SHA
    1012579 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4110a2 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. Configuration menu
    Copy the full SHA
    0a01c81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ce0ef9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3060d12 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63c6edc View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2022

  1. Configuration menu
    Copy the full SHA
    06aaea6 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. core/muxing: Generalise StreamMuxer::poll_address_change to poll (l…

    …ibp2p#2797)
    
    This is to allow general-purpose background work to be performed
    by implementations.
    thomaseizinger authored Aug 16, 2022
    Configuration menu
    Copy the full SHA
    cef5056 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e5a25d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    878c49f View commit details
    Browse the repository at this point in the history
  4. build(deps): Update prost requirement from 0.10 to 0.11 (libp2p#2788)

    * build(deps): Update prost-build requirement from 0.10 to 0.11
    
    Updates the requirements on [prost-build](https://github.com/tokio-rs/prost) to permit the latest version.
    - [Release notes](https://github.com/tokio-rs/prost/releases)
    - [Commits](tokio-rs/prost@v0.10.0...v0.11.0)
    
    ---
    updated-dependencies:
    - dependency-name: prost-build
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * build(deps): Update prost requirement from 0.10 to 0.11
    
    Updates the requirements on [prost](https://github.com/tokio-rs/prost) to permit the latest version.
    - [Release notes](https://github.com/tokio-rs/prost/releases)
    - [Commits](tokio-rs/prost@v0.10.0...v0.11.0)
    
    ---
    updated-dependencies:
    - dependency-name: prost
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 16, 2022
    Configuration menu
    Copy the full SHA
    6a9fa3d View commit details
    Browse the repository at this point in the history
  5. swarm/src/connection: Test max_negotiating_inbound_streams (libp2p#2785)

    Test that `HandlerWrapper` upholds the provided
    `max_negotiating_inbound_streams` limit.
    mxinden authored Aug 16, 2022
    Configuration menu
    Copy the full SHA
    8dc0188 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. swarm-derive/: Add where clause of behaviour to generated out event (l…

    …ibp2p#2819)
    
    When generating the `OutEvent` for a `NetworkBehaviour`, add the `where` clause of the
    `NetworkBehaviour` `struct` to the generated `enum`.
    mxinden authored Aug 17, 2022
    Configuration menu
    Copy the full SHA
    67266c6 View commit details
    Browse the repository at this point in the history
  2. build(deps): Update prometheus-client requirement from 0.17.0 to 0.18…

    ….0 (libp2p#2822)
    
    * build(deps): Update prometheus-client requirement from 0.17.0 to 0.18.0
    
    Updates the requirements on [prometheus-client](https://github.com/prometheus/client_rust) to permit the latest version.
    - [Release notes](https://github.com/prometheus/client_rust/releases)
    - [Changelog](https://github.com/prometheus/client_rust/blob/master/CHANGELOG.md)
    - [Commits](prometheus/client_rust@v0.17.0...v0.18.0)
    
    ---
    updated-dependencies:
    - dependency-name: prometheus-client
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Aug 17, 2022
    Configuration menu
    Copy the full SHA
    d2c5053 View commit details
    Browse the repository at this point in the history
  3. swarm-derive/: Derive Debug for generated OutEvent (libp2p#2821)

    When generating an `OutEvent` `enum` definition for a user, derive `Debug`
    for that `enum`.
    
    Why not derive `Clone`, `PartialEq` and `Eq` for the generated `enum`
    definition?
    
    While it is fine to require all sub-`OutEvent`s to implement
    `Debug`, the same does not apply to traits like `Clone`. I
    suggest users that need `Clone` to define their own `OutEvent`.
    mxinden authored Aug 17, 2022
    Configuration menu
    Copy the full SHA
    a2738fd View commit details
    Browse the repository at this point in the history
  4. docs/coding-guidelines: Add document (libp2p#2780)

    Add document outlining a set of coding guidelines followed and to be
    followed across the rust-libp2p code base.
    
    Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
    mxinden and thomaseizinger authored Aug 17, 2022
    Configuration menu
    Copy the full SHA
    475289c View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Configuration menu
    Copy the full SHA
    8931860 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1aeaba3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95fc6da View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2022

  1. Configuration menu
    Copy the full SHA
    3d3666e View commit details
    Browse the repository at this point in the history
  2. clippy.toml: Create config and disallow unbounded channels (libp2p#2823)

    When using channels (e.g. `futures::channel::mpsc` or `std::sync::mpsc`)
    always use the bounded variant, never use the unbounded variant. When
    using a bounded channel, a slow consumer eventually slows down a fast
    producer once the channel bound is reached, ideally granting the slow
    consumer more system resources e.g. CPU time, keeping queues small and
    thus latencies low.  When using an unbounded channel a fast producer
    continues being a fast producer, growing the channel buffer
    indefinitely, increasing latency until the illusion of unboundedness
    breaks and the system runs out of memory.
    
    One may use an unbounded channel if one enforces backpressure through an
    out-of-band mechanism, e.g. the consumer granting the producer
    send-tokens through a side-channel.
    mxinden authored Aug 20, 2022
    Configuration menu
    Copy the full SHA
    217dd2c View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2022

  1. Configuration menu
    Copy the full SHA
    0d7c8a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67b52aa View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Configuration menu
    Copy the full SHA
    66974fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4253080 View commit details
    Browse the repository at this point in the history
  3. transports/quic: rm mutex around to_endpoint tx

    When sending a message to the background task, don't use the
    `SinkExt::send` future since this requires static ownership of the
    channel sender. Instead use `Sink::poll_ready` and `Sink::start_send`,
    which allows us to inline the sending of messages into our poll
    functions.
    With this we don't need the Mutex around `to_endpoint` anymore. The
    background task, the transport, and each connections owns exactly one
    `Sender`, thus we don't have unbounded growth here.
    elenaf9 committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    c88efe8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a82be4 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Configuration menu
    Copy the full SHA
    d610e4b View commit details
    Browse the repository at this point in the history
  2. build(deps): Update p256 requirement from 0.10.0 to 0.11.0 (libp2p#2636)

    * build(deps): Update p256 requirement from 0.10.0 to 0.11.0
    
    Updates the requirements on [p256](https://github.com/RustCrypto/elliptic-curves) to permit the latest version.
    - [Release notes](https://github.com/RustCrypto/elliptic-curves/releases)
    - [Commits](https://github.com/RustCrypto/elliptic-curves/commits/p256/v0.10.1)
    
    ---
    updated-dependencies:
    - dependency-name: p256
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * core/: Bump version and add changelog entry
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Max Inden <mail@max-inden.de>
    dependabot[bot] and mxinden authored Aug 23, 2022
    Configuration menu
    Copy the full SHA
    d92cab8 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. swarm/behaviour: Remove deprecated NetworkBehaviourEventProcess (libp…

    …2p#2840)
    
    Removes the `NetworkBehaviourEventProcess` and all its associated logic.
    
    See deprecation pull request libp2p#2784.
    
    Find rational in libp2p#2751.
    mxinden authored Aug 26, 2022
    Configuration menu
    Copy the full SHA
    ca07ce4 View commit details
    Browse the repository at this point in the history
  2. docs/coding-guidelines: Document limit on number of tasks (libp2p#2839)

    Add guideline to limit number of tasks being spawned.
    mxinden authored Aug 26, 2022
    Configuration menu
    Copy the full SHA
    a3dec47 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2022

  1. swarm-derive/: Remove support for custom poll method (libp2p#2841)

    With the removal of `NetworkBehaviourEventProcess` there is no more need for a
    custom poll method.
    mxinden authored Aug 28, 2022
    Configuration menu
    Copy the full SHA
    247b553 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. swarm-derive/: Remove support for ignoring fields on struct (libp2p#2842

    )
    
    With the removal of `NetworkBehaviourEventProcess` there is no more need for
    ignoring fields.
    mxinden authored Aug 29, 2022
    Configuration menu
    Copy the full SHA
    6855ab9 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Configuration menu
    Copy the full SHA
    e01f77b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f16561c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36a2773 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. protocols/mdns: Allow users to choose between async-io and tokio runt…

    …ime (libp2p#2748)
    
    Allow users to choose between async-io and tokio runtime
    in the mdns protocol implementation. `async-io` is a default
    feature, with an additional `tokio` feature.
    
    Fix high CPU usage with Tokio library.
    gallegogt authored Sep 2, 2022
    Configuration menu
    Copy the full SHA
    89f898c View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2022

  1. protocols/kad: Support multiple protocol names (libp2p#2846)

    Add support for multiple Kademlia protocol names to allow
    protocol name upgrades.
    dmitry-markin authored Sep 3, 2022
    Configuration menu
    Copy the full SHA
    cee199a View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2022

  1. .git-blame-ignore-revs/: Initialize and add rustfmt commit (libp2p#2864)

    Ignoring certain revisions helps in finding the "correct" commit
    that touched a file last.
    
    For more information, see:
    
    https://www.git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt
    thomaseizinger authored Sep 4, 2022
    Configuration menu
    Copy the full SHA
    f04df29 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2022

  1. Configuration menu
    Copy the full SHA
    b8c3b28 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. .github/: Introduce interop tests (libp2p#2835)

    Adds two workflows on push & PR:
    
    * `run-ping-interop-cross-version`: runs a Testground interoperability test
      between multiple versions of rust-libp2p, including master, and the current
      branch (during a pull request)
    * `run-ping-interop-cross-implementation`: runs a Testground interoperability
      test between go-libp2p and rust-libp2p, and the current branch (during a pull
      request)
    
    We rely on the https://github.com/libp2p/test-plans/ repository to retrieve and
    run the tests.
    
    Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
    laurentsenta and galargh authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    a40180c View commit details
    Browse the repository at this point in the history
  2. core/: Introduce rsa feature flag to avoid ring dependency (libp2…

    …p#2860)
    
    - Introduce `rsa` feature flag to `libp2p-core`.
    - Expose `rsa` feature in `libp2p`.
    - Add `rsa` feature to `libp2p` `default`.
    GamePad64 authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    8644c65 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2eca38c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d2eddf4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    83c6795 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Configuration menu
    Copy the full SHA
    c650dc1 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. Configuration menu
    Copy the full SHA
    69caf98 View commit details
    Browse the repository at this point in the history
  2. transports/quic: upgrade to if-watch v2.0.0

    See corresponding change in tcp transport: libp2p#2813.
    elenaf9 committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    fe3e09b View commit details
    Browse the repository at this point in the history
  3. transports/quic: fix clippy

    elenaf9 committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    b6924db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    689460f View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. transports/tcp: Simplify IfWatcher integration (libp2p#2813)

    With if-watch `2.0.0` `IfWatcher::new` is not async anymore, hence the
    `IfWatch` wrapping logic is obsolete.
    
    Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
    elenaf9 and thomaseizinger authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    457fb51 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41d39fb View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2022

  1. swarm/: Fix rare test failure of multiple_addresses_err (libp2p#2882)

    In case we accidentally generate the same port twice, we will try to
    issue two dial attempts to the same address but also expect two dial
    errors which is exactly what this test is trying to catch.
    Unfortunately, the assertion is badly written and does not catch
    duplicate inputs.
    thomaseizinger authored Sep 11, 2022
    Configuration menu
    Copy the full SHA
    66c2755 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    72bade1 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. Configuration menu
    Copy the full SHA
    5906140 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. protocols/noise: Introduce NoiseAuthenticated::xx constructor with …

    …X25519 DH key exchange (libp2p#2887)
    
    Co-authored-by: Max Inden <mail@max-inden.de>
    thomaseizinger and mxinden authored Sep 16, 2022
    Configuration menu
    Copy the full SHA
    2c739e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c81b06a View commit details
    Browse the repository at this point in the history
  3. swarm-derive/: Allow for templated behaviours (libp2p#2907)

    This patch fixes an issue where we couldn't use type parameters on a behaviour
    with a custom out event that had different type parameters.
    thomaseizinger authored Sep 16, 2022
    Configuration menu
    Copy the full SHA
    2025de3 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2022

  1. subscribe

    elenaf9 committed Sep 17, 2022
    Configuration menu
    Copy the full SHA
    4c617a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Configuration menu
    Copy the full SHA
    4e027b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdba780 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    40cb4f3 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. Configuration menu
    Copy the full SHA
    f8d1430 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c3229b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e393fe5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d28db18 View commit details
    Browse the repository at this point in the history
  5. transports/quic: minor fix

    elenaf9 committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    42db0ed View commit details
    Browse the repository at this point in the history
  6. transports/quic: minor fixes

    elenaf9 committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    d46b72e View commit details
    Browse the repository at this point in the history
  7. transports/quic: rework forwarding of new connections

    The existing implementation was based on an old API of the quinn_proto
    Endpoint which by now has changed. In particular we can not explicitly
    `accept` new connections on the endpoint anymore.
    Instead if there is a new connections and our channel for new
    connections is full because the endpoint is too busy, we now simply
    drop the connection to backpressure the remote.
    elenaf9 committed Sep 20, 2022
    Configuration menu
    Copy the full SHA
    ec3c74a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b7103aa View commit details
    Browse the repository at this point in the history