Skip to content
This repository was archived by the owner on Oct 23, 2022. It is now read-only.

Commit 2180135

Browse files
author
Joonas Koivunen
committed
doc: describe the default for Kademlia protocol name
1 parent 9e93444 commit 2180135

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ pub struct IpfsOptions {
132132
/// Enables mdns for peer discovery and announcement when true.
133133
pub mdns: bool,
134134

135-
/// Custom Kademlia protocol name.
135+
/// Custom Kademlia protocol name. When set to `None`, the global DHT name is used instead of
136+
/// the LAN dht name.
136137
///
137138
/// The name given here is passed to [`libp2p_kad::KademliaConfig::set_protocol_name`].
138139
///

0 commit comments

Comments
 (0)