Skip to content

feat: implement autorelay#21

Merged
dariusc93 merged 86 commits into
mainfrom
feat/autorelay-internal
Jun 15, 2026
Merged

feat: implement autorelay#21
dariusc93 merged 86 commits into
mainfrom
feat/autorelay-internal

Conversation

@dariusc93

Copy link
Copy Markdown
Owner

This PR derives from my rust-libp2p PR libp2p/rust-libp2p#6156, with some changes made internally. The internals may be subjected to change, and may be swapped out for for upstream implementation if ever merged in.

Note:

There is a small bug I discovered while using this impl. A fixed is applied via libp2p/rust-libp2p#6461 but should not be a problem for initial use. Additionally, this implementation relies on libp2p/rust-libp2p#6285, which I will probably require tracking on our end until the PR (and its seq fix in libp2p/rust-libp2p#6472) is backported.

…cdeque to prioritize static relays when possible, ignore relayed peers (marking them as not supported), and remove redundant logic
… event of the node being reachable through other means
@dariusc93 dariusc93 force-pushed the feat/autorelay-internal branch from aa7741c to 5d8fc2d Compare June 14, 2026 23:34
@dariusc93 dariusc93 marked this pull request as ready for review June 15, 2026 02:09
@dariusc93 dariusc93 merged commit c0d5445 into main Jun 15, 2026
4 checks passed
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.

1 participant