Expand description
Decoding and erasure recovery for Clay codes
This module implements the layered decoding algorithm from the FAST’18 paper. It handles both full decoding (all chunks available) and erasure recovery (up to m chunks missing).
Functions§
- compute_
cstar_ from_ c_ and_ u - Compute C* from C and U (for repair)
- decode
- Recover original data from available chunks
- decode_
layered - Main layered decoding algorithm
- decode_
uncoupled_ layer - Decode uncoupled layer using RS MDS code
- get_
companion_ layer - Get companion layer index with proper modular arithmetic
Type Aliases§
- Decode
Params - Parameters needed for decoding (same as encode for now)