Skip to main content

MAX_HANDLE_DEPTH

Constant MAX_HANDLE_DEPTH 

Source
pub const MAX_HANDLE_DEPTH: u8 = 20;
Expand description

Deepest chunk depth a handle can encode. ChunkId::path spends 2 bits per level, so depth <= 20 fits the 40 path bits below.