ipld / ipld/go-car

Minimum `DataSize` value when validating CARv2 header

Open
#310 4 comments 0 reactions 1 assignee Claimed by @rvagg View on GitHub
Dominant language
Go
Stars
175
Forks
54
Avg merge
6d 5h
Merged PRs (30d)
4

Description

Question: What should the minimum accepted `DataSize` value be in a CARv2 header?

* Could it be zero?
* or should it be the minimum valid size for a CARv1 which is header plus at least one root CID that comes to 26 bytes.

See discussion:
* https://github.com/ipld/go-car/pull/309#discussion_r910563620_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.