Skip to main content

CellHash

Type Alias CellHash 

Source
pub type CellHash = [u8; 16];
Expand description

A 128-bit content hash stored as little-endian bytes.

Using a byte array rather than u128 keeps the alignment at 1 byte, which avoids padding in structures such as AutoMap/LazyField enums that would otherwise grow to accommodate u128’s 16-byte alignment requirement.