CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Classes | |
struct | catapult::chain::BlockHitContext |
Contextual information for calculating a block hit. More... | |
class | catapult::chain::BlockHitPredicate |
Predicate used to determine if a block is a hit or not. More... | |
Namespaces | |
catapult | |
catapult::model | |
catapult::chain | |
Typedefs | |
using | catapult::chain::BlockTarget = boost::multiprecision::uint256_t |
Functions | |
uint64_t | catapult::chain::CalculateHit (const GenerationHash &generationHash) |
Calculates the hit for a generationHash. More... | |
uint64_t | catapult::chain::CalculateScore (const model::Block &parentBlock, const model::Block ¤tBlock) |
Calculates the score of currentBlock with parent parentBlock. More... | |
BlockTarget | catapult::chain::CalculateTarget (const utils::TimeSpan &timeSpan, Difficulty difficulty, Importance signerImportance, const model::BlockChainConfiguration &config) |
BlockTarget | catapult::chain::CalculateTarget (const model::Block &parentBlock, const model::Block ¤tBlock, Importance signerImportance, const model::BlockChainConfiguration &config) |