Skip to content

Commit 942569e

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

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ipns/ipns-record.md

Lines changed: 4 additions & 2 deletions
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,8 +151,10 @@ 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+
- Suggested default: 1 hour (3 600 000 000 000 nanoseconds).
157+
156158

157159
- **Public Key** (bytes)
158160
- Public key used to sign this record.

0 commit comments

Comments
 (0)