Skip to content

Commit f7c35a7

Browse files
committed
docs: add suggested default 12h for IPNS Entry TTL
1 parent 1a3c260 commit f7c35a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ipns/ipns-record.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: IPNS Record and Protocol
33
description: >
44
Specifies the IPNS protocol in a language-agnostic manner, allowing everyone to
55
create a compatible IPNS Record Publisher or Resolver.
6-
date: 2023-07-24
6+
date: 2023-10-03
77
maturity: reliable
88
editors:
99
- name: Vasco Santos
@@ -151,9 +151,9 @@ A logical :dfn[IPNS Record] is a data structure containing the following fields:
151151
- Implementations MUST include this value in inside the DAG-CBOR document at `IpnsEntry.data[Sequence]`.
152152

153153
- **TTL** (uint64)
154-
- A hint for how long the record should be cached before going back to, for instance the DHT, in order to check if it has been updated.
154+
- A hint for how long (in nanoseconds) the record should be cached before going back to, for instance the DHT, in order to check if it has been updated.
155155
- Implementations MUST include this value inside the DAG-CBOR document at `IpnsEntry.data[TTL]`.
156-
156+
- Suggested default: 12 hours (43 200 000 000 000 nanoseconds).
157157
- **Public Key** (bytes)
158158
- Public key used to sign this record.
159159
- If public key is small enough to fit in IPNS name (e.g., Ed25519 keys inlined using `identity` multihash), `IpnsEntry.pubKey` field is redundant and MAY be skipped to save space.

0 commit comments

Comments
 (0)