cleanup and documentation
Note
this MR is best reviewed commit by commit, it's hopefully clear enough.
Note
waiting for !47 (merged) to land
changelog
- add missing format to the
KomodoError
s - rename
fec::Shard::bytes
tofec::Shard::data
because these are no bytes - rename the
blocks: Vec<Shard<E>>
argument offec::decode
toshards
- refactor the tests of
fec
andlib.rs
- remove the
batch_verify
function entirely as it's pretty useless - simplify the
linalg::Matrix::random
function - add tests for the function in the
setup
module - add documentation where it was missing
Edited by STEVAN Antoine