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

Erasure-coding library research #3

Open
asmie opened this issue Jul 22, 2024 · 1 comment
Open

Erasure-coding library research #3

asmie opened this issue Jul 22, 2024 · 1 comment

Comments

@asmie
Copy link
Member

asmie commented Jul 22, 2024

There is a need to research library for erasure encoding.

Something similar to the Rust one:
https://github.com/paritytech/erasure-coding/blob/main/src/subshard.rs

Ensure the library is aligned with GP Appendix H.

Test vectors from Gavin:
https://gist.github.com/gavofyork/4cde92327cd91eff3e2ab91d316cb83a

Test vectors in the official repo (PRed):
w3f/jamtestvectors#4

@aranw
Copy link

aranw commented Jul 29, 2024

I evaluated the github.com/klauspost/reedsolomon library for erasure-coding and it seems to validate against two test cases that I found in the linked issue.

One thing that doesn't seem to work in the library was the Verify call I've left it in the example but commented out. Not fully sure whether this is something we need to get working or not

All code can be found here

@asmie asmie unassigned aranw Sep 18, 2024
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

No branches or pull requests

2 participants