From b9cfb65854a12d6b071295ae8c551696d64267c9 Mon Sep 17 00:00:00 2001 From: acul71 <34693171+acul71@users.noreply.github.com> Date: Sun, 14 Jul 2024 22:24:48 +0200 Subject: [PATCH] Update index.md In this example I think distance(peer5, key1) should be 10 not 5 For example, Peer 5 with dist = 10 means that distance(peer5, key1) = 5 --- content/en/curriculum/libp2p/dht/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/curriculum/libp2p/dht/index.md b/content/en/curriculum/libp2p/dht/index.md index bf198f20..144debd2 100644 --- a/content/en/curriculum/libp2p/dht/index.md +++ b/content/en/curriculum/libp2p/dht/index.md @@ -90,7 +90,7 @@ To find a value for a given key, we iteratively find the _k_ closest nodes of a ![Distances from every peer to the key](libp2p-dht-distances.png) -Every peer has a parameter, _dist_, which represents the distance from the peer to the target key (`key1`). For example, `Peer 5` with `dist = 10` means that `distance(peer5, key1) = 5`. +Every peer has a parameter, _dist_, which represents the distance from the peer to the target key (`key1`). For example, `Peer 5` with `dist = 10` means that `distance(peer5, key1) = 10`. The arrows represent the close nodes of every peer. For simplicity, only one node (`Peer 10`) contains the key.