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

feat(swarm): allow behaviours to share addresses of peers #4371

Merged
merged 28 commits into from
Jan 24, 2024

Commits on Jan 1, 2024

  1. Configuration menu
    Copy the full SHA
    1026947 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6a323c View commit details
    Browse the repository at this point in the history
  3. swarm: add peer addresses

    StemCll committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    03fd927 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6110643 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3f227c7 View commit details
    Browse the repository at this point in the history
  6. Add CR changes

    StemCll committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    959a131 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c306434 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6619f0d View commit details
    Browse the repository at this point in the history
  9. Revert version changes

    StemCll committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    1bda774 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    32076ae View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2277bd6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    8e1dc1e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    056d51e View commit details
    Browse the repository at this point in the history
  14. Documentation fixes

    thomaseizinger authored and StemCll committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    b8f8bc5 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f5f162c View commit details
    Browse the repository at this point in the history
  16. Revert autonat version bump

    StemCll committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    ff81f51 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    496c185 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    db18158 View commit details
    Browse the repository at this point in the history
  19. Fix clippy warn

    StemCll committed Jan 1, 2024
    Configuration menu
    Copy the full SHA
    7fa87fb View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

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

Commits on Jan 17, 2024

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

Commits on Jan 18, 2024

  1. Review suggestions resolved

    StemCll committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    31723f2 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

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

Commits on Jan 21, 2024

  1. Re-work PeerAddresses to be limited in how many addresses we store

    This allows us to remove the `put` function and we can now safely
    add all addresses individually to the cache. With the addition of
    the `ToSwarm::NewExternalAddrOfPeer` event, the safeguard of
    overwriting all addresses in the peer cache was no longer useful
    because any other behaviour would have to apply this as well.
    
    As such, we needed to build this safe-guard directly _into_ `PeerAddresses`.
    
    This also makes the added test pass. Previously, the events would
    never get emitted because after calling `.put`, the addresses were
    already in the cache and the `add`-function always returned `false`.
    thomaseizinger committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    da6294b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fae501 View commit details
    Browse the repository at this point in the history
  3. Fix clippy warnings

    thomaseizinger committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    1866abd View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

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