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)
 

Variables

static const std::string kDbTypeRocksdb = "rocksdb"
 
static const std::string kDbTypePostgres = "postgres"
 

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:

Variable Documentation

◆ kDbTypePostgres

const std::string kDbTypePostgres = "postgres"
static

◆ kDbTypeRocksdb

const std::string kDbTypeRocksdb = "rocksdb"
static

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0