MAX_SNAPSHOTS_PER_CHANNEL

Constant MAX_SNAPSHOTS_PER_CHANNEL 

Source
pub const MAX_SNAPSHOTS_PER_CHANNEL: usize = 5;
Expand description

Maximum number of snapshots retained per channel. Older ones are pruned after each new snapshot. Spec §3.4 budgets ~2 GB per channel at this retention level; the lean SQLite-only cut runs well under that.