Expand description
Reading utilities
This module contains utilities for extracting data from plots/sectors created by functions in
plotting
module earlier. This is a relatively expensive operation and is
only used for cold storage purposes or when there is a need to prove a solution to consensus.
Enums§
- Read
Sector Record Chunks Mode - Defines a mode of reading chunks in
read_sector_record_chunks
. - Reading
Error - Errors that happen during reading
Functions§
- read_
piece - Read piece from sector.
- read_
sector_ record_ chunks - Read sector record chunks, only plotted s-buckets are returned (in decoded form).
- recover_
extended_ record_ chunks - Given sector record chunks recover extended record chunks (both source and parity)
- recover_
source_ record_ chunks - Given sector record chunks recover source record chunks in form of an iterator.