Skip to content

Commit

Permalink
ipip-412: explicitly forbid identity cid blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jul 6, 2023
1 parent 312df57 commit 205a04d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/ipips/ipip-0412.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,16 @@ behavior is unspecified, and the CAR response includes an arbitrary list of
blocks. In this case, the client should assume `n` as the default, but ignore
duplicates if they are present.

<!-- TODO: do we need a parameter for inclusion of identity CIDs?
It seems to be only relevant in Filecoin due to legacy hiccup:
https://github.com/ipfs/specs/pull/330#issuecomment-1274106892 -->
:::warning

The specified parameter does not apply to virtual blocks identified by identity
CIDs. CAR responses MUST never include these virtual blocks. The parameter in
question is meant to control the behavior of non-virtual blocks in the
response. Therefore, it does not have any effect on virtual blocks, and they
should never be included in the CAR response, no matter if present, or what
value is set.

:::

### Signaling in Response

Expand Down

0 comments on commit 205a04d

Please sign in to comment.