agave-snapshots 4.2.0-beta.2

Agave snapshot utils
Documentation
1
2
3
4
5
6
7
8
9
10
use std::num::NonZeroU64;

/// The interval in between taking snapshots
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub enum SnapshotInterval {
    /// Snapshots are disabled
    Disabled,
    /// Snapshots are taken every this many slots
    Slots(NonZeroU64),
}