Module Storage.Consensus_keys

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

type context = Raw_context.t

The type of elements.

Tells if an elt is a member of the set

Adds an elt as a member of the set

Removes an elt from 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_alpha.Lwt.t) -> 'a Tezos_protocol_environment_alpha.Lwt.t

Iterates over the elements of the set.

Removes all elements in the set