pallet_shards::pallet

Type Alias ShardThreshold

Source
pub type ShardThreshold<T: Config> = StorageMap<_GeneratedPrefixForStorageShardThreshold<T>, Blake2_128Concat, ShardId, u16, OptionQuery>;
Expand description

Maps ShardId to u16 indicating the threshold for each shard.

Storage type is [StorageMap] with key type ShardId and value type u16.

Aliased Typeยง

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