Module Floating_block_index.Legacy
include Index.S
with type key = Mavryk_base.TzPervasives.Block_hash.t
and type value = Legacy_block_info.t
val empty_cache : unit -> cache
val v :
?flush_callback:(unit -> unit) ->
?cache:cache ->
?fresh:bool ->
?readonly:bool ->
?throttle:[ `Block_writes | `Overcommit_memory ] ->
?lru_size:int ->
log_size:int ->
string ->
t
val mem : t -> key -> bool
val replace : ?overcommit:bool -> t -> key -> value -> unit
val filter : t -> ((key * value) -> bool) -> unit
val iter : (key -> value -> unit) -> t -> unit
val flush : ?no_callback:unit -> ?with_fsync:bool -> t -> unit
val close : ?immediately:unit -> t -> unit
val is_merging : t -> bool
val try_merge : t -> unit