ExtensionsTransition frontier extensions defines the set of extensions which are * attached to an instance of a transition frontier. A transition frontier * extension is an incrementally computed view on the transition frontier's * contents. Extensions synchronously recieve diffs applied to the transition * frontier. Every extension is associated with a broadcast pipe, which allows * outside consumers of extensions to recieve updates a extension's view. * Calling notify from this module will update all extensions with the new * transition frontier diffs, waiting for all consumers of each extensions' * broadcast pipes to finish handling any view updates that may occur.
module Best_tip_diff : sig ... endmodule Identity : sig ... endmodule Root_history : sig ... endThe root history extension provides a historical view into previous roots the * transition frontier has maintained. The root history will store at most the * 2*k historical roots.
module Snark_pool_refcount : sig ... endmodule Transition_registry : sig ... endmodule New_breadcrumbs : sig ... endmodule Ledger_table : sig ... endA ledger table maps ledger hashes to ledgers
val create : logger:Logger.t -> Full_frontier.t -> t Async_kernel.Deferred.tval close : t -> unitval notify : 
  t ->
  frontier:Full_frontier.t ->
  diffs_with_mutants:Frontier_base.Diff.Full.With_mutant.t list ->
  unit Async_kernel.Deferred.ttype ('ext, 'view) access = | Root_history : ( Root_history.t, Root_history.view ) access | 
| Snark_pool_refcount : ( Snark_pool_refcount.t, Snark_pool_refcount.view )
                        access | 
| Best_tip_diff : ( Best_tip_diff.t, Best_tip_diff.view ) access | 
| Transition_registry : ( Transition_registry.t, Transition_registry.view )
                        access | 
| Ledger_table : ( Ledger_table.t, Ledger_table.view ) access | 
| Identity : ( Identity.t, Identity.view ) access | 
| New_breadcrumbs : ( New_breadcrumbs.t, New_breadcrumbs.view ) access | 
val get_view_pipe : 
  t ->
  ( _, 'view ) access ->
  'view Pipe_lib.Broadcast_pipe.Reader.t