CatapultServer  v0.5.0.1 (Elephant)
ChainFunctions.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "catapult/functions.h"
23 #include "catapult/types.h"
24 
25 namespace catapult {
26  namespace model { struct Transaction; }
27  namespace validators { enum class ValidationResult : uint32_t; }
28 }
29 
30 namespace catapult { namespace chain {
31 
34 
37 
40 }}
catapult::predicate
std::function< bool(TArgs...)> predicate
A predicate function.
Definition: functions.h:31
catapult::validators::ValidationResult
ValidationResult
Enumeration of all possible validation results.
Definition: ValidationResult.h:51
catapult::chain::FailedTransactionSink
consumer< const model::Transaction &, const Hash256 &, validators::ValidationResult > FailedTransactionSink
Indicates a transaction with the specified hash failed validation.
Definition: ChainFunctions.h:33
catapult::chain::KnownHashPredicate
predicate< Timestamp, const Hash256 & > KnownHashPredicate
Predicate for determining if a hash is known.
Definition: ChainFunctions.h:36
functions.h
catapult::supplier
std::function< T()> supplier
A (stateless) supplier function.
Definition: functions.h:39
catapult::chain::TimeSupplier
supplier< Timestamp > TimeSupplier
Supplies a timestamp.
Definition: ChainFunctions.h:39
types.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::model::BasicEntityType::Transaction
Transaction type.
catapult::consumer
std::function< void(TArgs...)> consumer
A consumer function.
Definition: functions.h:35