pub trait IdentifyVariant {
    fn is_pangolin(&self) -> bool;
    fn is_pangoro(&self) -> bool;
    fn is_dev(&self) -> bool;
}
Expand description

Can be called for a sc_service::Configuration to check the network type.

Required Methods

Returns if this is a configuration for the Pangolin network.

Returns if this is a configuration for the Pangoro network.

Returns true if this configuration is for a development network.

Implementations on Foreign Types

Implementors