Module Snarky_backendless.Merkle_tree
include Ppx_sexp_conv_lib.Sexpable.S2
with type ('hash, 'a) t := ( 'hash, 'a ) t
val t_of_sexp :
( Sexplib0__.Sexp.t -> 'a ) ->
( Sexplib0__.Sexp.t -> 'b ) ->
Sexplib0__.Sexp.t ->
( 'a, 'b ) tval sexp_of_t :
( 'a -> Sexplib0__.Sexp.t ) ->
( 'b -> Sexplib0__.Sexp.t ) ->
( 'a, 'b ) t ->
Sexplib0__.Sexp.ttype ('hash, 'a) merkle_tree = ( 'hash, 'a ) tval depth : ( _, _ ) t -> intval create :
hash:( 'a option -> 'hash ) ->
merge:( 'hash -> 'hash -> 'hash ) ->
'a ->
( 'hash, 'a ) tval add : ( 'hash, 'a ) t -> 'a -> ( 'hash, 'a ) tval add_many : ( 'hash, 'a ) t -> 'a list -> ( 'hash, 'a ) tval get_path : ( 'hash, 'a ) t -> Address.t -> 'hash listval implied_root :
merge:( 'hash -> 'hash -> 'hash ) ->
Address.t ->
'hash ->
'hash list ->
'hashval root : ( 'hash, 'a ) t -> 'hashval to_list : ( 'hash, 'a ) t -> 'a listval check_exn : ( _, _ ) t -> unit