From 7b05d6922b5188309e52a025de0404f732f66905 Mon Sep 17 00:00:00 2001 From: Bernd Strehl Date: Wed, 8 Jul 2020 15:03:56 +0200 Subject: [PATCH] docs: add dht discovery documentation reference (#697) Extended the description with a link for how to configure the libp2p-kad-dht for peer discovery. --- examples/discovery-mechanisms/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/discovery-mechanisms/README.md b/examples/discovery-mechanisms/README.md index d61725f9b4..db75f76565 100644 --- a/examples/discovery-mechanisms/README.md +++ b/examples/discovery-mechanisms/README.md @@ -170,5 +170,5 @@ Discovered: QmRcXXhtG8vTqwVBRonKWtV4ovDoC1Fe56WYtcrw694eiJ There are plenty more Peer Discovery Mechanisms out there, you can: - Find one in [libp2p-webrtc-star](https://github.com/libp2p/js-libp2p-webrtc-star). Yes, a transport with discovery capabilities! This happens because WebRTC requires a rendezvous point for peers to exchange [SDP](https://tools.ietf.org/html/rfc4317) offer, which means we have one or more points that can introduce peers to each other. Think of it as MulticastDNS for the Web, as in MulticastDNS only works in LAN. -- Any DHT will offer you a discovery capability. You can simple _random-walk_ the routing tables to find other peers to connect to. +- Any DHT will offer you a discovery capability. You can simple _random-walk_ the routing tables to find other peers to connect to. For example [libp2p-kad-dht](https://github.com/libp2p/js-libp2p-kad-dht) can be used for peer discovery. An example how to configure it to enable random walks can be found [here](https://github.com/libp2p/js-libp2p/blob/v0.28.4/doc/CONFIGURATION.md#customizing-dht). - You can create your own Discovery service, a registry, a list, a radio beacon, you name it!