We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8162658 commit 5feee48Copy full SHA for 5feee48
misc/metrics/src/identify.rs
@@ -37,8 +37,14 @@ use crate::protocol_stack;
37
const ALLOWED_PROTOCOLS: &[StreamProtocol] = &[
38
#[cfg(feature = "dcutr")]
39
libp2p_dcutr::PROTOCOL_NAME,
40
- // #[cfg(feature = "gossipsub")]
41
- // TODO: Add Gossipsub protocol name
+ #[cfg(feature = "gossipsub")]
+ libp2p_swarm::StreamProtocol::new("/meshsub/1.2.0"),
42
43
+ libp2p_swarm::StreamProtocol::new("/meshsub/1.1.0"),
44
45
+ libp2p_swarm::StreamProtocol::new("/meshsub/1.0.0"),
46
47
+ libp2p_swarm::StreamProtocol::new("/floodsub/1.0.0"),
48
libp2p_identify::PROTOCOL_NAME,
49
libp2p_identify::PUSH_PROTOCOL_NAME,
50
#[cfg(feature = "kad")]
0 commit comments