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

specs: Discuss which field and codec we're using #1459

Open
Tracked by #650
evan-forbes opened this issue Mar 8, 2023 · 2 comments
Open
Tracked by #650

specs: Discuss which field and codec we're using #1459

evan-forbes opened this issue Mar 8, 2023 · 2 comments
Labels
specs directly relevant to the specs

Comments

@evan-forbes
Copy link
Member

evan-forbes commented Mar 8, 2023

Currently, we're using the leopard codec and GF8 and GF16 fields when we erasure our data, but afaiu, we don't specify this anywhere. We should mention that we are actually switching to GF8 when the square size is 128 or smaller, and then only switch to GF16 when needed.

@evan-forbes evan-forbes added the specs directly relevant to the specs label Mar 8, 2023
@evan-forbes evan-forbes added this to the Mainnet milestone Mar 8, 2023
@evan-forbes evan-forbes changed the title specs: Discuss which field and codec we're using and when specs: Discuss which field and codec we're using Mar 8, 2023
@rootulp
Copy link
Collaborator

rootulp commented Mar 8, 2023

klauspost/reedsolomon uses leopardGF16 when total shards > 256 which I think occurs when squareSize >= 8 because: squareSize=8 means EDS of width 16 so total shares of 16 * 16 = 256. @evan-forbes am I misinterpreting something?

@evan-forbes
Copy link
Member Author

am I misinterpreting something?

its determined by row or column size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
specs directly relevant to the specs
Projects
None yet
Development

No branches or pull requests

2 participants