Type Alias FinalityAfter

Source
pub type FinalityAfter<T: Config> = StorageValue<_GeneratedPrefixForStorageFinalityAfter<T>, Moment<T>, ValueQuery>;
Expand description

Wall-clock delay (in timestamp units) that must elapse after the first observation of a value before it becomes eligible to strengthen its confidence signal.

Measured from the timestamp of the initial observation:

current_timestamp >= first_observation_timestamp + FinalityAfter

This acts as a stability window to prevent immediate confidence escalation for newly observed values.

§Note

  • Must be strictly greater than zero.
  • Should be large enough to tolerate short-lived forks.

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

Aliased Type§

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