parse_blockchain_config

Function parse_blockchain_config 

Source
pub async fn parse_blockchain_config(
    config: Option<String>,
    network: &str,
    fallback: &str,
) -> Result<(Network, BlockchainNetwork)>
Expand description

Auxiliary function to parse darkfid configuration file and extract requested blockchain network config.