#blockchain #ethereum #reed-solomon #erasure #availability #codec #data

crate_crypto_internal_eth_kzg_erasure_codes

This crate provides an implementation of erasure encoding and decoding

8 releases

0.5.2 Sep 24, 2024
0.5.1 Aug 27, 2024
0.4.1 Aug 13, 2024
0.3.4 Aug 5, 2024

#13 in #reed-solomon

Download history 248/week @ 2024-07-27 246/week @ 2024-08-03 1284/week @ 2024-08-10 1361/week @ 2024-08-17 2142/week @ 2024-08-24 1864/week @ 2024-08-31 1243/week @ 2024-09-07 1550/week @ 2024-09-14 1460/week @ 2024-09-21 1032/week @ 2024-09-28 1354/week @ 2024-10-05 1968/week @ 2024-10-12 1424/week @ 2024-10-19 1719/week @ 2024-10-26 1152/week @ 2024-11-02

6,511 downloads per month
Used in rust_eth_kzg

MIT license

86KB
1.5K SLoC

Erasure Codes

Overview

This crate provides a Rust API for Erasure codes. It uses Reed solomon encoding, however the decoding algorithm and the API in general is tailored the particular use case of Data Availability sampling in the Ethereum Blockchain. It is not a general purpose crate for unique decoding.

Installation

It is not advised to install this crate as part of an independent project. It is only published to crates.io so that we can publish the eip7594 crate to crates.io. Nevertheless, installation of this crate can be done by adding this to your Cargo.toml:

[dependencies]
crate_crypto_internal_eth_kzg_erasure_codes = "0.1.0"

Dependencies

~4.5MB
~157K SLoC