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

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::model
 

Functions

Hash256 catapult::model::CalculateHash (const Block &block)
 Calculates the hash for the given block header. More...
 
Hash256 catapult::model::CalculateHash (const Transaction &transaction, const GenerationHash &generationHash)
 Calculates the hash for the given transaction for the network with the specified generation hash (generationHash). More...
 
Hash256 catapult::model::CalculateHash (const Transaction &transaction, const GenerationHash &generationHash, const RawBuffer &buffer)
 
Hash256 catapult::model::CalculateMerkleComponentHash (const Transaction &transaction, const Hash256 &transactionHash, const TransactionRegistry &transactionRegistry)
 
std::vector< Hash256 > catapult::model::CalculateMerkleTree (const std::vector< TransactionElement > &transactionElements)
 Calculates the merkle tree from transactionElements. More...
 
void catapult::model::UpdateHashes (const TransactionRegistry &transactionRegistry, const GenerationHash &generationHash, TransactionElement &transactionElement)