Update supported protocol on the fly #4908
-
I've come up with this early in #3902 when I tried to write a macro for composing
But what is the best way to do this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Are you using identify? If you don't want to share your supported protocols, I'd suggest stop using identify and write your own protocol that perhaps only shares information with manually selected peers. The |
Beta Was this translation helpful? Give feedback.
Well, it seems you don't like what it does :)
It depends on which nodes / networks you want to be interoperable with. I think some parts of
go-libp2p
require identify for example but outside of that, identify is "just another protocol" and you don't need to add it to your stack if you don't want it…