Skip to main content

MAX_LEAVES_PER_XATTR

Constant MAX_LEAVES_PER_XATTR 

Source
pub const MAX_LEAVES_PER_XATTR: u64 = 1488;
Expand description

Max Merkle leaves that fit in a 64KB xattr with fat nodes. (65536 - 56 overhead) / 44 bytes per leaf (32 hash + 4 entropy + 8 simhash) = 1488.