(**************************************************************************) (* *) (* Copyright (c) 2014 - 2016. *) (* Dynamic Ledger Solutions, Inc. *) (* *) (* All rights reserved. No warranty, explicit or implicit, provided. *) (* *) (**************************************************************************) type error += | Precomputed_seed | Invalid_cycle val init: Storage.t -> Storage.t tzresult Lwt.t val compute_for_cycle: Storage.t -> Cycle_repr.t -> Storage.t tzresult Lwt.t val for_cycle: Storage.t -> Cycle_repr.t -> Seed_repr.seed tzresult Lwt.t val clear_cycle: Storage.t -> Cycle_repr.t -> Storage.t tzresult Lwt.t