CatapultServer  v0.5.0.1 (Elephant)
BlockChainConfiguration.h File Reference
Include dependency graph for BlockChainConfiguration.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  catapult::model::BlockChainConfiguration
 Block chain configuration settings. More...
 

Namespaces

 catapult
 
 catapult::model
 

Functions

UnresolvedMosaicId catapult::model::GetUnresolvedCurrencyMosaicId (const BlockChainConfiguration &config)
 Gets unresolved currency mosaic id from config. More...
 
utils::TimeSpan catapult::model::CalculateFullRollbackDuration (const BlockChainConfiguration &config)
 Calculates the duration of a full rollback for the block chain described by config. More...
 
utils::TimeSpan catapult::model::CalculateRollbackVariabilityBufferDuration (const BlockChainConfiguration &config)
 Calculates the duration of the rollback variability buffer for the block chain described by config. More...
 
utils::TimeSpan catapult::model::CalculateTransactionCacheDuration (const BlockChainConfiguration &config)
 Calculates the duration of time that expired transactions should be cached for the block chain described by config. More...
 
uint64_t catapult::model::CalculateDifficultyHistorySize (const BlockChainConfiguration &config)
 Calculates the number of historical difficulties to cache in memory for the block chain described by config. More...
 
template<typename T >
catapult::model::LoadPluginConfiguration (const BlockChainConfiguration &config, const std::string &pluginName)
 Loads plugin configuration for plugin named pluginName from config. More...