Should identify request be default exchange on every p2p connection? #756
sukhman-sukh
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello community,
Whie exploring noise protocol and echo&ping interop with go-libp2p, I found an interesting thing. Whenever they make a connection with any peer, they make identify request and store their results such as
obs_addr
into their hosts. So, every connection has a identify exchange by default.We can have a similar implementation for py-libp2p to move ahead in interoperability. I would appreciate suggestions and observations from all members regarding any similar experiences you've had in other language libp2p implementations. Are there any implementations that don't make identify request as the default? If so, can you share the link here?
Here is the link to go implementation for ref: https://github.com/libp2p/go-libp2p/blob/7b7c3ed4ce048c99a865d4349b5f7484a6a93c04/p2p/host/basic/basic_host.go#L599-L60
Beta Was this translation helpful? Give feedback.
All reactions