Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Remove multiple DHTs support from Discovery #12524

Merged
merged 4 commits into from
Oct 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions: update DiscoveryConfig comment
  • Loading branch information
dmitry-markin committed Oct 20, 2022
commit b4ecac1f798a7ab050e6c326bcabf7308395f4dd
4 changes: 2 additions & 2 deletions client/network/src/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ const MAX_KNOWN_EXTERNAL_ADDRESSES: usize = 32;

/// `DiscoveryBehaviour` configuration.
///
/// Note: In order to discover nodes or load and store values via Kademlia one has to add at least
/// one protocol via [`DiscoveryConfig::add_protocol`].
/// Note: In order to discover nodes or load and store values via Kademlia one has to add
/// Kademlia protocol via [`DiscoveryConfig::with_kademlia`].
pub struct DiscoveryConfig {
local_peer_id: PeerId,
permanent_addresses: Vec<(PeerId, Multiaddr)>,
Expand Down