/// Create the consensus pool directory (if none exists)
Create the consensus pool directory (if none exists)
Create the consensus pool directory ( if none exists )
pub fn create_consensus_pool_dir(config: &Config) {
    std::fs::create_dir_all(&config.artifact_pool.consensus_pool_path).unwrap_or_else(|err| {
        panic!(
            "Failed to create consensus pool directory {}: {}",
            config.artifact_pool.consensus_pool_path.display(),
            err
        )
    });
}
pub fn create_consensus_pool_dir ( config : & Config ) { std :: fs :: create_dir_all ( & config . artifact_pool . consensus_pool_path ) . unwrap_or_else ( | err | { panic ! ( " " config artifact_pool consensus_pool_path display ( ) err ) } ) ; }
Create the consensus pool directory (if none exists)
Create the consensus pool directory ( if none exists )
config
&Config