package tezos-shell

  1. Overview
  2. Docs
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. operation_metadata_size_limit : int option;
  7. data_dir : string;
  8. store_root : string;
  9. context_root : string;
  10. protocol_root : string;
  11. patch_context : (Tezos_context.Context.t -> (Tezos_context.Context.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t) option;
  12. p2p : (Tezos_p2p.P2p.config * Tezos_p2p.P2p.limits) option;
  13. target : (Tezos_crypto.Block_hash.t * int32) option;
  14. disable_mempool : bool;
    (*

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

    *)
  15. 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.