Type Alias pallet_fast_unstake::pallet::ErasToCheckPerBlock
source · pub type ErasToCheckPerBlock<T: Config> = StorageValue<_GeneratedPrefixForStorageErasToCheckPerBlock<T>, u32, ValueQuery>;
Expand description
Number of eras to check per block.
If set to 0, this pallet does absolutely nothing. Cannot be set to more than
Config::MaxErasToCheckPerBlock
.
Based on the amount of weight available at Pallet::on_idle
, up to this many eras are
checked. The checking is represented by updating UnstakeRequest::checked
, which is
stored in Head
.
Storage type is [StorageValue
] with value type u32
.
Aliased Type§
struct ErasToCheckPerBlock<T: Config>(/* private fields */);