CatapultServer
v0.5.0.1 (Elephant)
|
Namespaces | |
catapult | |
catapult::chain | |
Macros | |
#define | BSWAP(VAL) __builtin_bswap32(VAL) |
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) |
#define BSWAP | ( | VAL | ) | __builtin_bswap32(VAL) |
uint32_t NumLeadingZeros |
uint32_t Value |