package plebeia

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

Header has the fixed size 256 bytes.

type t = {
  1. last_next_index : Index.t;
  2. last_root_index : Index.t option;
}
val pp : t Utils.Format.t
val read_disk_sync : Storage.storage -> t option Lwt.t
val write_disk_sync : Storage.storage -> t -> unit Lwt.t
val read_process_sync : Storage.storage -> ([> `BadKey | `GoodKey | `NoKey ] * t) option Lwt.t
val write_process_sync : Storage.storage -> t -> unit Lwt.t