Type Alias pallet_bridge_beefy::pallet::RequestCount
source · pub type RequestCount<T: Config<I>, I: 'static = ()> = StorageValue<_GeneratedPrefixForStorageRequestCount<T, I>, u32, ValueQuery>;
Expand description
The current number of requests which have written to storage.
If the RequestCount
hits MaxRequests
, no more calls will be allowed to the pallet until
the request capacity is increased.
The RequestCount
is decreased by one at the beginning of every block. This is to ensure
that the pallet can always make progress.
Storage type is [StorageValue
] with value type u32
.
Aliased Type§
struct RequestCount<T: Config<I>, I: 'static = ()>(/* private fields */);