Skip to content

Commit

Permalink
add note on what recent enough means
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Jul 25, 2023
1 parent 35425d3 commit 11f5997
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,12 @@ Given a query (the `content` map from the request body) `Q`, a response `R`, and

where `RootSubnetId` is the a priori known principal of the root subnet. Moreover, all timestamps in `R.signatures`, the certificate `Cert`, and its optional delegation must be "recent enough".

:::note

This specification leaves it up to the client to decide how recent timestamps in `R.signatures`, the certificate `Cert`, and its optional delegation the client enforces. A reasonable expiry time for timestamps in `R.signatures` and the certificate `Cert` is 5 minutes (analogously to the maximum allowed ingress expiry enforced by the IC mainnet). Delegations require expiry times of at least a week since the IC mainnet refreshes the delegations only after replica upgrades which typically happen once a week.

:::

### Effective canister id {#http-effective-canister-id}

The `<effective_canister_id>` in the URL paths of requests is the *effective* destination of the request.
Expand Down

0 comments on commit 11f5997

Please sign in to comment.