CatapultServer  v0.5.0.1 (Elephant)
catapult::config::CatapultConfiguration Class Reference

Comprehensive configuration for a catapult process. More...

Collaboration diagram for catapult::config::CatapultConfiguration:

Public Member Functions

 CatapultConfiguration (model::BlockChainConfiguration &&blockChainConfig, NodeConfiguration &&nodeConfig, LoggingConfiguration &&loggingConfig, UserConfiguration &&userConfig, ExtensionsConfiguration &&extensionsConfig, InflationConfiguration &&inflationConfig)
 

Static Public Member Functions

static CatapultConfiguration LoadFromPath (const boost::filesystem::path &resourcesPath, const std::string &extensionsHost)
 

Public Attributes

const model::BlockChainConfiguration BlockChain
 Block chain configuration. More...
 
const NodeConfiguration Node
 Node configuration. More...
 
const LoggingConfiguration Logging
 Logging configuration. More...
 
const UserConfiguration User
 User configuration. More...
 
const ExtensionsConfiguration Extensions
 Extensions configuration. More...
 
const InflationConfiguration Inflation
 Inflation configuration. More...
 

Detailed Description

Comprehensive configuration for a catapult process.

Constructor & Destructor Documentation

◆ CatapultConfiguration()

catapult::config::CatapultConfiguration::CatapultConfiguration ( model::BlockChainConfiguration &&  blockChainConfig,
NodeConfiguration &&  nodeConfig,
LoggingConfiguration &&  loggingConfig,
UserConfiguration &&  userConfig,
ExtensionsConfiguration &&  extensionsConfig,
InflationConfiguration &&  inflationConfig 
)

Creates a catapult configuration around blockChainConfig, nodeConfig, loggingConfig, userConfig, extensionsConfig and inflationConfig.

Here is the caller graph for this function:

Member Function Documentation

◆ LoadFromPath()

CatapultConfiguration catapult::config::CatapultConfiguration::LoadFromPath ( const boost::filesystem::path &  resourcesPath,
const std::string &  extensionsHost 
)
static

Loads a catapult configuration from resourcesPath given the specified extensions host (extensionsHost).

Note
This function is expected to be called be before logging is enabled.
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ BlockChain

const model::BlockChainConfiguration catapult::config::CatapultConfiguration::BlockChain

Block chain configuration.

◆ Extensions

const ExtensionsConfiguration catapult::config::CatapultConfiguration::Extensions

Extensions configuration.

◆ Inflation

const InflationConfiguration catapult::config::CatapultConfiguration::Inflation

Inflation configuration.

◆ Logging

const LoggingConfiguration catapult::config::CatapultConfiguration::Logging

Logging configuration.

◆ Node

const NodeConfiguration catapult::config::CatapultConfiguration::Node

Node configuration.

◆ User

const UserConfiguration catapult::config::CatapultConfiguration::User

User configuration.


The documentation for this class was generated from the following files: