You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/ipns/ipns-record.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
maturity: reliable
3
-
date: 2023-02-13
3
+
date: 2023-04-05
4
4
editors:
5
5
- name: Vasco Santos
6
6
github: vasco-santos
@@ -127,8 +127,9 @@ A logical IPNS record is a data structure containing the following fields:
127
127
- Represents the current version of the record (starts at 0).
128
128
- Implementations MUST include this value in both `IpnsEntry.sequence` and inside the DAG-CBOR document at `IpnsEntry.data[sequence]`.
129
129
-**TTL** (uint64)
130
-
- 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.
130
+
- 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.
131
131
- Implementations MUST include this value in both `IpnsEntry.ttl` and inside the DAG-CBOR document at `IpnsEntry.data[ttl]`.
- 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