CatapultServer  v0.5.0.1 (Elephant)
CatapultConfiguration.h
Go to the documentation of this file.
1 
21 #pragma once
23 #include "InflationConfiguration.h"
24 #include "LoggingConfiguration.h"
25 #include "NodeConfiguration.h"
26 #include "PeersConfiguration.h"
27 #include "UserConfiguration.h"
29 #include <boost/filesystem/path.hpp>
30 
31 namespace catapult { namespace config {
32 
35  public:
39  model::BlockChainConfiguration&& blockChainConfig,
40  NodeConfiguration&& nodeConfig,
41  LoggingConfiguration&& loggingConfig,
42  UserConfiguration&& userConfig,
43  ExtensionsConfiguration&& extensionsConfig,
44  InflationConfiguration&& inflationConfig);
45 
46  public:
49 
52 
55 
58 
61 
64 
65  public:
68  static CatapultConfiguration LoadFromPath(const boost::filesystem::path& resourcesPath, const std::string& extensionsHost);
69  };
70 
73 }}
catapult::ionet::NodeEndpoint
A node's publicly accessible endpoint.
Definition: Node.h:35
catapult::config::CatapultConfiguration::CatapultConfiguration
CatapultConfiguration(model::BlockChainConfiguration &&blockChainConfig, NodeConfiguration &&nodeConfig, LoggingConfiguration &&loggingConfig, UserConfiguration &&userConfig, ExtensionsConfiguration &&extensionsConfig, InflationConfiguration &&inflationConfig)
Definition: CatapultConfiguration.cpp:46
catapult::config::CatapultConfiguration::BlockChain
const model::BlockChainConfiguration BlockChain
Block chain configuration.
Definition: CatapultConfiguration.h:48
catapult::model::BlockChainConfiguration
Block chain configuration settings.
Definition: BlockChainConfiguration.h:33
BlockChainConfiguration.h
UserConfiguration.h
catapult::config::InflationConfiguration
Inflation configuration settings.
Definition: InflationConfiguration.h:29
catapult::config::NodeConfiguration::Local
LocalSubConfiguration Local
Local node configuration.
Definition: NodeConfiguration.h:154
catapult::config::CatapultConfiguration::Node
const NodeConfiguration Node
Node configuration.
Definition: CatapultConfiguration.h:51
catapult::config::NodeConfiguration
Node configuration settings.
Definition: NodeConfiguration.h:33
catapult::config::CatapultConfiguration::Extensions
const ExtensionsConfiguration Extensions
Extensions configuration.
Definition: CatapultConfiguration.h:60
ConfigurationFileLoader.h
ExtensionsConfiguration.h
catapult::model::BlockChainConfiguration::Network
NetworkInfo Network
Block chain network.
Definition: BlockChainConfiguration.h:36
KeyPair.h
catapult::config::ToLocalNode
ionet::Node ToLocalNode(const CatapultConfiguration &config)
Extracts a node representing the local node from config.
Definition: CatapultConfiguration.cpp:75
PeersConfiguration.h
InflationConfiguration.h
catapult::config::UserConfiguration::BootKey
std::string BootKey
Boot key.
Definition: UserConfiguration.h:32
catapult::config::LoggingConfiguration
Logging configuration settings.
Definition: LoggingConfiguration.h:68
NodeConfiguration.h
catapult::config::ExtensionsConfiguration
Extensions configuration settings.
Definition: ExtensionsConfiguration.h:30
catapult::config::CatapultConfiguration
Comprehensive configuration for a catapult process.
Definition: CatapultConfiguration.h:34
ConfigurationUtils.h
CatapultConfiguration.h
catapult::config::CatapultConfiguration::Inflation
const InflationConfiguration Inflation
Inflation configuration.
Definition: CatapultConfiguration.h:63
catapult::ionet::NodeMetadata
Additional node information.
Definition: Node.h:44
ConfigurationBag.h
catapult::ionet::NodeVersion
utils::BaseValue< uint32_t, NodeVersion_tag > NodeVersion
32-bit node version where first three bytes represent { major, minor, build } and last byte is user d...
Definition: Node.h:32
catapult::config::NodeConfiguration::Port
unsigned short Port
Server port.
Definition: NodeConfiguration.h:36
catapult::config::CatapultConfiguration::User
const UserConfiguration User
User configuration.
Definition: CatapultConfiguration.h:57
Node
ionet::Node Node
Definition: PacketWriters.cpp:45
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::config::CatapultConfiguration::Logging
const LoggingConfiguration Logging
Logging configuration.
Definition: CatapultConfiguration.h:54
LoggingConfiguration.h
catapult::crypto::KeyPair::FromString
static auto FromString(const std::string &privateKey)
Creates a key pair from privateKey.
Definition: KeyPair.h:46
catapult::config::UserConfiguration
User configuration settings.
Definition: UserConfiguration.h:29
catapult::config::CatapultConfiguration::LoadFromPath
static CatapultConfiguration LoadFromPath(const boost::filesystem::path &resourcesPath, const std::string &extensionsHost)
Definition: CatapultConfiguration.cpp:61
catapult::ionet::Node
A node in the catapult network.
Definition: Node.h:82
catapult::model::NetworkInfo::Identifier
NetworkIdentifier Identifier
Network identifier.
Definition: NetworkInfo.h:70