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

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::cache
 
 catapult::model
 
 catapult::chain
 

Functions

bool catapult::chain::IsChainLink (const model::Block &parent, const Hash256 &parentHash, const model::Block &child)
 Determines if parent with hash parentHash and child form a chain link. More...
 
size_t catapult::chain::CheckDifficulties (const cache::BlockDifficultyCache &cache, const std::vector< const model::Block * > &blocks, const model::BlockChainConfiguration &config)
 
model::ChainScore catapult::chain::CalculatePartialChainScore (const model::Block &parent, const std::vector< const model::Block * > &blocks)
 Calculates the partial chain score of blocks starting at parent. More...