Skip to main content

BUCKETS

Constant BUCKETS 

Source
pub const BUCKETS: u32 = 10_000;
Expand description

Buckets per rollout space. 10 000 gives two decimal places of percent, which is finer than any operator needs and keeps the modulo bias negligible against a 32-bit draw.