subspace_farmer_components::sector

Function sector_size

source
pub const fn sector_size(pieces_in_sector: u16) -> usize
Expand description

Exact sector plot size (sector contents map, record chunks, record metadata).

NOTE: Each sector also has corresponding fixed size metadata whose size can be obtained with SectorMetadataChecksummed::encoded_size(), size of the record chunks (s-buckets) with sector_record_chunks_size() and size of record commitments and witnesses with sector_record_metadata_size(). This function just combines those three together for convenience.