Skip to main content

SECTOR_SIZE

Constant SECTOR_SIZE 

Source
pub const SECTOR_SIZE: i64 = 243;
Expand description

Trytes per block-device sector: 3^5.

A size, not a stride: sectors tile the backing image with no gap, so sector k covers bytes k * SECTOR_SIZE onward and the window holds exactly this many trytes. The sector’s base within the device is block::WINDOW.

Small enough that the window and the block device’s registers fit inside one DEVICE_STRIDE slot.