Skip to main content

Module decode

Module decode 

Source
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§

DecodeParams
Parameters needed for decoding (same as encode for now)