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

swarm: Add FromFn ConnectionHandler #2852

Closed
wants to merge 37 commits into from

Commits on Aug 24, 2022

  1. Add ReadyUpgrade

    thomaseizinger committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    2c580d9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2d1c05 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2022

  1. Add TState abstraction

    thomaseizinger committed Aug 28, 2022
    Configuration menu
    Copy the full SHA
    230fabb View commit details
    Browse the repository at this point in the history
  2. Publicly expose types

    thomaseizinger committed Aug 28, 2022
    Configuration menu
    Copy the full SHA
    58fe45b View commit details
    Browse the repository at this point in the history
  3. Fix docs

    thomaseizinger committed Aug 28, 2022
    Configuration menu
    Copy the full SHA
    ff1db42 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

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

Commits on Sep 5, 2022

  1. Configuration menu
    Copy the full SHA
    54e6437 View commit details
    Browse the repository at this point in the history
  2. Remove idle_waker

    thomaseizinger committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    635730a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b37fa5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d4079bf View commit details
    Browse the repository at this point in the history
  5. Introduce FromFnProto

    This allows us to capture the `remote_peer_id` and
    `connection_point` of the connection.
    thomaseizinger committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    bc361ec View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    712180b View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Configuration menu
    Copy the full SHA
    f9f8e75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d7f0bd View commit details
    Browse the repository at this point in the history
  3. Don't allow ConnectionHandlers to modify the state

    It is impossible to implement a general algorithm for how to
    resolve conflicts without going down the path of CRDTs.
    thomaseizinger committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    8ee59fd View commit details
    Browse the repository at this point in the history
  4. Implement test

    thomaseizinger committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    7fb4387 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac5c236 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3e81e72 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    49c6eb1 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Configuration menu
    Copy the full SHA
    411c0d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e185d8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bdbeadc View commit details
    Browse the repository at this point in the history
  4. Share state between connection handlers

    This reduces the memory usage.
    thomaseizinger committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    660c0a3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f5a3c50 View commit details
    Browse the repository at this point in the history
  6. Update docs

    thomaseizinger committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    df74f14 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f84388f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6d1add5 View commit details
    Browse the repository at this point in the history
  9. Pass ConnectedPoint by value

    This clone is not very expensive and offers a huge ergonomic
    improvement.
    thomaseizinger committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    913caf3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e9cd5fc View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2022

  1. Flatten errors

    thomaseizinger committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    5801576 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c15433f View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. Configuration menu
    Copy the full SHA
    a418d2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    628e9ab View commit details
    Browse the repository at this point in the history
  3. Minimise diff

    thomaseizinger committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    7bdd953 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. Configuration menu
    Copy the full SHA
    4485c48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f00703 View commit details
    Browse the repository at this point in the history