Mocks.Transition_frontiertype table = int Transaction_snark_work.Statement.Table.tval table_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tableval sexp_of_table : table -> Ppx_sexp_conv_lib.Sexp.ttype diff = Extensions.Snark_pool_refcount.viewval diff_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> diffval sexp_of_diff : diff -> Ppx_sexp_conv_lib.Sexp.tmodule Breadcrumb : sig ... endtype t = {refcount_table : table; |
best_tip_table : Transaction_snark_work.Statement.Hash_set.t; |
mutable ledger : Base_ledger.t; |
diff_writer : diff Pipe_lib.Broadcast_pipe.Writer.t; |
diff_reader : diff Pipe_lib.Broadcast_pipe.Reader.t; |
}val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval add_statements :
int Transaction_snark_work.Statement.Table.t ->
Transaction_snark_work.Statement.Table.key list ->
unitval create : 'a -> tval best_tip : t -> Base_ledger.tmodule Extensions : sig ... endval snark_pool_refcount_pipe : t -> diff Pipe_lib.Broadcast_pipe.Reader.tval best_tip_diff_pipe : 'a -> unit Pipe_lib.Broadcast_pipe.Reader.tval refer_statements :
t ->
Transaction_snark_work.Statement.Table.key list ->
unit Async_kernel__Deferred.tval remove_from_best_tip :
t ->
Transaction_snark_work.Statement.Hash_set.elt list ->
unit Async_kernel__Deferred.t