package octez-protocol-alpha-libs

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

Module State_ai_flags.AutostakeSource

This module takes care of autostaking when it is enabled

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

Autostaking is enabled iff the flag autostaking_enable is true and AI is not activated (AI.enabled = false).

Runs the autostake operations at cycle end. Does nothing if enabled = false.

OCaml

Innovation. Community. Security.