Module reading

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

ReadSectorRecordChunksMode
Defines a mode of reading chunks in read_sector_record_chunks.
ReadingError
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.