CatapultServer  v0.5.0.1 (Elephant)
HarvesterBlockGenerator.h File Reference
Include dependency graph for HarvesterBlockGenerator.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::harvesting
 

Typedefs

using catapult::harvesting::BlockGenerator = std::function< std::unique_ptr< model::Block >(const model::BlockHeader &, uint32_t)>
 Generates a block from a seed block header given a maximum number of transactions. More...
 

Functions

BlockGenerator catapult::harvesting::CreateHarvesterBlockGenerator (model::TransactionSelectionStrategy strategy, const HarvestingUtFacadeFactory &utFacadeFactory, const cache::MemoryUtCache &utCache)
 Creates a default block generator around utFacadeFactory and utCache for specified transaction strategy. More...