package tezos-protocol-015-PtLimaPt

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

Set of all active consensus keys in cycle `current + preserved_cycles + 1`

type context = Raw_context.t

Tells if a elt is a member of the set

Adds a elt is a member of the set

Removes a elt of the set ; does nothing if not a member

Returns the elements of the set, deserialized in a list in no particular order.

val fold : context -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(elt -> 'a -> 'a Tezos_protocol_environment_015_PtLimaPt.Lwt.t) -> 'a Tezos_protocol_environment_015_PtLimaPt.Lwt.t

Iterates over the elements of the set.

Removes all elements in the set

OCaml

Innovation. Community. Security.