Skip to content

Commit 9eafd15

Browse files
committed
chore: manual link to bibliography
will do for now, we should support this in generator at some point
1 parent 294ff84 commit 9eafd15

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
@@ -121,7 +121,7 @@ identifier for incoming streams.
121121
## Kademlia Keyspace
122122

123123
<!-- TODO: add LaTeX or MathML support and fix below paragraph -->
124-
Kademlia [0] operates on a binary keyspace defined as $\lbrace 0,1 \rbrace^m$. In
124+
Kademlia [`[0]`](#bibliography) operates on a binary keyspace defined as $\lbrace 0,1 \rbrace^m$. In
125125
particular, the IPFS Kademlia DHT uses a keyspace of length $m=256$, containing
126126
all bitstrings of 256 bits. The distance between any pair of keys is defined as
127127
the bitwise XOR of the two keys, resulting in a new key representing the
@@ -167,7 +167,7 @@ prefix with the local node. For more information see [bucket population
167167
measurements](https://github.com/probe-lab/network-measurements/blob/master/results/rfm19-dht-routing-table-health.md#peers-distribution-in-the-k-buckets).
168168

169169
The IPFS Kademlia DHT uses a bucket size of `k = 20`. This corresponds to the
170-
`k` value as defined in the original Kademlia paper [0]. The `k` value is also
170+
`k` value as defined in the original Kademlia paper [`[0]`](#bibliography). The `k` value is also
171171
used as a replication factor and defines how many peers are returned to a
172172
lookup request.
173173

0 commit comments

Comments
 (0)