Skip to content

fix(p2p): improve reacher address selection and transport filtering#5347

Open
gacevicljubisa wants to merge 5 commits intomasterfrom
fix/reacher-peerstore
Open

fix(p2p): improve reacher address selection and transport filtering#5347
gacevicljubisa wants to merge 5 commits intomasterfrom
fix/reacher-peerstore

Conversation

@gacevicljubisa
Copy link
Member

@gacevicljubisa gacevicljubisa commented Feb 4, 2026

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

This PR improves the reliability of peer reachability testing by using multiaddresses directly from handshake, and adds proper transport filtering and prioritization.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

@gacevicljubisa gacevicljubisa requested a review from janos February 4, 2026 21:40
@gacevicljubisa gacevicljubisa marked this pull request as draft February 4, 2026 21:45
@gacevicljubisa gacevicljubisa changed the title fix(libp2p): improve reacher notify fix(libp2p): use only supported addresses Feb 5, 2026
@gacevicljubisa gacevicljubisa changed the title fix(libp2p): use only supported addresses fix(p2p): improve reacher address selection and transport filtering Feb 5, 2026
@gacevicljubisa gacevicljubisa modified the milestone: v2.8.0 Feb 5, 2026
@gacevicljubisa gacevicljubisa requested a review from janos February 5, 2026 11:36
@gacevicljubisa gacevicljubisa marked this pull request as ready for review February 5, 2026 13:41
@@ -124,6 +124,7 @@ type Service struct {
enableWS bool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not called anywhere, should be deleted ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants