Skip to main content

STORAGE_THRESHOLD

Constant STORAGE_THRESHOLD 

Source
pub const STORAGE_THRESHOLD: &[u8];
Expand description

The storage-admission threshold — a 32-byte big-endian target admitting approximately 50% of κ-labels. The predicate accepts iff the digest’s big-endian unsigned integer value is ≤ this target.

Approximate accept probability: (0x7F + 1) / 256 = 0.5 (the digest’s high byte ≤ 0x7F).