pub fn frontier_database_dir(config: &Configuration) -> PathBuf