Skip to main content

FAILURE_COUNTERS

Constant FAILURE_COUNTERS 

Source
pub const FAILURE_COUNTERS: &[&str];
Expand description

The counters of signatures and shielded bundles in batches that failed verification.

A failed batch counts every item in it, before each item is verified on its own, so a counted item can still be valid.

They are only recorded when a verification fails, and rate() can’t see the first increase of a series that didn’t exist before, so register_failure_counters registers them at zero.