package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module takes care of the new adaptive slashing mechanism.

val enabled : Block.t -> State.t -> bool

It is enabled iff the flag ns_enable is set to true, and AI is also enabled.

Whatever the value of the flag is, this function returns the slashing value for a given double attestation

OCaml

Innovation. Community. Security.