CatapultServer  v0.5.0.1 (Elephant)
ChainUtils.cpp File Reference
Include dependency graph for ChainUtils.cpp:

Namespaces

 catapult
 
 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...