Skip to content

Commit fc1a180

Browse files
committed
Address feedback
1 parent 5cd3f56 commit fc1a180

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/concepts/ipns.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The main implication of this difference is that IPNS operations (publishing and
9494
9595
#### IPNS over the DHT
9696

97-
The DHT is the default transport mechanism for IPNS records in Kubo.
97+
The DHT is the default transport mechanism for IPNS records in most IPFS implementations, e.g. Kubo, and js-ipfs.
9898

9999
Due to the ephemeral nature of the DHT, peers forget records after 24 hours. This applies to any record in the DHT, irrespective of the `validity` (also referred to as `lifetime`) field in the IPNS record.
100100

@@ -123,15 +123,15 @@ Initial operations, e.g. resolving or publishing an IPNS name for the first time
123123

124124
After the subscription to the topic is established, PubSub usually improves both publishing and resolving times of IPNS by relying on interested peers for both operations.
125125

126-
It should be noted that there's an upper limit to the number of unique IPNS names you can resolve over PubSub, because for each name, a subscription is created which opens several network connections to mesh peers.
126+
It should be noted that there's an upper limit to the number of unique IPNS names you can resolve over PubSub, because for each name, a subscription is created which opens several (by default 6) network connections to mesh members.
127127

128128
##### Publishing IPNS records over PubSub lifecycle
129129

130130
1. Create a record and sign it
131131
2. Calculate PubSub topic name from IPNS name
132132
3. Join the topic by querying the DHT for the topic's provider records
133133
4. Publish the IPNS record to the topic
134-
5. Whenever [a new peer joins the topic](https://github.com/libp2p/go-libp2p-pubsub-router/blob/292d99457d224853706c5e49f8ddc112740a856a/pubsub.go#L538-L560) (specifically your peer mesh), ask them for the record. If they respond with a newer record, update it locally and publish the updated record to the.
134+
5. Whenever [a new peer joins the topic](https://github.com/libp2p/go-libp2p-pubsub-router/blob/292d99457d224853706c5e49f8ddc112740a856a/pubsub.go#L538-L560) (specifically your mesh), ask them for the record. If they respond with a newer record, update it locally and publish the updated record to the.
135135
6. Periodically (by default every 10 minutes) rebroadcast the IPNS record,
136136

137137
Steps 5 and 6 describe from a high level how IPNS record persistence is layered over PubSub by ensuring continuous propagation of the IPNS record in the face of node churn (nodes dropping in and out of the network).

0 commit comments

Comments
 (0)