Skip to main content

STORAGE_ID_OFFSET

Constant STORAGE_ID_OFFSET 

Source
const STORAGE_ID_OFFSET: usize = _; // 281_474_976_710_656usize
Expand description

Offset added to storage operator/channel IDs to avoid collisions with compute IDs.

Large enough that compute IDs (which start from 0 and grow) will never reach it, but small enough to be representable as a u64 with room for many storage operators.