Skip to main content

DEFAULT_POW_TTL

Constant DEFAULT_POW_TTL 

Source
pub const DEFAULT_POW_TTL: Duration;
Expand description

Default TTL for the PoW capability store: 1 hour.

Matches DEFAULT_SAMPLE_WINDOW_SECS (the default sampling window) so a profile that was built over the default window expires exactly when the window elapses. Operators that want a longer horizon can call PowCapabilityStore::new with an explicit TTL.