Persistent_frontiermodule Database : sig ... endThis module implements the RocksDB interface for interacting with the * persistent frontier's database. This interface includes all of the * basic low level interactions with the database, as well as functionality * for checking the database for structural errors (corruption). Errors * returned from this module come in the form of polymorphic variants. * The Error module is provided as a simple interface for converting * these polymorphic variant errors into human readable strings.
module type CONTEXT = sig ... endexception Invalid_genesis_state_hash of Mina_block.Validated.tval construct_staged_ledger_at_root :
precomputed_values:Precomputed_values.t ->
root_ledger:Mina_ledger.Ledger.Db.t ->
root_transition:Mina_block.Validated.t ->
root:Frontier_base.Root_data.Minimal.t ->
protocol_states:Mina_state.Protocol_state.Value.t list ->
logger:Logger.t ->
Staged_ledger.t Async_kernel__Deferred_or_error.tmodule Instance_type : sig ... endmodule Factory_type : sig ... endmodule Instance : sig ... endtype t = Factory_type.tval create :
logger:Logger.t ->
verifier:Verifier.t ->
time_controller:Block_time.Controller.t ->
directory:string ->
Factory_type.tval destroy_database_exn : Factory_type.t -> unit Async_kernel__Deferred.tval create_instance_exn : Factory_type.t -> Instance_type.tval with_instance_exn :
Factory_type.t ->
f:( Instance_type.t -> 'a ) ->
'b Async_kernel__Deferred.tval reset_database_exn :
Factory_type.t ->
root_data:Frontier_base.Root_data.Limited.t ->
genesis_state_hash:Mina_base.State_hash.t ->
unit Async_kernel__Deferred.t