Type Alias FinalityTicks

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

Number of distinct block observations required after the FinalityAfter window has elapsed in order to strengthen the confidence signal of a value.

Observations are block-scoped:

  • At most one observation per block is counted.
  • Multiple observations within the same block do not increase the count.

A value may strengthen its confidence only when:

  1. The FinalityAfter delay has elapsed, and
  2. It has been observed in at least FinalityTicks distinct blocks thereafter.

§Note

  • Must be strictly greater than zero.
  • Larger values increase fork tolerance but delay confidence.

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

Aliased Type§

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