Initial erasure-coding of availability data (#56)
* erasure-coding block data * adjust error handling * merkleize chunks and yield branches for each * construction and proving of merkle branches * port over to new GF(2^16) impl * some tests for wrapped_shard * handle extra byte from GF(2^16) better * point to github dependency * add issue link * point to master for reed-solomon-erasure * add missing license header
Showing
- polkadot/Cargo.lock 20 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/Cargo.toml 1 addition, 0 deletionspolkadot/Cargo.toml
- polkadot/erasure-coding/Cargo.toml 12 additions, 0 deletionspolkadot/erasure-coding/Cargo.toml
- polkadot/erasure-coding/src/lib.rs 409 additions, 0 deletionspolkadot/erasure-coding/src/lib.rs
- polkadot/erasure-coding/src/wrapped_shard.rs 134 additions, 0 deletionspolkadot/erasure-coding/src/wrapped_shard.rs
- polkadot/primitives/src/lib.rs 3 additions, 1 deletionpolkadot/primitives/src/lib.rs
- polkadot/primitives/src/parachain.rs 4 additions, 4 deletionspolkadot/primitives/src/parachain.rs
- polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.compact.wasm 0 additions, 0 deletions...m32-unknown-unknown/release/polkadot_runtime.compact.wasm
- polkadot/runtime/wasm/target/wasm32-unknown-unknown/release/polkadot_runtime.wasm 0 additions, 0 deletions...rget/wasm32-unknown-unknown/release/polkadot_runtime.wasm
Please register or sign in to comment