Module Mavryk_shell.Node

type t
type config = {
  1. genesis : Mavryk_base.Genesis.t;
  2. chain_name : Mavryk_base.Distributed_db_version.Name.t;
  3. sandboxed_chain_name : Mavryk_base.Distributed_db_version.Name.t;
  4. user_activated_upgrades : Mavryk_base.User_activated.upgrades;
  5. user_activated_protocol_overrides : Mavryk_base.User_activated.protocol_overrides;
  6. operation_metadata_size_limit : Mavryk_shell_services.Shell_limits.operation_metadata_size_limit;
  7. data_dir : string;
  8. internal_events : Mavryk_base.Internal_event_config.t;
  9. store_root : string;
  10. context_root : string;
  11. protocol_root : string;
  12. patch_context : (Mavryk_protocol_environment.Context.t -> Mavryk_protocol_environment.Context.t Mavryk_base.TzPervasives.tzresult Lwt.t) option;
  13. p2p : (Mavryk_p2p.P2p.config * Mavryk_p2p_services.P2p_limits.t) option;
  14. target : (Mavryk_base.TzPervasives.Block_hash.t * int32) option;
  15. disable_mempool : bool;
    (*

    If true, all non-empty mempools will be ignored.

    *)
  16. enable_testchain : bool;
    (*

    If false, testchain related messages will be ignored.

    *)
  17. dal_config : Mavryk_crypto_dal.Cryptobox.Config.t;
}
val shutdown : t -> unit Lwt.t

build_rpc_directory ~node_version ~commit_info node builds a Mavryk RPC directory for the node by gathering all the subdirectories. node_version, commit_info and node contain all informations required to build such a directory.