Skip to content

sgns::storage::changes_trie::ChangesTrieConfig

#include <changes_trie_config.hpp>

Public Attributes

Name
uint32_t digest_interval
uint32_t digest_levels

Public Attributes Documentation

variable digest_interval

uint32_t digest_interval;

The interval (in blocks) at which block mappings are created. Block mappings are not created when this is less or equal to 1.

variable digest_levels

uint32_t digest_levels;

Maximal number of levels in the hierarchy. 0 means that block mappings are not created at all. 1 means only the regular digest_interval block mappings are created. Any other level means that the block mappings are created every (digest_interval in power of digest_levels) block for each level in 1 to digest_levels.


Updated on 2026-03-04 at 13:10:44 -0800