hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha_conf_loader.hpp File Reference
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
 
struct  IrohadConfig::UtilityService
 
struct  IrohadConfig::Crypto
 
struct  IrohadConfig::Crypto::Default
 

Functions

iroha::expected::Result< IrohadConfig, std::string > parse_iroha_config (const std::string &conf_path, std::shared_ptr< shared_model::interface::CommonObjectsFactory > common_objects_factory, std::optional< logger::LoggerPtr > log)
 

Function Documentation

◆ parse_iroha_config()

iroha::expected::Result<IrohadConfig, std::string> parse_iroha_config ( const std::string &  conf_path,
std::shared_ptr< shared_model::interface::CommonObjectsFactory common_objects_factory,
std::optional< logger::LoggerPtr log 
)

parse and assert trusted peers json in iroha.conf

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