Skip to content

Commit

Permalink
style: clarify value >48h is ignored by dht
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel authored Feb 13, 2023
1 parent 615456e commit ba619e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ipns/IPNS.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ A logical IPNS record is a data structure containing the following fields:
- Implementations MUST support `validityType = 0` and include this value in both `IpnsEntry.validityType` and inside the DAG-CBOR document at `IpnsEntry.data[validityType]`.
- **Validity** (bytes)
- When `validityType = 0`
- Expiration date of the record with nanoseconds precision. We suggest this value to follow the expiration window of the publishing medium. For example, records published in the DHT should expire 48 hours after being published.
- Expiration date of the record with nanoseconds precision. Expiration time should match the publishing medium's window.
- For example, IPNS records published on the DHT should have an expiration time set to within 48 hours after publication. Setting the expiration time to longer than 48 hours will not have any effect, as DHT peers only keep records for up to 48 hours.
- Represented as an ASCII string that follows notation from [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) (`1970-01-01T00:00:00.000000001Z`).
- Implementations MUST include this value in both `IpnsEntry.validity` and inside the DAG-CBOR document at `IpnsEntry.data[validity]`.
- **Sequence** (uint64)
Expand Down

0 comments on commit ba619e8

Please sign in to comment.