CatapultServer  v0.5.0.1 (Elephant)
NemesisConfigurationLoader.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "NemesisConfiguration.h"
23 
24 namespace catapult { namespace tools { namespace nemgen {
25 
27  NemesisConfiguration LoadNemesisConfiguration(const std::string& configPath);
28 
30  bool LogAndValidateNemesisConfiguration(const NemesisConfiguration& config);
31 }}}
CATAPULT_THROW_EXCEPTION
#define CATAPULT_THROW_EXCEPTION(EXCEPTION)
Macro used to throw a catapult exception.
Definition: exceptions.h:142
CATAPULT_LOG
#define CATAPULT_LOG(SEV)
Writes a log entry to the default logger with SEV severity.
Definition: Logging.h:340
catapult::utils::HexFormat
constexpr void HexFormat(const ByteArray< N, TTag > &)
Parser.debug
def debug(*args)
Definition: Parser.py:46
catapult::tools::nemgen::LoadNemesisConfiguration
NemesisConfiguration LoadNemesisConfiguration(const std::string &configPath)
Loads nemesis configuration from configPath.
Definition: NemesisConfigurationLoader.cpp:102
colorPrint.warning
def warning(*args)
Definition: colorPrint.py:10
catapult::tools::nemgen::NemesisConfiguration
Nemesis configuration.
Definition: NemesisConfiguration.h:56
NemesisConfiguration.h
catapult::tools::nemgen::NemesisConfiguration::CppFile
std::string CppFile
Cpp file path.
Definition: NemesisConfiguration.h:71
catapult::tools::nemgen::NemesisConfiguration::NetworkIdentifier
model::NetworkIdentifier NetworkIdentifier
Block chain network identifier.
Definition: NemesisConfiguration.h:59
NemesisConfigurationLoader.h
catapult::tools::nemgen::NemesisConfiguration::CppFileHeader
std::string CppFileHeader
Cpp file header.
Definition: NemesisConfiguration.h:68
catapult::tools::nemgen::LogAndValidateNemesisConfiguration
bool LogAndValidateNemesisConfiguration(const NemesisConfiguration &config)
Logs and validates nemesis config.
Definition: NemesisConfigurationLoader.cpp:113
HexFormatter.h
catapult::model::MosaicFlags::Supply_Mutable
Mosaic supply is mutable.
catapult::model::IsValidEncodedAddress
bool IsValidEncodedAddress(const std::string &encoded, NetworkIdentifier networkIdentifier)
Definition: Address.cpp:81
catapult::tools::nemgen::NemesisConfiguration::NemesisSignerPrivateKey
std::string NemesisSignerPrivateKey
Nemesis signer private key.
Definition: NemesisConfiguration.h:65
forwardsValidation.info
def info(*args)
Definition: forwardsValidation.py:12
Address.h
catapult::catapult_runtime_error
catapult_error< std::runtime_error > catapult_runtime_error
Definition: exceptions.h:87
catapult::utils::ConfigurationBag::FromPath
static ConfigurationBag FromPath(const std::string &path)
Loads a configuration bag from the specified path.
Definition: ConfigurationBag.cpp:45
ConfigurationBag.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::model::MosaicFlags::Transferable
Mosaic is transferable.
catapult::tools::nemgen::NemesisConfiguration::NemesisGenerationHash
GenerationHash NemesisGenerationHash
Nemesis generation hash.
Definition: NemesisConfiguration.h:62
catapult::tools::nemgen::NemesisConfiguration::LoadFromBag
static NemesisConfiguration LoadFromBag(const utils::ConfigurationBag &bag)
Loads a nemesis configuration from bag.
Definition: NemesisConfiguration.cpp:177
catapult::tools::nemgen::NemesisConfiguration::BinDirectory
std::string BinDirectory
Binary destination directory.
Definition: NemesisConfiguration.h:74