Skip to content

Commit 7a4e220

Browse files
authored
Merge pull request #371 from ipfs/new-ipns-ttl-default
Document suggested IPNS Entry TTL default
2 parents 1a3c260 + f68df0c commit 7a4e220

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ipns/ipns-record.md

Lines changed: 3 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,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. The function and trade-offs of this value are analogous to the TTL of DNS record.
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).
156157

157158
- **Public Key** (bytes)
158159
- Public key used to sign this record.

0 commit comments

Comments
 (0)