Trait drml_node_service::service::IdentifyVariant
source · [−]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
fn is_pangolin(&self) -> bool
fn is_pangolin(&self) -> bool
Returns if this is a configuration for the Pangolin network.
fn is_pangoro(&self) -> bool
fn is_pangoro(&self) -> bool
Returns if this is a configuration for the Pangoro network.