hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha_conf_loader.hpp File Reference
#include <string>
#include <unordered_map>
#include "interfaces/common_objects/common_objects_factory.hpp"
#include "interfaces/common_objects/types.hpp"
#include "logger/logger_manager.hpp"
#include "torii/tls_params.hpp"
Include dependency graph for iroha_conf_loader.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IrohadConfig
 
struct  IrohadConfig::DbConfig
 
struct  IrohadConfig::InterPeerTls
 
struct  IrohadConfig::InterPeerTls::RootCert
 
struct  IrohadConfig::InterPeerTls::FromWsv
 
struct  IrohadConfig::InterPeerTls::None
 

Functions

IrohadConfig parse_iroha_config (const std::string &conf_path, std::shared_ptr< shared_model::interface::CommonObjectsFactory > common_objects_factory)
 

Function Documentation

◆ parse_iroha_config()

IrohadConfig parse_iroha_config ( const std::string &  conf_path,
std::shared_ptr< shared_model::interface::CommonObjectsFactory common_objects_factory 
)

parse and assert trusted peers json in iroha.conf

Parameters
conf_pathis a path to iroha's config
Returns
a parsed equivalent of that file
Here is the call graph for this function:
Here is the caller graph for this function: