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

Go to the source code of this file.

Classes

class  catapult::consumers::WeakBlockInfo
 A tuple composed of a block, a hash and a generation hash. More...
 

Namespaces

 catapult
 
 catapult::cache
 
 catapult::chain
 
 catapult::consumers
 

Typedefs

using catapult::consumers::BlockChainProcessor = std::function< validators::ValidationResult(const WeakBlockInfo &, disruptor::BlockElements &, observers::ObserverState &)>
 
using catapult::consumers::BlockHitPredicate = predicate< const model::Block &, const model::Block &, const GenerationHash & >
 A predicate for determining whether or not two blocks form a hit. More...
 
using catapult::consumers::BlockHitPredicateFactory = std::function< BlockHitPredicate(const cache::ReadOnlyCatapultCache &)>
 A factory for creating a predicate for determining whether or not two blocks form a hit. More...
 

Enumerations

enum  catapult::consumers::ReceiptValidationMode { catapult::consumers::ReceiptValidationMode::Disabled, catapult::consumers::ReceiptValidationMode::Enabled }
 Possible receipt validation modes. More...
 

Functions

BlockChainProcessor catapult::consumers::CreateBlockChainProcessor (const BlockHitPredicateFactory &blockHitPredicateFactory, const chain::BatchEntityProcessor &batchEntityProcessor, ReceiptValidationMode receiptValidationMode)