Skip to main content

AUDIT_SPOTCHECK_COUNT

Constant AUDIT_SPOTCHECK_COUNT 

Source
pub const AUDIT_SPOTCHECK_COUNT: u32 = 5;
Expand description

Number of subtree leaves spot-checked against real chunk bytes per audit (ADR-0002 real-bytes layer).

The auditor clamps this to its 3..=5 band (BYTE_SPOTCHECK_MIN..=MAX in storage_commitment_audit), so this is the effective MAXIMUM — set it within the band rather than advertising a sample size the auditor never requests.