Module Tezos_dal_node_lib.Constants

val number_of_slots : int

number_of_slots is the default number of DAL slots per level.

val number_of_shards : int

number_of_shards is the default number of shards per slot.

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 : 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 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 : 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 : 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 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 : 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