Type Definition security::pallet::ActiveBlockCount
source · pub type ActiveBlockCount<T: Config> = StorageValue<_GeneratedPrefixForStorageActiveBlockCount<T>, BlockNumberFor<T>, ValueQuery>;
Expand description
Like frame_system::block_number, but this one only increments if the parachain status is RUNNING. This variable is used to keep track of durations, such as the issue/redeem/replace expiry. If the parachain is not RUNNING, no payment proofs can be submitted, and it wouldn’t be fair to punish the user/vault. By using this variable we ensure that they have sufficient time to submit their proof.
Storage type is [StorageValue
] with value type BlockNumberFor < T >
.