Type Alias serai_runtime::ValidatorSetsConfig

source ·
pub type ValidatorSetsConfig = GenesisConfig<Runtime>;

Aliased Type§

struct ValidatorSetsConfig {
    pub networks: Vec<(NetworkId, Amount)>,
    pub participants: Vec<Public>,
}

Fields§

§networks: Vec<(NetworkId, Amount)>

Networks to spawn Serai with, and the stake requirement per key share.

Every participant at genesis will automatically be assumed to have this much stake. This stake cannot be withdrawn however as there’s no actual stake behind it.

§participants: Vec<Public>

List of participants to place in the initial validator sets.