Skip to main content

PRUNE_LOG_LIMIT

Constant PRUNE_LOG_LIMIT 

Source
pub const PRUNE_LOG_LIMIT: usize = 100;
Expand description

How many passes the prune log keeps in full, per-directory detail.

Not the same decision as PRUNE_HISTORY_LIMIT, and deliberately a different number: that one is four integers per pass inside a file every command parses, this one is a line per pass in a file only devp history opens. A hundred passes of a realistic size is well under a megabyte; the oldest come off the front.