add protocols to messages#380
Conversation
|
Supported protocols are normally exchanged by running the identify protocol after dialing a peer, not gathered from DHT query results. They can also change fairly dynamically so may not be valid for very long. That said this change could be useful, but it really needs to start with a spec change first so other implementations behave in the same way. Can you please open an issue in the spec repo with the reasoning for discussion. The |
|
Thanks for replying @achingbrain . |
|
Closing because this module is an implementation of a spec, and this feature isn't part of the spec. To service your use case you can search for close peers, then just use |
After calling
getClosestPeers, I was expecting that the protobook would be updated with protocols supported by newly discovered peers, but I noticed that only the addressbook is updated.