Module Tezos_dal_node_lib.Constants

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

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 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
val traps_cache_size : int

This size is being used for the store's traps cache. While proto_parameters.Dal_plugin.attestation_lag should define the minimum number of levels for which traps must be retained, we maintain a larger cache capacity of 50 levels. This extended size is acceptable since the cache is sparsely populated due to proto_parameters.traps_fraction.