Module Tezos_dal_node_lib.Constants

val validation_slack : int

validation_slack is the slack (in blocks) for outdated message validation. Messages older than attestation_lag + validation_slack blocks from the head are considered too old and rejected.

val shards_store_lru_size : number_of_slots:int -> int

shards_store_lru_size is the maximum shards store LRU size. See Key_value_store.init and Store.Shards.init.

val slots_store_lru_size : int
val status_store_lru_size : int
val committee_cache_size : int

committee_cache_size is the size of the DAL committee cache.

val attestation_ops_cache_size : int

attestation_ops_cache_size is the size of the attestation operations cache.

val not_yet_published_cache_size : int

not_yet_published_cache_size is the size (in number of slots) of the cache of not-yet-published slots, shards, and shard proofs.

val slot_id_cache_size : number_of_slots:int -> attestation_lag:int -> int

slot_id_cache_size is the size (in number of levels) of the cache to associate commitments with slot ids at a given level.

val statuses_cache_size : number_of_slots:int -> attestation_lag:int -> int

statuses_cache_size is the size (in number of slots) of the cache to associate slot ids to slot status.

val shards_verification_sampling_frequency : int

The frequency at which we sample the time spent in shards crypto verification.

val amplification_timeout : float

During amplification, if the forked process takes more time than this timeout to send the proved shards, then amplification attempt is aborted to avoid keeping a pending promise forever.

val amplification_queue_max_length : int

amplification_queue_max_length is the maximum number of in-flight amplification reconstructions (jobs queued in the amplificator's query pipe plus those being processed). Beyond this bound, new amplification requests are dropped (and logged) instead of being enqueued, bounding the query pipe to prevent OOM under a sustained shard flood.

val initial_l1_crawler_reconnection_delay : float

Initial reconnection delay to L1 node from the DAL crawler in seconds.

val crawler_l1_blocks_cache_size : int

Controls the size of the blocks cache in the L1 crawler.

val crawler_retries_on_disconnection : int

Number of blocks processing retries in the L1 crawler in case a disconnection error is encountered while retrieving data from L1 outside the Layer1.iter_heads callback.

val crawler_re_processing_delay : float

Sleep delay before retrying processing a block in the L1 crawler in case a disconnection error is encountered while retrieving data from L1 outside the Layer1.iter_heads callback.

val bootstrap_dns_refresh_delay : float

Sleep delay between refreshing the ips associated to bootstrap dns names

val traps_cache_size : number_of_slots:int -> number_of_shards:int -> attestation_lag:int -> traps_fraction:Q.t -> int

The size of the node store's traps cache.

val time_to_join_new_topics_in_levels : minimal_block_delay:int -> int

The expected time, in levels, sufficient to subscribe and connect to new peers on a (new) topic.

val shard_retention_period_in_levels : int
val mainnet_chain_id : Tezos_base.TzPervasives.Chain_id.t

The chain id of the Tezos mainnet.