Closed wlynxg closed 1 month ago
Thanks for opening this. Please can you add a test to prevent future regressions and ensure linting passes.
Thanks for opening this. Please can you add a test to prevent future regressions and ensure linting passes.
Sorry, I'm not very familiar with js, I can't write this test😟
Hmm, not sure why that closed this PR. Continued in #2575
Transient connection logic judgment
Description
In go-libp2p, transient connections are judged based on whether the relay node has restrictions on the current connection. Reference code: https://github.com/libp2p/go-libp2p/blob/fccfbe7a4b6841325100038b83f86cd4e097b9a1/p2p/protocol/circuitv2/client/dial.go#L181
This submission aligns js-libp2p logic with go-libp2p logic.
Notes & open questions
Change checklist