package tezos-shell

  1. Overview
  2. Docs
Tezos: core of `octez-node` (gossip, validation scheduling, mempool, ...)

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b

doc/tezos-shell/Tezos_shell/index.html

Module Tezos_shellSource

Sourcemodule Block_directory : sig ... end
Sourcemodule Block_validator : sig ... end

This module is the main entry point to valide blocks and protocols.

Sourcemodule Block_validator_events : sig ... end
Sourcemodule Block_validator_process : sig ... end

Block_validator_process is used to validate new blocks. This validation can be

Sourcemodule Bootstrap_pipeline : sig ... end

The bootstrap pipeline works as follows: 1. From a locator, it computes a list of subchains (identified by a Block_locator.step) to fetch. 2. A worker starts to fetch all the headers (top to bottom) from a subchain, starting with the top subchain. 3. A worker starts to download the list of operations by batch of blocks once a batch of headers is available. 4. A worker validates blocks one by one (bottom to top).

Sourcemodule Bootstrap_pipeline_event : sig ... end
Sourcemodule Chain_directory : sig ... end
Sourcemodule Chain_validator : sig ... end
Sourcemodule Chain_validator_events : sig ... end
Sourcemodule Clock_drift : sig ... end
Sourcemodule Config_directory : sig ... end
Sourcemodule Consensus_heuristic : sig ... end
Sourcemodule Distributed_db : sig ... end

Tezos Shell - High-level API for the Gossip network and local storage.

Sourcemodule Distributed_db_event : sig ... end
Sourcemodule Distributed_db_message : sig ... end

Tezos Shell - Network message for the gossip P2P protocol.

Sourcemodule Distributed_db_requester : sig ... end

This module creates FULL_REQUESTER modules for several resources. Protocols, operation, block_header, operation_hashes, operations.

Sourcemodule Injection_directory : sig ... end
Sourcemodule Legacy_mempool_plugin : sig ... end
Sourcemodule Legacy_prevalidation : sig ... end

A newly received block is validated by replaying locally the block creation, applying each operation and its finalization to ensure their consistency. This module is stateless and creates and manipulates the prevalidation_state.

Sourcemodule Monitor_directory : sig ... end
Sourcemodule Node : sig ... end
Sourcemodule Node_event : sig ... end

Declares logging events for node

Sourcemodule P2p_reader : sig ... end

A P2p_reader.t is a worker that answers the application messages (see Messages) received from a remote peer on a P2p.connection.

Sourcemodule Peer_validator : sig ... end
Sourcemodule Peer_validator_events : sig ... end
Sourcemodule Prevalidation : sig ... end

A newly received block is validated by replaying locally the block creation, applying each operation and its finalization to ensure their consistency. This module is stateless and creates and manipulates the prevalidation_state.

Sourcemodule Prevalidator : sig ... end

Tezos Shell - Prevalidation of pending operations (a.k.a Mempool)

Sourcemodule Prevalidator_events : sig ... end
Sourcemodule Prevalidator_internal : sig ... end

Common elements used by both Prevalidator_internal and Legacy_prevalidator_internal. This module is also included in Prevalidator.

Sourcemodule Protocol_directory : sig ... end
Sourcemodule Protocol_validator : sig ... end
Sourcemodule Protocol_validator_event : sig ... end

Declares logging events for protocol_validator

Sourcemodule Shell_metrics : sig ... end
Sourcemodule Shell_operation : sig ... end

This module provides the operation representation used by the prevalidator and its dependencies. It also contains tools for parsing an operation into this representation, and updating the latter.

Sourcemodule Shell_plugin : sig ... end
Sourcemodule Stat_directory : sig ... end
Sourcemodule Synchronisation_heuristic : sig ... end
Sourcemodule Validator : sig ... end

Tezos Shell - Main entry point of the validation scheduler.

Sourcemodule Validator_event : sig ... end

Declares logging events for validator

Sourcemodule Version_directory : sig ... end
Sourcemodule Worker_directory : sig ... end
OCaml

Innovation. Community. Security.