Skip to main content

sector_size

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, padding and checksum).

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