package tezos-shell

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type config = {
  1. genesis : Tezos_base.Genesis.t;
  2. chain_name : Tezos_base.Distributed_db_version.Name.t;
  3. sandboxed_chain_name : Tezos_base.Distributed_db_version.Name.t;
  4. user_activated_upgrades : Tezos_base.User_activated.upgrades;
  5. user_activated_protocol_overrides : Tezos_base.User_activated.protocol_overrides;
  6. data_dir : string;
  7. store_root : string;
  8. context_root : string;
  9. protocol_root : string;
  10. patch_context : (Tezos_storage.Context.t -> (Tezos_storage.Context.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) option;
  11. p2p : (Tezos_p2p.P2p.config * Tezos_p2p.P2p.limits) option;
  12. checkpoint : Tezos_base.Block_header.t option;
  13. disable_mempool : bool;
    (*

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

    *)
  14. enable_testchain : bool;
    (*

    If false, testchain related messages will be ignored.

    *)
}
val default_peer_validator_limits : Peer_validator.limits
val default_prevalidator_limits : Prevalidator.limits
val default_block_validator_limits : Block_validator.limits
val default_chain_validator_limits : Chain_validator.limits
val create : ?sandboxed:bool -> ?sandbox_parameters:Data_encoding.json -> singleprocess:bool -> config -> Peer_validator.limits -> Block_validator.limits -> Prevalidator.limits -> Chain_validator.limits -> Tezos_shell_services.History_mode.t option -> (t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val shutdown : t -> unit Lwt.t
val build_rpc_directory : t -> unit Tezos_rpc.RPC_directory.t
OCaml

Innovation. Community. Security.