pub enum ChainType {
/// A development chain that runs mainly on one node.
Development,
/// A local chain that runs locally on multiple nodes for testing purposes.
Local,
/// A live chain.
Live,
/// Some custom chain type.
Custom(String),
}
The question arises from seeing two separate functions in the node template, development_config() -> ChainSpec
and local_config() -> ChainSpec
, where the only difference I could spot was the difference in ChainType
of the aforementioned ChainSpec
. Reading the code docs I get that a Local
is suited for multiple peers, but is there any code that I can look at that specifically makes use of this distinction, i.e. ChainType::Development
vs ChainType::Local
?