Expand description
Sector-related data structures
Sectors and corresponding metadata created by functions in plotting
module
have a specific structure, represented by data structured in this module.
It is typically not needed to construct these data structures explicitly outside of this crate, instead they will be returned as a result of certain operations (like plotting).
Structs§
- Wrapper data structure that allows to iterate mutably over encoded chunks bitfields, while maintaining up-to-date number of encoded chunks
- Map of sector contents.
- Metadata of the plotted sector
- Same as
SectorMetadata
, but with checksums verified during SCALE encoding/decoding
Enums§
- Error happening when trying to encode
SectorContentsMap
into bytes - Error happening when trying to create
SectorContentsMap
from bytes - Error happening when trying to create
SectorContentsMap
from bytes
Functions§
- Size of the part of the plot containing record chunks (s-buckets).
- Size of the part of the plot containing record metadata.
- Exact sector plot size (sector contents map, record chunks, record metadata).