Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cip-19: add eds identifier/container #114

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

Wondertan
Copy link
Member

Extends the cip-19 with new identifier/container.

@Wondertan Wondertan marked this pull request as ready for review March 26, 2024 17:39
cips/cip-19.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@rootulp rootulp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two observations:

  1. EDS is an acronym so should it be consistently capitalized as EDS instead of Eds?
  2. Please use a leading space before the open parentheses.

Comment on lines +154 to +155
Eds containers encapsulate the [DataSquare][square]. Internally, they only keep the original data(1st quadrant) of the
EDS with redundant data(2nd, 3rd and 4th quadrants) computable from the original data.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Eds containers encapsulate the [DataSquare][square]. Internally, they only keep the original data(1st quadrant) of the
EDS with redundant data(2nd, 3rd and 4th quadrants) computable from the original data.
Eds containers encapsulate the [DataSquare][square]. Internally, they only keep the original data (1st quadrant) of the
EDS with redundant data (2nd, 3rd and 4th quadrants) computable from the original data.

Comment on lines +186 to +187
Row containers encapsulate the rows of the [DataSquare][square]. Internally, they only keep the left(original) half of
the row with right(redundant) half recomputable from the left half.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Row containers encapsulate the rows of the [DataSquare][square]. Internally, they only keep the left(original) half of
the row with right(redundant) half recomputable from the left half.
Row containers encapsulate the rows of the [DataSquare][square]. Internally, they only keep the left (original) half of
the row with right (redundant) half recomputable from the left half.

| RowID | 0x7801 | 0x7800 |
| SampleID | 0x7811 | 0x7810 |
| DataID | 0x7821 | 0x7820 |

*EdsID and container are excluded from Bitswap composition. Bitswap is limited to messages of size 256kb, while EDSes are
expected to be bigger. Also, its more efficient to parallelize EDS requesting by rows.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
expected to be bigger. Also, its more efficient to parallelize EDS requesting by rows.
expected to be bigger. Also, it is more efficient to parallelize EDS requesting by rows.

@rootulp rootulp merged commit 0b8371b into celestiaorg:main Mar 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants