package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tezos_shell.Chain_validatorSource

Sourcetype t
Sourceval create : start_prevalidator:bool -> start_testchain:bool -> active_chains:t Tezos_base.TzPervasives.Chain_id.Table.t -> block_validator_process:Block_validator_process.t -> Tezos_shell_services.Shell_limits.peer_validator_limits -> Tezos_shell_services.Shell_limits.prevalidator_limits -> Block_validator.t -> Tezos_store.Store.Block.t Lwt_watcher.input -> (Tezos_base.TzPervasives.Chain_id.t * bool) Lwt_watcher.input -> Distributed_db.t -> Tezos_store.Store.chain_store -> Tezos_shell_services.Shell_limits.chain_validator_limits -> t Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval chain_id : t -> Tezos_base.TzPervasives.Chain_id.t
Sourceval chain_store : t -> Tezos_store.Store.chain_store
Sourceval bootstrapped : t -> unit Lwt.t

Wait for the `synchronisation_status` to be `Synchronised`. Subsequent calls return immediately. In other words, once a node is bootstrapped, it remains bootstrapped until it terminates (except if force_bootstrapped is used).

Sourceval is_bootstrapped : t -> bool
Sourceval force_bootstrapped : t -> bool -> unit Lwt.t
Sourceval prevalidator : t -> Prevalidator.t option
Sourceval child : t -> t option
Sourceval reconfigure_event_logging : t -> Tezos_base_unix.Internal_event_unix.Configuration.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval validate_block : t -> ?force:bool -> Tezos_base.TzPervasives.Block_hash.t -> Tezos_base.Block_header.t -> Tezos_base.Operation.t list list -> unit Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval shutdown : t -> unit Lwt.t
Sourceval valid_block_watcher : t -> Tezos_store.Store.Block.t Lwt_stream.t * Lwt_watcher.stopper
Sourceval new_head_watcher : t -> (Tezos_base.TzPervasives.Block_hash.t * Tezos_base.Block_header.t) Lwt_stream.t * Lwt_watcher.stopper
Sourceval running_workers : unit -> (Tezos_base.TzPervasives.Chain_id.t * t) list
Sourceval pending_requests_length : t -> int
OCaml

Innovation. Community. Security.