Skip to main content

MAX_VERIFY_ATTEMPTS

Constant MAX_VERIFY_ATTEMPTS 

Source
const MAX_VERIFY_ATTEMPTS: u32 = 5;
Expand description

Failed-validation ceiling: the session self-destructs once this many wrong submissions have been counted, so the Nth burns and N-1 are tolerated. Caps token brute-force (mirrors the device-grant ceiling).