CatapultServer
v0.5.0.1 (Elephant)
|
Comprehensive configuration for a catapult process. More...
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... | |
Comprehensive configuration for a catapult process.
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.
|
static |
Loads a catapult configuration from resourcesPath given the specified extensions host (extensionsHost).
const model::BlockChainConfiguration catapult::config::CatapultConfiguration::BlockChain |
Block chain configuration.
const ExtensionsConfiguration catapult::config::CatapultConfiguration::Extensions |
Extensions configuration.
const InflationConfiguration catapult::config::CatapultConfiguration::Inflation |
Inflation configuration.
const LoggingConfiguration catapult::config::CatapultConfiguration::Logging |
Logging configuration.
const NodeConfiguration catapult::config::CatapultConfiguration::Node |
Node configuration.
const UserConfiguration catapult::config::CatapultConfiguration::User |
User configuration.