Tezos_shell_services.History_modeSourceHistory modes for the chain history storage
History modes allow a node to require less disk storage. Indeed, depending on the chosen history mode, some parts of the complete chain history can be deleted as they are not required anymore. Three history modes are provided:
The type for defining the number of additional cycles to preserve.
The type for defining an history mode.
The default value for the number of additional cycles to preserve.
The default rolling history mode value. Based on default_additional_cycles.
Returns true if the modes and the number of additional cycles are equal.
Returns true if the modes are equal. The number of additional cycles are not checked.
The module for handling legacy history modes. It is only used for legacy support, see Tezos_store.Legacy and Tezos_store.Snapshots.