Skip to content

Commit 1db8465

Browse files
committed
refine conection between cid and hash
1 parent d05c748 commit 1db8465

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/concepts/ipns.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ description: Learn about the InterPlanetary Name System (IPNS) and how it can be
2626
- [Alternatives to IPNS](#alternatives-to-ipns)
2727
- [Further Resources](#further-resources)
2828

29-
3029
## Mutability in IPFS
3130

32-
[Content addressing](content-addressing.md) in IPFS is by nature _immutable_: when you add a file to IPFS, it creates a hash from the data contained in it. Changing a file changes its hash, and consequently its CID which is used as an address.
31+
[Content addressing](content-addressing.md) in IPFS is by nature _immutable_: when you add a file to IPFS, it creates a hash from the data, with which the CID is constructed. Changing a file changes its hash, and consequently its CID which is used as an address.
3332

3433
Yet, there are many situations where content-addressed data needs to be regularly updated, for example, when publishing a website that frequently changes. It would be impractical to share a new CID every time you update the website. With **mutable pointers**, you can share the address of the pointer once, and update the pointer – to the new CID – every time you publish a change.
3534

@@ -168,13 +167,13 @@ IPNS names can be resolved by [IPFS gateways](ipfs-gateway.md) in a _trusted_ fa
168167
- Subdomain resolution: `https://{ipns-name}.ipns.dweb.link`
169168

170169
For example:
170+
171171
- [https://ipfs.io/ipns/k51qzi5uqu5dlvj2baxnqndepeb86cbk3ng7n3i46uzyxzyqj2xjonzllnv0v8](https://ipfs.io/ipns/k51qzi5uqu5dlvj2baxnqndepeb86cbk3ng7n3i46uzyxzyqj2xjonzllnv0v8)
172172

173173
> **Note** IPNS resolution via an IPFS gateway is **trusted** (in the sense of trusting the gateway) which means you delegate IPNS resolution to the gateway without any means to verify the authenticity response you get, i.e the content path and signature of the IPNS record.
174174
175175
<!-- ### Third-party providing/publishing w3name -->
176176

177-
178177
## Publishing IPNS names with Kubo
179178

180179
1. Start your IPFS daemon, if it isn't already running:

0 commit comments

Comments
 (0)