pub type RetentionPeriod<T: Config> = StorageValue<_GeneratedPrefixForStorageRetentionPeriod<T>, BlockNumberFor<T>, ValueQuery>;Expand description
Number of blocks for which stored data must be retained.
Data older than RetentionPeriod blocks is eligible for removal unless it
has been explicitly renewed. Validators are required to prove possession of
data corresponding to block N - RetentionPeriod when producing block N.
Storage type is [StorageValue] with value type BlockNumberFor < T >.
Aliased Type§
pub struct RetentionPeriod<T: Config>(/* private fields */);