[][src]Constant grin_core::global::COMPACTION_CHECK

pub const COMPACTION_CHECK: u64

Trigger compaction check on average every day for all nodes. Randomized per node - roll the dice on every block to decide. Will compact the txhashset to remove pruned data. Will also remove old blocks and associated data from the database. For a node configured as "archival_mode = true" only the txhashset will be compacted.