Type Alias ProbationPeriod

Source
pub type ProbationPeriod<T: Config> = StorageValue<_GeneratedPrefixForStorageProbationPeriod<T>, BlockNumberFor<T>, ValueQuery>;
Expand description

Number of blocks representing the probation period for newly enrolled or demoted authors.

This period enforces a mandatory observation window during which an author:

  • Cannot be promoted to permanent/active status.
  • Must demonstrate acceptable behavior to secure their role.

Additionally, if an author is deemed unsafe until a timestamp overlapping this period, they are required to remain or be moved back to probation, ensuring the network only promotes trusted participants.

Storage type is [StorageValue] with value type BlockNumberFor < T >.

Aliased Typeยง

pub struct ProbationPeriod<T: Config>(/* private fields */);