Skip to content

Commit

Permalink
Merge pull request #354 from ipfs/hacdias-patch-1
Browse files Browse the repository at this point in the history
docs: validity follows expiration window
  • Loading branch information
lidel authored Feb 13, 2023
2 parents 9141da7 + ba619e8 commit 55c6a67
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.
- 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 55c6a67

Please sign in to comment.