Skip to main content

MIN_SHORT_HASH

Constant MIN_SHORT_HASH 

Source
pub const MIN_SHORT_HASH: usize = 4;
Expand description

Minimum length of an accepted short-hash prefix. Shorter prefixes are rejected as too-ambiguous-by-construction rather than scanned, so a stray 1–3 char token (e.g. a typo’d ref) fails fast.