2016-09-08 21:13:10 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* Copyright (c) 2014 - 2016. *)
|
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2017-04-10 15:01:22 +04:00
|
|
|
val current: Storage.t -> Level_repr.t
|
|
|
|
val previous: Storage.t -> Level_repr.t
|
2016-09-08 21:13:10 +04:00
|
|
|
|
2017-04-10 15:01:22 +04:00
|
|
|
val root: Storage.t -> Level_repr.t
|
2016-09-08 21:13:10 +04:00
|
|
|
|
|
|
|
val from_raw: Storage.t -> ?offset:int32 -> Raw_level_repr.t -> Level_repr.t
|
|
|
|
val pred: Storage.t -> Level_repr.t -> Level_repr.t option
|
|
|
|
val succ: Storage.t -> Level_repr.t -> Level_repr.t
|
|
|
|
|
|
|
|
val last_level_in_cycle: Storage.t -> Cycle_repr.t -> Level_repr.t
|
|
|
|
val levels_in_cycle: Storage.t -> Cycle_repr.t -> Level_repr.t list
|