Module subspace_farmer_components::sector

source ·
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
  • Abstraction on top of bitfields that allow making sense of sector contents that contains both encoded (meaning erasure coded and encoded with existing PoSpace quality) and unencoded chunks (just erasure coded) used at the same time both in records (before writing to plot) and s-buckets (written into the plot) format
  • Metadata of the plotted sector
  • Same as SectorMetadata, but with checksums verified during SCALE encoding/decoding

Enums§

Functions§