Skip to content

Commit 3bc396d

Browse files
format
1 parent f1a6ef3 commit 3bc396d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routing/kad-dht.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ identifier for incoming streams.
113113

114114
## Kademlia Keyspace
115115

116-
Kademlia [0] operates on a binary keyspace defined as $\{0, 1\}^m$. In
117-
particular, the IPFS Kademlia DHT uses a keyspace of length $m=256, containing
116+
Kademlia [0] operates on a binary keyspace defined as $\lbrace 0,1 \rbrace^m$. In
117+
particular, the IPFS Kademlia DHT uses a keyspace of length $m=256$, containing
118118
all bitstrings of 256 bits. The distance between any pair of keys is defined as
119119
the bitwise XOR of the two keys, resulting in a new key representing the
120120
distance between the two keys. This keyspace is used for indexing both nodes

0 commit comments

Comments
 (0)