package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-shell-libs.shell/Tezos_shell/Chain_validator/index.html

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.