-
Notifications
You must be signed in to change notification settings - Fork 930
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
mergify
merged 28 commits into
libp2p:master
from
StemCll:feat/swarm/report_remote_address
Jan 24, 2024
Merged
feat(swarm): allow behaviours to share addresses of peers #4371
mergify
merged 28 commits into
libp2p:master
from
StemCll:feat/swarm/report_remote_address
Jan 24, 2024
Commits on Jan 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1026947 - Browse repository at this point
Copy the full SHA 1026947View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6a323c - Browse repository at this point
Copy the full SHA c6a323cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03fd927 - Browse repository at this point
Copy the full SHA 03fd927View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6110643 - Browse repository at this point
Copy the full SHA 6110643View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f227c7 - Browse repository at this point
Copy the full SHA 3f227c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 959a131 - Browse repository at this point
Copy the full SHA 959a131View commit details -
Configuration menu - View commit details
-
Copy full SHA for c306434 - Browse repository at this point
Copy the full SHA c306434View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6619f0d - Browse repository at this point
Copy the full SHA 6619f0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bda774 - Browse repository at this point
Copy the full SHA 1bda774View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32076ae - Browse repository at this point
Copy the full SHA 32076aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2277bd6 - Browse repository at this point
Copy the full SHA 2277bd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e1dc1e - Browse repository at this point
Copy the full SHA 8e1dc1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 056d51e - Browse repository at this point
Copy the full SHA 056d51eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8f8bc5 - Browse repository at this point
Copy the full SHA b8f8bc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5f162c - Browse repository at this point
Copy the full SHA f5f162cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff81f51 - Browse repository at this point
Copy the full SHA ff81f51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 496c185 - Browse repository at this point
Copy the full SHA 496c185View commit details -
Configuration menu - View commit details
-
Copy full SHA for db18158 - Browse repository at this point
Copy the full SHA db18158View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fa87fb - Browse repository at this point
Copy the full SHA 7fa87fbView commit details
Commits on Jan 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af0a91c - Browse repository at this point
Copy the full SHA af0a91cView commit details
Commits on Jan 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 41b533e - Browse repository at this point
Copy the full SHA 41b533eView commit details
Commits on Jan 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 31723f2 - Browse repository at this point
Copy the full SHA 31723f2View commit details
Commits on Jan 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5059d51 - Browse repository at this point
Copy the full SHA 5059d51View commit details
Commits on Jan 21, 2024
-
Re-work
PeerAddresses
to be limited in how many addresses we storeThis 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`.
Configuration menu - View commit details
-
Copy full SHA for da6294b - Browse repository at this point
Copy the full SHA da6294bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fae501 - Browse repository at this point
Copy the full SHA 6fae501View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1866abd - Browse repository at this point
Copy the full SHA 1866abdView commit details
Commits on Jan 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b1bedf7 - Browse repository at this point
Copy the full SHA b1bedf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d53d1 - Browse repository at this point
Copy the full SHA 49d53d1View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.