Maskable_merkle_tree.Makemodule Inputs : Inputs_intfinclude module type of struct include Inputs.Base endtype t = Inputs.Base.tmodule Addr = Inputs.Base.Addrmodule Path = Inputs.Base.Pathmodule Location = Inputs.Base.Locationval t_of_sexp : Sexplib0__.Sexp.t -> tval sexp_of_t : t -> Sexplib0__.Sexp.ttype path = Path.tval depth : t -> intval num_accounts : t -> intval get_inner_hash_at_addr_exn : t -> Addr.t -> Inputs.Hash.tval set_inner_hash_at_addr_exn : t -> Addr.t -> Inputs.Hash.t -> unitval get_all_accounts_rooted_at_exn :
t ->
Addr.t ->
(Addr.t * Inputs.Account.t) listval make_space_for : t -> int -> unitval to_list : t -> Inputs.Account.t listval iteri : t -> f:( index -> Inputs.Account.t -> unit ) -> unitval foldi :
t ->
init:'accum ->
f:( Addr.t -> 'accum -> Inputs.Account.t -> 'accum ) ->
'accumval foldi_with_ignored_accounts :
t ->
Inputs.Account_id.Set.t ->
init:'accum ->
f:( Addr.t -> 'accum -> Inputs.Account.t -> 'accum ) ->
'accumval fold_until :
t ->
init:'accum ->
f:( 'accum -> Inputs.Account.t -> ( 'accum, 'stop ) Base.Continue_or_stop.t ) ->
finish:( 'accum -> 'stop ) ->
'stopval accounts : t -> Inputs.Account_id.Set.tval token_owner : t -> Inputs.Token_id.t -> Inputs.Account_id.t optionval token_owners : t -> Inputs.Account_id.Set.tval tokens : t -> Inputs.Key.t -> Inputs.Token_id.Set.tval location_of_account : t -> Inputs.Account_id.t -> Location.t optionval location_of_account_batch :
t ->
Inputs.Account_id.t list ->
(Inputs.Account_id.t * Location.t option) listval get_or_create_account :
t ->
Inputs.Account_id.t ->
Inputs.Account.t ->
([ `Added | `Existed ] * Location.t) Core.Or_error.tval close : t -> unitval last_filled : t -> Location.t optionval get_uuid : t -> Uuid.tval get_directory : t -> string optionval get : t -> Location.t -> Inputs.Account.t optionval get_batch :
t ->
Location.t list ->
(Location.t * Inputs.Account.t option) listval get_at_index_exn : t -> int -> Inputs.Account.tval set_at_index_exn : t -> int -> Inputs.Account.t -> unitval index_of_account_exn : t -> Inputs.Account_id.t -> intval merkle_root : t -> Inputs.Hash.tval merkle_path : t -> Location.t -> Path.tval remove_accounts_exn : t -> Inputs.Account_id.t list -> unitval detached_signal : t -> unit Async_kernel.Deferred.tval registered_masks : Inputs.Mask.Attached.t list Uuid.Table.tMaps parent ledger UUIDs to child masks.
module Node : sig ... endmodule Graphviz : sig ... endval to_graph : unit -> Graphviz.tmodule Debug : sig ... endmodule Visualize : sig ... endval register_mask : t -> Inputs.Mask.unattached -> Inputs.Mask.Attached.tval unregister_mask_exn :
?grandchildren:
[< `Check
| `I_promise_I_am_reparenting_this_mask
| `Recursive Check Recursive ] ->
loc:string ->
Inputs.Mask.Attached.t ->
Inputs.Mask.unattachedval set : t -> Inputs.Base.Location.t -> Inputs.Account.t -> unita set calls the Base implementation set, notifies registered mask childen
val remove_and_reparent_exn : t -> Inputs.Mask.Attached.t -> unitval batch_notify_mask_children : t -> Inputs.Account.t list -> unitval set_batch : t -> (Inputs.Base.Location.t * Inputs.Account.t) list -> unitval set_batch_accounts :
t ->
(Inputs.Base.Addr.t * Inputs.Account.t) list ->
unitval set_all_accounts_rooted_at_exn :
t ->
Inputs.Base.Addr.t ->
Inputs.Account.t list ->
unit