Assessment reports>Nibiru>Threat Models>Hook: SlashAndResetMissCounters

Hook: SlashAndResetMissCounters

The SlashAndResetMissCounters hook is called every SlashWindow blocks. It iterates through all validators that were recorded as missing votes in the previous SlashWindow blocks and checks if they missed more than MinValidPerWindow of the votes. If so, it slashes the validator and resets their miss counter to zero.

Zellic © 2024Back to top ↑