package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a

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_store.Store.Block.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.